; LLVM IR from Eukky/TRender :: lib/imgui/imgui.ll (ZN5ImGui10BeginComboEPKcS1_i)

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

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

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [133 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i = external hidden unnamed_addr constant [68 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [13 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(976), ptr noundef, ptr noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #8

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float>, <2 x float>, float noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float>, i32 noundef, float noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11OpenPopupExEj(i32 noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndPopupEv() #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL16CalcSizeContentsP11ImGuiWindow(ptr noundef) #8

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

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL23CalcSizeAfterConstraintP11ImGuiWindow6ImVec2(ptr noundef, <2 x float>) #8

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui13CalcItemWidthEv() #8

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN5ImGui14GetFrameHeightEv() #1

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

67:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %420

68:                                               ; preds = %3
  %69 = load i32, ptr %7, align 4, !tbaa !9
  %70 = and i32 %69, 96
  %71 = icmp ne i32 %70, 96
  br i1 %71, label %72, label %73

72:                                               ; preds = %68
  br label %75

73:                                               ; preds = %68
  call void @__assert_fail(ptr noundef @.str.180, ptr noundef @.str.3, i32 noundef 11237, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i) #11
  unreachable

74:                                               ; No predecessors!
  br label %75

75:                                               ; preds = %74, %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 4
  store ptr %77, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(976) %78, ptr noundef %79, ptr noundef null)
  store i32 %80, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = and i32 %81, 32
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %75
  br label %87

85:                                               ; preds = %75
  %86 = call noundef float @_ZN5ImGui14GetFrameHeightEv()
  br label %87

87:                                               ; preds = %85, %84
  %88 = phi float [ 0.000000e+00, %84 ], [ %86, %85 ]
  store float %88, ptr %14, align 4, !tbaa !65
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %89, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %90, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %91 = load i32, ptr %7, align 4, !tbaa !9
  %92 = and i32 %91, 64
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %96

94:                                               ; preds = %87
  %95 = load float, ptr %14, align 4, !tbaa !65
  br label %98

96:                                               ; preds = %87
  %97 = call noundef float @_ZN5ImGui13CalcItemWidthEv()
  br label %98

98:                                               ; preds = %96, %94
  %99 = phi float [ %95, %94 ], [ %97, %96 ]
  store float %99, ptr %16, align 4, !tbaa !65
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #10
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiWindow, ptr %100, i32 0, i32 43
  %102 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %101, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiWindow, ptr %103, i32 0, i32 43
  %105 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %104, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %106 = load float, ptr %16, align 4, !tbaa !65
  %107 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %108 = load float, ptr %107, align 4, !tbaa !66
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiStyle, ptr %109, i32 0, i32 10
  %111 = getelementptr inbounds %struct.ImVec2, ptr %110, i32 0, i32 1
  %112 = load float, ptr %111, align 4, !tbaa !67
  %113 = call float @llvm.fmuladd.f32(float %112, float 2.000000e+00, float %108)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %106, float noundef %113)
  %114 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %105, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %114, ptr %18, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(8) %102, ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  %115 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %116 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %117 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %118 = load float, ptr %117, align 4, !tbaa !68
  %119 = fcmp ogt float %118, 0.000000e+00
  br i1 %119, label %120, label %128

120:                                              ; preds = %98
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiStyle, ptr %121, i32 0, i32 14
  %123 = getelementptr inbounds %struct.ImVec2, ptr %122, i32 0, i32 0
  %124 = load float, ptr %123, align 4, !tbaa !69
  %125 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %126 = load float, ptr %125, align 4, !tbaa !68
  %127 = fadd float %124, %126
  br label %129

128:                                              ; preds = %98
  br label %129

129:                                              ; preds = %128, %120
  %130 = phi float [ %127, %120 ], [ 0.000000e+00, %128 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %130, float noundef 0.000000e+00)
  %131 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %116, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %131, ptr %21, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(8) %115, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiStyle, ptr %132, i32 0, i32 10
  %134 = getelementptr inbounds %struct.ImVec2, ptr %133, i32 0, i32 1
  %135 = load float, ptr %134, align 4, !tbaa !67
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef %135)
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %20, i32 noundef %136, ptr noundef %17)
  br i1 %137, label %139, label %138

138:                                              ; preds = %129
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %419

139:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #10
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef %140, ptr noundef %23, ptr noundef %24, i32 noundef 0)
  %142 = zext i1 %141 to i8
  store i8 %142, ptr %25, align 1, !tbaa !70
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #10
  %143 = load i32, ptr %13, align 4, !tbaa !9
  %144 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef %143)
  %145 = zext i1 %144 to i8
  store i8 %145, ptr %26, align 1, !tbaa !70
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  %146 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %147 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %148 = load float, ptr %14, align 4, !tbaa !65
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %148, float noundef 0.000000e+00)
  %149 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %147, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %149, ptr %28, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(8) %146, ptr noundef nonnull align 4 dereferenceable(8) %28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  %150 = load i8, ptr %23, align 1, !tbaa !70, !range !63, !noundef !64
  %151 = trunc i8 %150 to i1
  %152 = zext i1 %151 to i64
  %153 = select i1 %151, i32 8, i32 7
  %154 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %153, float noundef 1.000000e+00)
  store i32 %154, ptr %30, align 4, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef %155, i32 noundef 1)
  %156 = load i32, ptr %7, align 4, !tbaa !9
  %157 = and i32 %156, 64
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %176, label %159

159:                                              ; preds = %139
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiWindow, ptr %160, i32 0, i32 57
  %162 = load ptr, ptr %161, align 8, !tbaa !71
  %163 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %164 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  %165 = getelementptr inbounds %struct.ImVec2, ptr %164, i32 0, i32 0
  %166 = load float, ptr %165, align 4, !tbaa !72
  %167 = load float, ptr %14, align 4, !tbaa !65
  %168 = fsub float %166, %167
  %169 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  %170 = getelementptr inbounds %struct.ImVec2, ptr %169, i32 0, i32 1
  %171 = load float, ptr %170, align 4, !tbaa !73
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %168, float noundef %171)
  %172 = load i32, ptr %30, align 4, !tbaa !9
  %173 = load ptr, ptr %12, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiStyle, ptr %173, i32 0, i32 11
  %175 = load float, ptr %174, align 4, !tbaa !74
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168) %162, ptr noundef nonnull align 4 dereferenceable(8) %163, ptr noundef nonnull align 4 dereferenceable(8) %31, i32 noundef %172, float noundef %175, i32 noundef 5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %176

176:                                              ; preds = %159, %139
  %177 = load i32, ptr %7, align 4, !tbaa !9
  %178 = and i32 %177, 32
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %230, label %180

180:                                              ; preds = %176
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiWindow, ptr %181, i32 0, i32 57
  %183 = load ptr, ptr %182, align 8, !tbaa !71
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %184 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  %185 = getelementptr inbounds %struct.ImVec2, ptr %184, i32 0, i32 0
  %186 = load float, ptr %185, align 4, !tbaa !72
  %187 = load float, ptr %14, align 4, !tbaa !65
  %188 = fsub float %186, %187
  %189 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  %190 = getelementptr inbounds %struct.ImVec2, ptr %189, i32 0, i32 1
  %191 = load float, ptr %190, align 4, !tbaa !75
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %188, float noundef %191)
  %192 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  %193 = load i8, ptr %26, align 1, !tbaa !70, !range !63, !noundef !64
  %194 = trunc i8 %193 to i1
  br i1 %194, label %198, label %195

195:                                              ; preds = %180
  %196 = load i8, ptr %23, align 1, !tbaa !70, !range !63, !noundef !64
  %197 = trunc i8 %196 to i1
  br label %198

198:                                              ; preds = %195, %180
  %199 = phi i1 [ true, %180 ], [ %197, %195 ]
  %200 = zext i1 %199 to i64
  %201 = select i1 %199, i32 22, i32 21
  %202 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %201, float noundef 1.000000e+00)
  %203 = load ptr, ptr %12, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiStyle, ptr %203, i32 0, i32 11
  %205 = load float, ptr %204, align 4, !tbaa !74
  %206 = load float, ptr %16, align 4, !tbaa !65
  %207 = load float, ptr %14, align 4, !tbaa !65
  %208 = fcmp ole float %206, %207
  %209 = zext i1 %208 to i64
  %210 = select i1 %208, i32 15, i32 10
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168) %183, ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %192, i32 noundef %202, float noundef %205, i32 noundef %210)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  %211 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  %212 = getelementptr inbounds %struct.ImVec2, ptr %211, i32 0, i32 0
  %213 = load float, ptr %212, align 4, !tbaa !72
  %214 = load float, ptr %14, align 4, !tbaa !65
  %215 = fsub float %213, %214
  %216 = load ptr, ptr %12, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImGuiStyle, ptr %216, i32 0, i32 10
  %218 = getelementptr inbounds %struct.ImVec2, ptr %217, i32 0, i32 1
  %219 = load float, ptr %218, align 4, !tbaa !67
  %220 = fadd float %215, %219
  %221 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  %222 = getelementptr inbounds %struct.ImVec2, ptr %221, i32 0, i32 1
  %223 = load float, ptr %222, align 4, !tbaa !75
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiStyle, ptr %224, i32 0, i32 10
  %226 = getelementptr inbounds %struct.ImVec2, ptr %225, i32 0, i32 1
  %227 = load float, ptr %226, align 4, !tbaa !67
  %228 = fadd float %223, %227
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %220, float noundef %228)
  %229 = load <2 x float>, ptr %33, align 4
  call void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float> %229, i32 noundef 3, float noundef 1.000000e+00)
  br label %230

230:                                              ; preds = %198, %176
  %231 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %231, i64 8, i1 false), !tbaa.struct !76
  %232 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %232, i64 8, i1 false), !tbaa.struct !76
  %233 = load ptr, ptr %12, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.ImGuiStyle, ptr %233, i32 0, i32 11
  %235 = load float, ptr %234, align 4, !tbaa !74
  %236 = load <2 x float>, ptr %34, align 4
  %237 = load <2 x float>, ptr %35, align 4
  call void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float> %236, <2 x float> %237, float noundef %235)
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = icmp ne ptr %238, null
  br i1 %239, label %240, label %251

240:                                              ; preds = %230
  %241 = load i32, ptr %7, align 4, !tbaa !9
  %242 = and i32 %241, 64
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %251, label %244

244:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %245 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  %246 = load ptr, ptr %12, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImGuiStyle, ptr %246, i32 0, i32 10
  %248 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %245, ptr noundef nonnull align 4 dereferenceable(8) %247)
  store <2 x float> %248, ptr %36, align 4
  %249 = getelementptr inbounds %struct.ImRect, ptr %27, i32 0, i32 1
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %249, ptr noundef %250, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  br label %251

251:                                              ; preds = %244, %240, %230
  %252 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %253 = load float, ptr %252, align 4, !tbaa !68
  %254 = fcmp ogt float %253, 0.000000e+00
  br i1 %254, label %255, label %274

255:                                              ; preds = %251
  %256 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 1
  %257 = getelementptr inbounds %struct.ImVec2, ptr %256, i32 0, i32 0
  %258 = load float, ptr %257, align 4, !tbaa !72
  %259 = load ptr, ptr %12, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiStyle, ptr %259, i32 0, i32 14
  %261 = getelementptr inbounds %struct.ImVec2, ptr %260, i32 0, i32 0
  %262 = load float, ptr %261, align 4, !tbaa !69
  %263 = fadd float %258, %262
  %264 = getelementptr inbounds %struct.ImRect, ptr %17, i32 0, i32 0
  %265 = getelementptr inbounds %struct.ImVec2, ptr %264, i32 0, i32 1
  %266 = load float, ptr %265, align 4, !tbaa !75
  %267 = load ptr, ptr %12, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImGuiStyle, ptr %267, i32 0, i32 10
  %269 = getelementptr inbounds %struct.ImVec2, ptr %268, i32 0, i32 1
  %270 = load float, ptr %269, align 4, !tbaa !67
  %271 = fadd float %266, %270
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %263, float noundef %271)
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load <2 x float>, ptr %38, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %273, ptr noundef %272, ptr noundef null, i1 noundef zeroext true)
  br label %274

274:                                              ; preds = %255, %251
  %275 = load i8, ptr %25, align 1, !tbaa !70, !range !63, !noundef !64
  %276 = trunc i8 %275 to i1
  br i1 %276, label %283, label %277

277:                                              ; preds = %274
  %278 = load ptr, ptr %8, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ImGuiContext, ptr %278, i32 0, i32 57
  %280 = load i32, ptr %279, align 4, !tbaa !77
  %281 = load i32, ptr %13, align 4, !tbaa !9
  %282 = icmp eq i32 %280, %281
  br i1 %282, label %283, label %299

283:                                              ; preds = %277, %274
  %284 = load i8, ptr %26, align 1, !tbaa !70, !range !63, !noundef !64
  %285 = trunc i8 %284 to i1
  br i1 %285, label %299, label %286

286:                                              ; preds = %283
  %287 = load ptr, ptr %10, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.ImGuiWindow, ptr %287, i32 0, i32 43
  %289 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %288, i32 0, i32 17
  %290 = load i32, ptr %289, align 8, !tbaa !78
  %291 = icmp eq i32 %290, 0
  br i1 %291, label %292, label %297

292:                                              ; preds = %286
  %293 = load i32, ptr %13, align 4, !tbaa !9
  %294 = load ptr, ptr %10, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.ImGuiWindow, ptr %294, i32 0, i32 65
  %296 = getelementptr inbounds [2 x i32], ptr %295, i64 0, i64 0
  store i32 %293, ptr %296, align 8, !tbaa !9
  br label %297

297:                                              ; preds = %292, %286
  %298 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN5ImGui11OpenPopupExEj(i32 noundef %298)
  store i8 1, ptr %26, align 1, !tbaa !70
  br label %299

299:                                              ; preds = %297, %283, %277
  %300 = load i8, ptr %26, align 1, !tbaa !70, !range !63, !noundef !64
  %301 = trunc i8 %300 to i1
  br i1 %301, label %303, label %302

302:                                              ; preds = %299
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %418

303:                                              ; preds = %299
  %304 = load i32, ptr %9, align 4, !tbaa !9
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %324

306:                                              ; preds = %303
  %307 = load i32, ptr %9, align 4, !tbaa !9
  %308 = load ptr, ptr %8, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiContext, ptr %308, i32 0, i32 51
  %310 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %309, i32 0, i32 4
  store i32 %307, ptr %310, align 8, !tbaa !11
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiContext, ptr %311, i32 0, i32 51
  %313 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %312, i32 0, i32 13
  %314 = getelementptr inbounds %struct.ImRect, ptr %313, i32 0, i32 0
  %315 = getelementptr inbounds %struct.ImVec2, ptr %314, i32 0, i32 0
  %316 = load float, ptr %315, align 8, !tbaa !79
  %317 = load float, ptr %16, align 4, !tbaa !65
  %318 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %316, float noundef %317)
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.ImGuiContext, ptr %319, i32 0, i32 51
  %321 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %320, i32 0, i32 13
  %322 = getelementptr inbounds %struct.ImRect, ptr %321, i32 0, i32 0
  %323 = getelementptr inbounds %struct.ImVec2, ptr %322, i32 0, i32 0
  store float %318, ptr %323, align 8, !tbaa !79
  br label %359

324:                                              ; preds = %303
  %325 = load i32, ptr %7, align 4, !tbaa !9
  %326 = and i32 %325, 30
  %327 = icmp eq i32 %326, 0
  br i1 %327, label %328, label %331

328:                                              ; preds = %324
  %329 = load i32, ptr %7, align 4, !tbaa !9
  %330 = or i32 %329, 4
  store i32 %330, ptr %7, align 4, !tbaa !9
  br label %331

331:                                              ; preds = %328, %324
  %332 = load i32, ptr %7, align 4, !tbaa !9
  %333 = and i32 %332, 30
  %334 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %333)
  br i1 %334, label %335, label %336

335:                                              ; preds = %331
  br label %338

336:                                              ; preds = %331
  call void @__assert_fail(ptr noundef @.str.181, ptr noundef @.str.3, i32 noundef 11291, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i) #11
  unreachable

337:                                              ; No predecessors!
  br label %338

338:                                              ; preds = %337, %335
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  store i32 -1, ptr %39, align 4, !tbaa !9
  %339 = load i32, ptr %7, align 4, !tbaa !9
  %340 = and i32 %339, 4
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %343

342:                                              ; preds = %338
  store i32 8, ptr %39, align 4, !tbaa !9
  br label %355

343:                                              ; preds = %338
  %344 = load i32, ptr %7, align 4, !tbaa !9
  %345 = and i32 %344, 2
  %346 = icmp ne i32 %345, 0
  br i1 %346, label %347, label %348

347:                                              ; preds = %343
  store i32 4, ptr %39, align 4, !tbaa !9
  br label %354

348:                                              ; preds = %343
  %349 = load i32, ptr %7, align 4, !tbaa !9
  %350 = and i32 %349, 8
  %351 = icmp ne i32 %350, 0
  br i1 %351, label %352, label %353

352:                                              ; preds = %348
  store i32 20, ptr %39, align 4, !tbaa !9
  br label %353

353:                                              ; preds = %352, %348
  br label %354

354:                                              ; preds = %353, %347
  br label %355

355:                                              ; preds = %354, %342
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %356 = load float, ptr %16, align 4, !tbaa !65
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %356, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %357 = load i32, ptr %39, align 4, !tbaa !9
  %358 = call noundef float @_ZL31CalcMaxPopupHeightFromItemCounti(i32 noundef %357)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 0x47EFFFFFE0000000, float noundef %358)
  call void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %41, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  br label %359

359:                                              ; preds = %355, %306
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #10
  %360 = getelementptr inbounds [16 x i8], ptr %42, i64 0, i64 0
  %361 = load ptr, ptr %8, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiContext, ptr %361, i32 0, i32 50
  %363 = getelementptr inbounds %class.ImVector.4, ptr %362, i32 0, i32 0
  %364 = load i32, ptr %363, align 8, !tbaa !80
  %365 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %360, i64 noundef 16, ptr noundef @.str.182, i32 noundef %364)
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %366 = getelementptr inbounds [16 x i8], ptr %42, i64 0, i64 0
  %367 = call noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef %366)
  store ptr %367, ptr %43, align 8, !tbaa !5
  %368 = load ptr, ptr %43, align 8, !tbaa !5
  %369 = icmp ne ptr %368, null
  br i1 %369, label %370, label %401

370:                                              ; preds = %359
  %371 = load ptr, ptr %43, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.ImGuiWindow, ptr %371, i32 0, i32 21
  %373 = load i8, ptr %372, align 1, !tbaa !81, !range !63, !noundef !64
  %374 = trunc i8 %373 to i1
  br i1 %374, label %375, label %400

375:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  %376 = load ptr, ptr %43, align 8, !tbaa !5
  %377 = call <2 x float> @_ZL16CalcSizeContentsP11ImGuiWindow(ptr noundef %376)
  store <2 x float> %377, ptr %44, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %378 = load ptr, ptr %43, align 8, !tbaa !5
  %379 = load ptr, ptr %43, align 8, !tbaa !5
  %380 = call <2 x float> @_ZL15CalcSizeAutoFitP11ImGuiWindowRK6ImVec2(ptr noundef %379, ptr noundef nonnull align 4 dereferenceable(8) %44)
  store <2 x float> %380, ptr %46, align 4
  %381 = load <2 x float>, ptr %46, align 4
  %382 = call <2 x float> @_ZL23CalcSizeAfterConstraintP11ImGuiWindow6ImVec2(ptr noundef %378, <2 x float> %381)
  store <2 x float> %382, ptr %45, align 4
  %383 = load i32, ptr %7, align 4, !tbaa !9
  %384 = and i32 %383, 1
  %385 = icmp ne i32 %384, 0
  br i1 %385, label %386, label %389

386:                                              ; preds = %375
  %387 = load ptr, ptr %43, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.ImGuiWindow, ptr %387, i32 0, i32 36
  store i32 0, ptr %388, align 4, !tbaa !82
  br label %389

389:                                              ; preds = %386, %375
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #10
  %390 = load ptr, ptr %43, align 8, !tbaa !5
  %391 = call { <2 x float>, <2 x float> } @_ZL30FindAllowedExtentRectForWindowP11ImGuiWindow(ptr noundef %390)
  %392 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 0
  %393 = extractvalue { <2 x float>, <2 x float> } %391, 0
  store <2 x float> %393, ptr %392, align 4
  %394 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 1
  %395 = extractvalue { <2 x float>, <2 x float> } %391, 1
  store <2 x float> %395, ptr %394, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %396 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  store <2 x float> %396, ptr %49, align 4
  %397 = load ptr, ptr %43, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiWindow, ptr %397, i32 0, i32 36
  %399 = call <2 x float> @_ZL27FindBestWindowPosForPopupExRK6ImVec2S1_PiRK6ImRectS5_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %49, ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef %398, ptr noundef nonnull align 4 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef 1)
  store <2 x float> %399, ptr %48, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %50, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %48, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %50)
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  br label %400

400:                                              ; preds = %389, %370
  br label %401

401:                                              ; preds = %400, %359
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #10
  store i32 67109187, ptr %51, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %402 = load ptr, ptr %12, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiStyle, ptr %402, i32 0, i32 10
  %404 = getelementptr inbounds %struct.ImVec2, ptr %403, i32 0, i32 0
  %405 = load float, ptr %404, align 4, !tbaa !83
  %406 = load ptr, ptr %12, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.ImGuiStyle, ptr %406, i32 0, i32 1
  %408 = getelementptr inbounds %struct.ImVec2, ptr %407, i32 0, i32 1
  %409 = load float, ptr %408, align 4, !tbaa !84
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef %405, float noundef %409)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %52)
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #10
  %410 = getelementptr inbounds [16 x i8], ptr %42, i64 0, i64 0
  %411 = load i32, ptr %51, align 4, !tbaa !9
  %412 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %410, ptr noundef null, i32 noundef %411)
  %413 = zext i1 %412 to i8
  store i8 %413, ptr %53, align 1, !tbaa !70
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %414 = load i8, ptr %53, align 1, !tbaa !70, !range !63, !noundef !64
  %415 = trunc i8 %414 to i1
  br i1 %415, label %417, label %416

416:                                              ; preds = %401
  call void @_ZN5ImGui8EndPopupEv()
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str.3, i32 noundef 11323, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i) #11
  unreachable

417:                                              ; preds = %401
  store i1 true, ptr %4, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  br label %418

418:                                              ; preds = %417, %302
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #10
  br label %419

419:                                              ; preds = %418, %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %420

420:                                              ; preds = %419, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  %421 = load i1, ptr %4, align 1
  ret i1 %421
}

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

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL30FindAllowedExtentRectForWindowP11ImGuiWindow(ptr noundef) #8

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 6680}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !17, i64 5408, !6, i64 6232, !16, i64 6240, !16, i64 6244, !18, i64 6248, !16, i64 6384, !10, i64 6388, !10, i64 6392, !10, i64 6396, !20, i64 6400, !20, i64 6416, !20, i64 6432, !21, i64 6448, !10, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !10, i64 6496, !13, i64 6500, !10, i64 6504, !16, i64 6508, !10, i64 6512, !10, i64 6516, !16, i64 6520, !13, i64 6524, !13, i64 6525, !13, i64 6526, !13, i64 6527, !13, i64 6528, !13, i64 6529, !10, i64 6532, !15, i64 6536, !6, i64 6544, !6, i64 6552, !23, i64 6560, !10, i64 6564, !16, i64 6568, !6, i64 6576, !24, i64 6584, !25, i64 6600, !26, i64 6616, !27, i64 6632, !27, i64 6648, !28, i64 6664, !13, i64 6776, !10, i64 6780, !6, i64 6784, !10, i64 6792, !10, i64 6796, !10, i64 6800, !10, i64 6804, !10, i64 6808, !10, i64 6812, !10, i64 6816, !10, i64 6820, !23, i64 6824, !29, i64 6828, !10, i64 6844, !6, i64 6848, !16, i64 6856, !16, i64 6860, !13, i64 6864, !10, i64 6868, !10, i64 6872, !13, i64 6876, !13, i64 6877, !13, i64 6878, !13, i64 6879, !13, i64 6880, !13, i64 6881, !13, i64 6882, !10, i64 6884, !29, i64 6888, !13, i64 6904, !13, i64 6905, !10, i64 6908, !30, i64 6912, !10, i64 6916, !10, i64 6920, !10, i64 6924, !31, i64 6928, !31, i64 6976, !31, i64 7024, !32, i64 7072, !33, i64 7120, !16, i64 7152, !34, i64 7160, !10, i64 7328, !13, i64 7332, !10, i64 7336, !10, i64 7340, !42, i64 7344, !29, i64 7408, !10, i64 7424, !10, i64 7428, !16, i64 7432, !10, i64 7436, !10, i64 7440, !10, i64 7444, !43, i64 7448, !7, i64 7464, !44, i64 7472, !49, i64 11176, !10, i64 11288, !10, i64 11292, !19, i64 11296, !13, i64 11312, !16, i64 11316, !16, i64 11320, !15, i64 11324, !10, i64 11332, !45, i64 11336, !15, i64 11352, !15, i64 11360, !13, i64 11368, !16, i64 11372, !52, i64 11376, !53, i64 11392, !54, i64 11408, !13, i64 11424, !6, i64 11432, !52, i64 11440, !10, i64 11456, !10, i64 11460, !7, i64 11464, !10, i64 11944, !16, i64 11948, !10, i64 11952, !10, i64 11956, !10, i64 11960, !7, i64 11964}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 136, !16, i64 140, !6, i64 144, !6, i64 152, !16, i64 160, !13, i64 164, !6, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !13, i64 200, !13, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !15, i64 256, !7, i64 264, !16, i64 272, !16, i64 276, !13, i64 280, !13, i64 281, !13, i64 282, !13, i64 283, !13, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !13, i64 916, !13, i64 917, !13, i64 918, !13, i64 919, !13, i64 920, !13, i64 921, !13, i64 922, !16, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !15, i64 940, !15, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !16, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !15, i64 52, !16, i64 60, !16, i64 64, !15, i64 68, !15, i64 76, !15, i64 84, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !15, i64 116, !15, i64 124, !15, i64 132, !16, i64 140, !13, i64 144, !13, i64 145, !16, i64 148, !7, i64 152}
!18 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !19, i64 24, !7, i64 40}
!19 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{!"_ZTS12ImGuiStorage", !22, i64 0}
!22 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI11ImGuiColModE", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !13, i64 60, !29, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!29 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!30 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!31 = !{!"_ZTS18ImGuiNavMoveResult", !10, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !29, i64 28}
!32 = !{!"_ZTS10ImDrawData", !13, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 36}
!33 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!34 = !{!"_ZTS10ImDrawList", !35, i64 0, !36, i64 16, !37, i64 32, !10, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !38, i64 96, !39, i64 112, !40, i64 128, !10, i64 144, !10, i64 148, !41, i64 152}
!35 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!43 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS18ImGuiTextEditState", !10, i64 0, !36, i64 8, !45, i64 24, !45, i64 40, !10, i64 56, !10, i64 60, !10, i64 64, !16, i64 68, !46, i64 72, !16, i64 3692, !13, i64 3696, !13, i64 3697}
!45 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, 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, !16, i64 20, !47, i64 24}
!47 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !48, i64 3582, !48, i64 3584, !10, i64 3588, !10, i64 3592}
!48 = !{!"short", !7, i64 0}
!49 = !{!"_ZTS6ImFont", !16, i64 0, !16, i64 4, !15, i64 8, !50, i64 16, !51, i64 32, !36, i64 48, !6, i64 64, !16, i64 72, !48, i64 76, !48, i64 78, !6, i64 80, !6, i64 88, !16, i64 96, !16, i64 100, !13, i64 104, !10, i64 108}
!50 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS15ImGuiTextBuffer", !45, i64 0}
!53 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!56, !13, i64 127}
!56 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !16, i64 72, !16, i64 76, !10, i64 80, !10, i64 84, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !13, i64 120, !13, i64 121, !13, i64 122, !13, i64 123, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !13, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !15, i64 184, !15, i64 192, !57, i64 200, !60, i64 496, !29, i64 512, !29, i64 528, !29, i64 544, !29, i64 560, !29, i64 576, !10, i64 592, !16, i64 596, !61, i64 600, !21, i64 648, !62, i64 664, !16, i64 680, !10, i64 684, !6, i64 688, !34, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !10, i64 952, !10, i64 956, !10, i64 960, !10, i64 964, !10, i64 968, !10, i64 972}
!57 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !16, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !29, i64 68, !29, i64 84, !13, i64 100, !13, i64 101, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120, !15, i64 124, !20, i64 136, !6, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !16, i64 172, !16, i64 176, !58, i64 184, !51, i64 200, !51, i64 216, !59, i64 232, !7, i64 248, !16, i64 272, !16, i64 276, !16, i64 280, !6, i64 288}
!58 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !7, i64 16, !7, i64 32}
!62 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{i8 0, i8 2}
!64 = !{}
!65 = !{!16, !16, i64 0}
!66 = !{!15, !16, i64 4}
!67 = !{!17, !16, i64 56}
!68 = !{!15, !16, i64 0}
!69 = !{!17, !16, i64 76}
!70 = !{!13, !13, i64 0}
!71 = !{!56, !6, i64 688}
!72 = !{!29, !16, i64 8}
!73 = !{!29, !16, i64 12}
!74 = !{!17, !16, i64 60}
!75 = !{!29, !16, i64 4}
!76 = !{i64 0, i64 4, !65, i64 4, i64 4, !65}
!77 = !{!12, !10, i64 6796}
!78 = !{!56, !10, i64 304}
!79 = !{!12, !16, i64 6728}
!80 = !{!12, !10, i64 6648}
!81 = !{!56, !13, i64 123}
!82 = !{!56, !10, i64 164}
!83 = !{!17, !16, i64 52}
!84 = !{!17, !16, i64 8}


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

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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [133 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i = external hidden unnamed_addr constant [68 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [13 x i8], align 1

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(976), ptr noundef, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float>, <2 x float>, float noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float>, i32 noundef, float noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11OpenPopupExEj(i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndPopupEv() local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL23CalcSizeAfterConstraintP11ImGuiWindow6ImVec2(ptr noundef, <2 x float>) local_unnamed_addr #7

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui13CalcItemWidthEv() local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN5ImGui14GetFrameHeightEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui10BeginComboEPKcS1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #7 {
  %4 = alloca %struct.ImRect, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 8
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 8
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca [16 x i8], align 16
  %24 = alloca %struct.ImVec2, align 8
  %25 = alloca %struct.ImVec2, align 8
  %26 = alloca %struct.ImRect, align 8
  %27 = alloca %struct.ImVec2, align 8
  %28 = alloca %struct.ImVec2, align 8
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 6680
  %33 = load i32, ptr %32, align 8, !tbaa !9
  store i32 0, ptr %32, align 8, !tbaa !9
  %34 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %35 = getelementptr inbounds i8, ptr %34, i64 127
  %36 = load i8, ptr %35, align 1, !tbaa !54, !range !62, !noundef !63
  %37 = trunc nuw i8 %36 to i1
  br i1 %37, label %195, label %38

38:                                               ; preds = %3
  %39 = and i32 %2, 96
  %.not = icmp eq i32 %39, 96
  br i1 %.not, label %40, label %41

40:                                               ; preds = %38
  tail call void @__assert_fail(ptr noundef nonnull @.str.180, ptr noundef nonnull @.str.3, i32 noundef 11237, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i) #9
  unreachable

41:                                               ; preds = %38
  %42 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(976) %34, ptr noundef %0, ptr noundef null)
  %43 = and i32 %2, 32
  %.not96 = icmp eq i32 %43, 0
  br i1 %.not96, label %44, label %46

44:                                               ; preds = %41
  %45 = tail call noundef float @_ZN5ImGui14GetFrameHeightEv()
  br label %46

46:                                               ; preds = %41, %44
  %47 = phi float [ %45, %44 ], [ 0.000000e+00, %41 ]
  %48 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  %49 = and i32 %2, 64
  %.not97 = icmp ne i32 %49, 0
  br i1 %.not97, label %52, label %50

50:                                               ; preds = %46
  %51 = tail call noundef float @_ZN5ImGui13CalcItemWidthEv()
  br label %52

52:                                               ; preds = %46, %50
  %53 = phi float [ %51, %50 ], [ %47, %46 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #10
  %54 = getelementptr inbounds i8, ptr %34, i64 200
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %.sroa.021.4.vec.extract = extractelement <2 x float> %48, i64 1
  %55 = getelementptr inbounds i8, ptr %31, i64 5460
  %56 = getelementptr inbounds i8, ptr %31, i64 5464
  %57 = load float, ptr %56, align 4, !tbaa !64
  %58 = tail call float @llvm.fmuladd.f32(float %57, float 2.000000e+00, float %.sroa.021.4.vec.extract)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %53, float noundef %58)
  %59 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %59, ptr %5, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %60 = getelementptr inbounds i8, ptr %4, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %.sroa.021.0.vec.extract = extractelement <2 x float> %48, i64 0
  %61 = fcmp ogt float %.sroa.021.0.vec.extract, 0.000000e+00
  br i1 %61, label %62, label %66

62:                                               ; preds = %52
  %63 = getelementptr inbounds i8, ptr %31, i64 5484
  %64 = load float, ptr %63, align 4, !tbaa !65
  %65 = fadd float %.sroa.021.0.vec.extract, %64
  br label %66

66:                                               ; preds = %52, %62
  %67 = phi float [ %65, %62 ], [ 0.000000e+00, %52 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %67, float noundef 0.000000e+00)
  %68 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %68, ptr %8, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  %69 = load float, ptr %56, align 4, !tbaa !64
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef %69)
  %70 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %42, ptr noundef nonnull %4)
  br i1 %70, label %71, label %194

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #10
  %72 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %4, i32 noundef %42, ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef 0)
  %73 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef %42)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %47, float noundef 0.000000e+00)
  %74 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %74, ptr %13, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  %75 = load i8, ptr %10, align 1, !tbaa !66, !range !62, !noundef !63
  %76 = trunc nuw i8 %75 to i1
  %77 = select i1 %76, i32 8, i32 7
  %78 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %77, float noundef 1.000000e+00)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %4, i32 noundef %42, i32 noundef 1)
  br i1 %.not97, label %88, label %79

79:                                               ; preds = %71
  %80 = getelementptr inbounds i8, ptr %34, i64 688
  %81 = load ptr, ptr %80, align 8, !tbaa !67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %82 = load float, ptr %60, align 8, !tbaa !68
  %83 = fsub float %82, %47
  %84 = getelementptr inbounds i8, ptr %4, i64 12
  %85 = load float, ptr %84, align 4, !tbaa !69
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %83, float noundef %85)
  %86 = getelementptr inbounds i8, ptr %31, i64 5468
  %87 = load float, ptr %86, align 4, !tbaa !70
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168) %81, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %78, float noundef %87, i32 noundef 5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br label %88

88:                                               ; preds = %79, %71
  br i1 %.not96, label %89, label %112

89:                                               ; preds = %88
  %90 = getelementptr inbounds i8, ptr %34, i64 688
  %91 = load ptr, ptr %90, align 8, !tbaa !67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  %92 = load float, ptr %60, align 8, !tbaa !68
  %93 = fsub float %92, %47
  %94 = getelementptr inbounds i8, ptr %4, i64 4
  %95 = load float, ptr %94, align 4, !tbaa !71
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %93, float noundef %95)
  %96 = load i8, ptr %10, align 1, !range !62
  %97 = trunc nuw i8 %96 to i1
  %98 = select i1 %73, i1 true, i1 %97
  %99 = select i1 %98, i32 22, i32 21
  %100 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %99, float noundef 1.000000e+00)
  %101 = getelementptr inbounds i8, ptr %31, i64 5468
  %102 = load float, ptr %101, align 4, !tbaa !70
  %103 = fcmp ole float %53, %47
  %104 = select i1 %103, i32 15, i32 10
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168) %91, ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %60, i32 noundef %100, float noundef %102, i32 noundef %104)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  %105 = load float, ptr %60, align 8, !tbaa !68
  %106 = fsub float %105, %47
  %107 = load float, ptr %56, align 4, !tbaa !64
  %108 = fadd float %106, %107
  %109 = load float, ptr %94, align 4, !tbaa !71
  %110 = fadd float %107, %109
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %108, float noundef %110)
  %111 = load <2 x float>, ptr %17, align 8
  call void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float> %111, i32 noundef 3, float noundef 1.000000e+00)
  br label %112

112:                                              ; preds = %89, %88
  %.sroa.011.0.copyload = load <2 x float>, ptr %4, align 8
  %.sroa.010.0.copyload = load <2 x float>, ptr %60, align 8
  %113 = getelementptr inbounds i8, ptr %31, i64 5468
  %114 = load float, ptr %113, align 4, !tbaa !70
  call void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float> %.sroa.011.0.copyload, <2 x float> %.sroa.010.0.copyload, float noundef %114)
  %.not98 = icmp eq ptr %1, null
  %brmerge = or i1 %.not98, %.not97
  br i1 %brmerge, label %118, label %115

115:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %116 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %55)
  store <2 x float> %116, ptr %18, align 8
  %117 = getelementptr inbounds i8, ptr %12, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %117, ptr noundef nonnull %1, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  br label %118

118:                                              ; preds = %112, %115
  br i1 %61, label %119, label %129

119:                                              ; preds = %118
  %120 = load float, ptr %60, align 8, !tbaa !68
  %121 = getelementptr inbounds i8, ptr %31, i64 5484
  %122 = load float, ptr %121, align 4, !tbaa !65
  %123 = fadd float %120, %122
  %124 = getelementptr inbounds i8, ptr %4, i64 4
  %125 = load float, ptr %124, align 4, !tbaa !71
  %126 = load float, ptr %56, align 4, !tbaa !64
  %127 = fadd float %125, %126
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %123, float noundef %127)
  %128 = load <2 x float>, ptr %20, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %128, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  br label %129

129:                                              ; preds = %119, %118
  br i1 %72, label %134, label %130

130:                                              ; preds = %129
  %131 = getelementptr inbounds i8, ptr %31, i64 6796
  %132 = load i32, ptr %131, align 4, !tbaa !72
  %133 = icmp ne i32 %132, %42
  %brmerge106 = or i1 %73, %133
  br i1 %brmerge106, label %142, label %135

134:                                              ; preds = %129
  br i1 %73, label %.thread, label %135

135:                                              ; preds = %130, %134
  %136 = getelementptr inbounds i8, ptr %34, i64 304
  %137 = load i32, ptr %136, align 8, !tbaa !73
  %138 = icmp eq i32 %137, 0
  br i1 %138, label %139, label %141

139:                                              ; preds = %135
  %140 = getelementptr inbounds i8, ptr %34, i64 912
  store i32 %42, ptr %140, align 8, !tbaa !74
  br label %141

141:                                              ; preds = %139, %135
  call void @_ZN5ImGui11OpenPopupExEj(i32 noundef %42)
  br label %.thread

142:                                              ; preds = %130
  br i1 %73, label %.thread, label %193

.thread:                                          ; preds = %141, %134, %142
  %.not99 = icmp eq i32 %33, 0
  br i1 %.not99, label %147, label %143

143:                                              ; preds = %.thread
  store i32 %33, ptr %32, align 8, !tbaa !9
  %144 = getelementptr inbounds i8, ptr %31, i64 6728
  %145 = load float, ptr %144, align 8, !tbaa !75
  %146 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %145, float noundef %53)
  store float %146, ptr %144, align 8, !tbaa !75
  br label %162

147:                                              ; preds = %.thread
  %148 = and i32 %2, 30
  %149 = icmp eq i32 %148, 0
  %150 = or disjoint i32 %2, 4
  %spec.select = select i1 %149, i32 %150, i32 %2
  %151 = and i32 %spec.select, 30
  %152 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %151)
  br i1 %152, label %154, label %153

153:                                              ; preds = %147
  call void @__assert_fail(ptr noundef nonnull @.str.181, ptr noundef nonnull @.str.3, i32 noundef 11291, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i) #9
  unreachable

154:                                              ; preds = %147
  %155 = and i32 %spec.select, 4
  %.not100 = icmp eq i32 %155, 0
  br i1 %.not100, label %156, label %160

156:                                              ; preds = %154
  %157 = and i32 %spec.select, 2
  %.not101 = icmp eq i32 %157, 0
  br i1 %.not101, label %158, label %160

158:                                              ; preds = %156
  %159 = and i32 %spec.select, 8
  %.not102 = icmp eq i32 %159, 0
  %spec.select107 = select i1 %.not102, i32 -1, i32 20
  br label %160

160:                                              ; preds = %158, %156, %154
  %.092 = phi i32 [ 8, %154 ], [ 4, %156 ], [ %spec.select107, %158 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %53, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #10
  %161 = call noundef float @_ZL31CalcMaxPopupHeightFromItemCounti(i32 noundef %.092)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef 0x47EFFFFFE0000000, float noundef %161)
  call void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #10
  br label %162

162:                                              ; preds = %160, %143
  %.190 = phi i32 [ %2, %143 ], [ %spec.select, %160 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #10
  %163 = getelementptr inbounds i8, ptr %31, i64 6648
  %164 = load i32, ptr %163, align 8, !tbaa !76
  %165 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %23, i64 noundef 16, ptr noundef nonnull @.str.182, i32 noundef %164)
  %166 = call noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef nonnull %23)
  %.not103 = icmp eq ptr %166, null
  br i1 %.not103, label %186, label %167

167:                                              ; preds = %162
  %168 = getelementptr inbounds i8, ptr %166, i64 123
  %169 = load i8, ptr %168, align 1, !tbaa !77, !range !62, !noundef !63
  %170 = trunc nuw i8 %169 to i1
  br i1 %170, label %171, label %186

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #10
  %172 = call <2 x float> @_ZL16CalcSizeContentsP11ImGuiWindow(ptr noundef nonnull %166)
  store <2 x float> %172, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #10
  %173 = call <2 x float> @_ZL15CalcSizeAutoFitP11ImGuiWindowRK6ImVec2(ptr noundef nonnull %166, ptr noundef nonnull align 4 dereferenceable(8) %24)
  %174 = call <2 x float> @_ZL23CalcSizeAfterConstraintP11ImGuiWindow6ImVec2(ptr noundef nonnull %166, <2 x float> %173)
  store <2 x float> %174, ptr %25, align 8
  %175 = and i32 %.190, 1
  %.not104 = icmp eq i32 %175, 0
  br i1 %.not104, label %178, label %176

176:                                              ; preds = %171
  %177 = getelementptr inbounds i8, ptr %166, i64 164
  store i32 0, ptr %177, align 4, !tbaa !78
  br label %178

178:                                              ; preds = %176, %171
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #10
  %179 = call { <2 x float>, <2 x float> } @_ZL30FindAllowedExtentRectForWindowP11ImGuiWindow(ptr noundef nonnull %166)
  %180 = extractvalue { <2 x float>, <2 x float> } %179, 0
  store <2 x float> %180, ptr %26, align 8
  %181 = getelementptr inbounds i8, ptr %26, i64 8
  %182 = extractvalue { <2 x float>, <2 x float> } %179, 1
  store <2 x float> %182, ptr %181, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #10
  %183 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  store <2 x float> %183, ptr %28, align 8
  %184 = getelementptr inbounds i8, ptr %166, i64 164
  %185 = call <2 x float> @_ZL27FindBestWindowPosForPopupExRK6ImVec2S1_PiRK6ImRectS5_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull %184, ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(16) %4, i32 noundef 1)
  store <2 x float> %185, ptr %27, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %27, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #10
  br label %186

186:                                              ; preds = %167, %178, %162
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #10
  %187 = load float, ptr %55, align 4, !tbaa !79
  %188 = getelementptr inbounds i8, ptr %31, i64 5416
  %189 = load float, ptr %188, align 4, !tbaa !80
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %187, float noundef %189)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #10
  %190 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef nonnull %23, ptr noundef null, i32 noundef 67109187)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br i1 %190, label %192, label %191

191:                                              ; preds = %186
  call void @_ZN5ImGui8EndPopupEv()
  call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.3, i32 noundef 11323, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui10BeginComboEPKcS1_i) #9
  unreachable

192:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #10
  br label %193

193:                                              ; preds = %142, %192
  %.091.shrunk109 = phi i1 [ false, %142 ], [ true, %192 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  br label %194

194:                                              ; preds = %66, %193
  %.1 = phi i1 [ %.091.shrunk109, %193 ], [ false, %66 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  br label %195

195:                                              ; preds = %3, %194
  %.2 = phi i1 [ %.1, %194 ], [ false, %3 ]
  ret i1 %.2
}

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #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 = { "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 = { noreturn nounwind }
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, !13, i64 6680}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !16, i64 5408, !6, i64 6232, !15, i64 6240, !15, i64 6244, !17, i64 6248, !15, i64 6384, !13, i64 6388, !13, i64 6392, !13, i64 6396, !19, i64 6400, !19, i64 6416, !19, i64 6432, !20, i64 6448, !13, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !13, i64 6496, !11, i64 6500, !13, i64 6504, !15, i64 6508, !13, i64 6512, !13, i64 6516, !15, i64 6520, !11, i64 6524, !11, i64 6525, !11, i64 6526, !11, i64 6527, !11, i64 6528, !11, i64 6529, !13, i64 6532, !14, i64 6536, !6, i64 6544, !6, i64 6552, !22, i64 6560, !13, i64 6564, !15, i64 6568, !6, i64 6576, !23, i64 6584, !24, i64 6600, !25, i64 6616, !26, i64 6632, !26, i64 6648, !27, i64 6664, !11, i64 6776, !13, i64 6780, !6, i64 6784, !13, i64 6792, !13, i64 6796, !13, i64 6800, !13, i64 6804, !13, i64 6808, !13, i64 6812, !13, i64 6816, !13, i64 6820, !22, i64 6824, !28, i64 6828, !13, i64 6844, !6, i64 6848, !15, i64 6856, !15, i64 6860, !11, i64 6864, !13, i64 6868, !13, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !11, i64 6881, !11, i64 6882, !13, i64 6884, !28, i64 6888, !11, i64 6904, !11, i64 6905, !13, i64 6908, !29, i64 6912, !13, i64 6916, !13, i64 6920, !13, i64 6924, !30, i64 6928, !30, i64 6976, !30, i64 7024, !31, i64 7072, !32, i64 7120, !15, i64 7152, !33, i64 7160, !13, i64 7328, !11, i64 7332, !13, i64 7336, !13, i64 7340, !41, i64 7344, !28, i64 7408, !13, i64 7424, !13, i64 7428, !15, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !42, i64 7448, !7, i64 7464, !43, i64 7472, !48, i64 11176, !13, i64 11288, !13, i64 11292, !18, i64 11296, !11, i64 11312, !15, i64 11316, !15, i64 11320, !14, i64 11324, !13, i64 11332, !44, i64 11336, !14, i64 11352, !14, i64 11360, !11, i64 11368, !15, i64 11372, !51, i64 11376, !52, i64 11392, !53, i64 11408, !11, i64 11424, !6, i64 11432, !51, i64 11440, !13, i64 11456, !13, i64 11460, !7, i64 11464, !13, i64 11944, !15, i64 11948, !13, i64 11952, !13, i64 11956, !13, i64 11960, !7, i64 11964}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !11, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !14, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS12ImGuiStorage", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!23 = !{!"_ZTS8ImVectorI11ImGuiColModE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !28, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!30 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!31 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!32 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!33 = !{!"_ZTS10ImDrawList", !34, i64 0, !35, i64 16, !36, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !37, i64 96, !38, i64 112, !39, i64 128, !13, i64 144, !13, i64 148, !40, i64 152}
!34 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!42 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS18ImGuiTextEditState", !13, i64 0, !35, i64 8, !44, i64 24, !44, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !45, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697}
!44 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTSN8ImGuiStb17STB_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, !46, i64 24}
!46 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !47, i64 3582, !47, i64 3584, !13, i64 3588, !13, i64 3592}
!47 = !{!"short", !7, i64 0}
!48 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !49, i64 16, !50, i64 32, !35, i64 48, !6, i64 64, !15, i64 72, !47, i64 76, !47, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!49 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS15ImGuiTextBuffer", !44, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!55, !11, i64 127}
!55 = !{!"_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, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !56, i64 200, !59, i64 496, !28, i64 512, !28, i64 528, !28, i64 544, !28, i64 560, !28, i64 576, !13, i64 592, !15, i64 596, !60, i64 600, !20, i64 648, !61, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !33, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !13, i64 952, !13, i64 956, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972}
!56 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !28, i64 68, !28, i64 84, !11, i64 100, !11, i64 101, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !14, i64 124, !19, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !15, i64 172, !15, i64 176, !57, i64 184, !50, i64 200, !50, i64 216, !58, i64 232, !7, i64 248, !15, i64 272, !15, i64 276, !15, i64 280, !6, i64 288}
!57 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!61 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{i8 0, i8 2}
!63 = !{}
!64 = !{!16, !15, i64 56}
!65 = !{!16, !15, i64 76}
!66 = !{!11, !11, i64 0}
!67 = !{!55, !6, i64 688}
!68 = !{!28, !15, i64 8}
!69 = !{!28, !15, i64 12}
!70 = !{!16, !15, i64 60}
!71 = !{!28, !15, i64 4}
!72 = !{!10, !13, i64 6796}
!73 = !{!55, !13, i64 304}
!74 = !{!13, !13, i64 0}
!75 = !{!10, !15, i64 6728}
!76 = !{!10, !13, i64 6648}
!77 = !{!55, !11, i64 123}
!78 = !{!55, !13, i64 164}
!79 = !{!16, !15, i64 52}
!80 = !{!16, !15, i64 8}


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