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

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

@GImGui = external dso_local global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [111 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [15 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui11KeepAliveIDEj(i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31GcCompactTransientWindowBuffersEP11ImGuiWindow(ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31UpdateMouseMovingWindowNewFrameEv() #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv() #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv() #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8NewFrameEv() #6 {
  %1 = alloca ptr, align 8
  %2 = alloca %struct.ImVec4, align 4
  %3 = alloca i32, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %11 = icmp ne ptr %10, null
  br i1 %11, label %12, label %13

12:                                               ; preds = %0
  br label %13

13:                                               ; preds = %12, %0
  %14 = phi i1 [ false, %0 ], [ true, %12 ]
  br i1 %14, label %15, label %16

15:                                               ; preds = %13
  br label %18

16:                                               ; preds = %13
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.1, i32 noundef 3504, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

17:                                               ; No predecessors!
  br label %18

18:                                               ; preds = %17, %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #11
  %19 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %19, ptr %1, align 8, !tbaa !5
  call void @_ZL20NewFrameSanityChecksv()
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 165
  %22 = load i8, ptr %21, align 4, !tbaa !9, !range !64, !noundef !65
  %23 = trunc i8 %22 to i1
  br i1 %23, label %45, label %24

24:                                               ; preds = %18
  %25 = load ptr, ptr %1, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiContext, ptr %25, i32 0, i32 171
  %27 = call noundef zeroext i1 @_ZNK8ImVectorI19ImGuiWindowSettingsE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  br label %31

29:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.1, i32 noundef 3517, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30, %28
  %32 = load ptr, ptr %1, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 5
  %34 = getelementptr inbounds %struct.ImGuiIO, ptr %33, i32 0, i32 5
  %35 = load ptr, ptr %34, align 8, !tbaa !66
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %42

37:                                               ; preds = %31
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 5
  %40 = getelementptr inbounds %struct.ImGuiIO, ptr %39, i32 0, i32 5
  %41 = load ptr, ptr %40, align 8, !tbaa !66
  call void @_ZN5ImGui23LoadIniSettingsFromDiskEPKc(ptr noundef %41)
  br label %42

42:                                               ; preds = %37, %31
  %43 = load ptr, ptr %1, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImGuiContext, ptr %43, i32 0, i32 165
  store i8 1, ptr %44, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %42, %18
  %46 = load ptr, ptr %1, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImGuiContext, ptr %46, i32 0, i32 167
  %48 = load float, ptr %47, align 8, !tbaa !67
  %49 = fcmp ogt float %48, 0.000000e+00
  br i1 %49, label %50, label %82

50:                                               ; preds = %45
  %51 = load ptr, ptr %1, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 5
  %53 = getelementptr inbounds %struct.ImGuiIO, ptr %52, i32 0, i32 3
  %54 = load float, ptr %53, align 8, !tbaa !68
  %55 = load ptr, ptr %1, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiContext, ptr %55, i32 0, i32 167
  %57 = load float, ptr %56, align 8, !tbaa !67
  %58 = fsub float %57, %54
  store float %58, ptr %56, align 8, !tbaa !67
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 167
  %61 = load float, ptr %60, align 8, !tbaa !67
  %62 = fcmp ole float %61, 0.000000e+00
  br i1 %62, label %63, label %81

63:                                               ; preds = %50
  %64 = load ptr, ptr %1, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiContext, ptr %64, i32 0, i32 5
  %66 = getelementptr inbounds %struct.ImGuiIO, ptr %65, i32 0, i32 5
  %67 = load ptr, ptr %66, align 8, !tbaa !66
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %74

69:                                               ; preds = %63
  %70 = load ptr, ptr %1, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 5
  %72 = getelementptr inbounds %struct.ImGuiIO, ptr %71, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !66
  call void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef %73)
  br label %78

74:                                               ; preds = %63
  %75 = load ptr, ptr %1, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImGuiContext, ptr %75, i32 0, i32 5
  %77 = getelementptr inbounds %struct.ImGuiIO, ptr %76, i32 0, i32 50
  store i8 1, ptr %77, align 4, !tbaa !69
  br label %78

78:                                               ; preds = %74, %69
  %79 = load ptr, ptr %1, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 167
  store float 0.000000e+00, ptr %80, align 8, !tbaa !67
  br label %81

81:                                               ; preds = %78, %50
  br label %82

82:                                               ; preds = %81, %45
  %83 = load ptr, ptr %1, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiContext, ptr %83, i32 0, i32 5
  %85 = getelementptr inbounds %struct.ImGuiIO, ptr %84, i32 0, i32 3
  %86 = load float, ptr %85, align 8, !tbaa !68
  %87 = fpext float %86 to double
  %88 = load ptr, ptr %1, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 11
  %90 = load double, ptr %89, align 8, !tbaa !70
  %91 = fadd double %90, %87
  store double %91, ptr %89, align 8, !tbaa !70
  %92 = load ptr, ptr %1, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiContext, ptr %92, i32 0, i32 1
  store i8 1, ptr %93, align 1, !tbaa !71
  %94 = load ptr, ptr %1, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiContext, ptr %94, i32 0, i32 12
  %96 = load i32, ptr %95, align 8, !tbaa !72
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %95, align 8, !tbaa !72
  %98 = load ptr, ptr %1, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 159
  store i32 0, ptr %99, align 8, !tbaa !73
  %100 = load ptr, ptr %1, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 21
  store i32 0, ptr %101, align 8, !tbaa !74
  %102 = load ptr, ptr %1, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 5
  %104 = getelementptr inbounds %struct.ImGuiIO, ptr %103, i32 0, i32 14
  %105 = load ptr, ptr %104, align 8, !tbaa !75
  %106 = getelementptr inbounds %struct.ImFontAtlas, ptr %105, i32 0, i32 0
  store i8 1, ptr %106, align 8, !tbaa !76
  %107 = call noundef ptr @_ZN5ImGui14GetDefaultFontEv()
  call void @_ZN5ImGui14SetCurrentFontEP6ImFont(ptr noundef %107)
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 7
  %110 = load ptr, ptr %109, align 8, !tbaa !80
  %111 = call noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(113) %110)
  br i1 %111, label %112, label %113

112:                                              ; preds = %82
  br label %115

113:                                              ; preds = %82
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.1, i32 noundef 3546, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

114:                                              ; No predecessors!
  br label %115

115:                                              ; preds = %114, %112
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #11
  %116 = load ptr, ptr %1, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiContext, ptr %116, i32 0, i32 5
  %118 = getelementptr inbounds %struct.ImGuiIO, ptr %117, i32 0, i32 2
  %119 = getelementptr inbounds %struct.ImVec2, ptr %118, i32 0, i32 0
  %120 = load float, ptr %119, align 8, !tbaa !81
  %121 = load ptr, ptr %1, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiContext, ptr %121, i32 0, i32 5
  %123 = getelementptr inbounds %struct.ImGuiIO, ptr %122, i32 0, i32 2
  %124 = getelementptr inbounds %struct.ImVec2, ptr %123, i32 0, i32 1
  %125 = load float, ptr %124, align 4, !tbaa !82
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %120, float noundef %125)
  %126 = load ptr, ptr %1, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiContext, ptr %126, i32 0, i32 10
  %128 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %127, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %128, ptr align 4 %2, i64 16, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #11
  %129 = load ptr, ptr %1, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 6
  %131 = getelementptr inbounds %struct.ImGuiStyle, ptr %130, i32 0, i32 33
  %132 = load float, ptr %131, align 4, !tbaa !85
  %133 = load ptr, ptr %1, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGuiContext, ptr %133, i32 0, i32 10
  %135 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %134, i32 0, i32 3
  store float %132, ptr %135, align 4, !tbaa !86
  %136 = load ptr, ptr %1, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiContext, ptr %136, i32 0, i32 10
  %138 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %137, i32 0, i32 5
  store i32 0, ptr %138, align 8, !tbaa !87
  %139 = load ptr, ptr %1, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiContext, ptr %139, i32 0, i32 6
  %141 = getelementptr inbounds %struct.ImGuiStyle, ptr %140, i32 0, i32 31
  %142 = load i8, ptr %141, align 8, !tbaa !88, !range !64, !noundef !65
  %143 = trunc i8 %142 to i1
  br i1 %143, label %144, label %150

144:                                              ; preds = %115
  %145 = load ptr, ptr %1, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiContext, ptr %145, i32 0, i32 10
  %147 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %146, i32 0, i32 5
  %148 = load i32, ptr %147, align 8, !tbaa !87
  %149 = or i32 %148, 1
  store i32 %149, ptr %147, align 8, !tbaa !87
  br label %150

150:                                              ; preds = %144, %115
  %151 = load ptr, ptr %1, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiContext, ptr %151, i32 0, i32 6
  %153 = getelementptr inbounds %struct.ImGuiStyle, ptr %152, i32 0, i32 32
  %154 = load i8, ptr %153, align 1, !tbaa !89, !range !64, !noundef !65
  %155 = trunc i8 %154 to i1
  br i1 %155, label %156, label %162

156:                                              ; preds = %150
  %157 = load ptr, ptr %1, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiContext, ptr %157, i32 0, i32 10
  %159 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %158, i32 0, i32 5
  %160 = load i32, ptr %159, align 8, !tbaa !87
  %161 = or i32 %160, 2
  store i32 %161, ptr %159, align 8, !tbaa !87
  br label %162

162:                                              ; preds = %156, %150
  %163 = load ptr, ptr %1, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.ImGuiContext, ptr %163, i32 0, i32 5
  %165 = getelementptr inbounds %struct.ImGuiIO, ptr %164, i32 0, i32 1
  %166 = load i32, ptr %165, align 4, !tbaa !90
  %167 = and i32 %166, 8
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %175

169:                                              ; preds = %162
  %170 = load ptr, ptr %1, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.ImGuiContext, ptr %170, i32 0, i32 10
  %172 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %171, i32 0, i32 5
  %173 = load i32, ptr %172, align 8, !tbaa !87
  %174 = or i32 %173, 4
  store i32 %174, ptr %172, align 8, !tbaa !87
  br label %175

175:                                              ; preds = %169, %162
  %176 = load ptr, ptr %1, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiContext, ptr %176, i32 0, i32 122
  call void @_ZN10ImDrawList5ClearEv(ptr noundef nonnull align 8 dereferenceable(168) %177)
  %178 = load ptr, ptr %1, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiContext, ptr %178, i32 0, i32 122
  %180 = load ptr, ptr %1, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.ImGuiContext, ptr %180, i32 0, i32 5
  %182 = getelementptr inbounds %struct.ImGuiIO, ptr %181, i32 0, i32 14
  %183 = load ptr, ptr %182, align 8, !tbaa !75
  %184 = getelementptr inbounds %struct.ImFontAtlas, ptr %183, i32 0, i32 3
  %185 = load ptr, ptr %184, align 8, !tbaa !91
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(168) %179, ptr noundef %185)
  %186 = load ptr, ptr %1, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiContext, ptr %186, i32 0, i32 122
  call void @_ZN10ImDrawList22PushClipRectFullScreenEv(ptr noundef nonnull align 8 dereferenceable(168) %187)
  %188 = load ptr, ptr %1, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.ImGuiContext, ptr %188, i32 0, i32 123
  call void @_ZN10ImDrawList5ClearEv(ptr noundef nonnull align 8 dereferenceable(168) %189)
  %190 = load ptr, ptr %1, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiContext, ptr %190, i32 0, i32 123
  %192 = load ptr, ptr %1, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.ImGuiContext, ptr %192, i32 0, i32 5
  %194 = getelementptr inbounds %struct.ImGuiIO, ptr %193, i32 0, i32 14
  %195 = load ptr, ptr %194, align 8, !tbaa !75
  %196 = getelementptr inbounds %struct.ImFontAtlas, ptr %195, i32 0, i32 3
  %197 = load ptr, ptr %196, align 8, !tbaa !91
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(168) %191, ptr noundef %197)
  %198 = load ptr, ptr %1, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiContext, ptr %198, i32 0, i32 123
  call void @_ZN10ImDrawList22PushClipRectFullScreenEv(ptr noundef nonnull align 8 dereferenceable(168) %199)
  %200 = load ptr, ptr %1, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ImGuiContext, ptr %200, i32 0, i32 118
  call void @_ZN10ImDrawData5ClearEv(ptr noundef nonnull align 8 dereferenceable(52) %201)
  %202 = load ptr, ptr %1, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGuiContext, ptr %202, i32 0, i32 125
  %204 = load i8, ptr %203, align 4, !tbaa !92, !range !64, !noundef !65
  %205 = trunc i8 %204 to i1
  br i1 %205, label %206, label %220

206:                                              ; preds = %175
  %207 = load ptr, ptr %1, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImGuiContext, ptr %207, i32 0, i32 132
  %209 = getelementptr inbounds %struct.ImGuiPayload, ptr %208, i32 0, i32 2
  %210 = load i32, ptr %209, align 4, !tbaa !93
  %211 = load ptr, ptr %1, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.ImGuiContext, ptr %211, i32 0, i32 36
  %213 = load i32, ptr %212, align 8, !tbaa !94
  %214 = icmp eq i32 %210, %213
  br i1 %214, label %215, label %220

215:                                              ; preds = %206
  %216 = load ptr, ptr %1, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImGuiContext, ptr %216, i32 0, i32 132
  %218 = getelementptr inbounds %struct.ImGuiPayload, ptr %217, i32 0, i32 2
  %219 = load i32, ptr %218, align 4, !tbaa !93
  call void @_ZN5ImGui11KeepAliveIDEj(i32 noundef %219)
  br label %220

220:                                              ; preds = %215, %206, %175
  %221 = load ptr, ptr %1, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiContext, ptr %221, i32 0, i32 33
  %223 = load i32, ptr %222, align 4, !tbaa !95
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %228, label %225

225:                                              ; preds = %220
  %226 = load ptr, ptr %1, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.ImGuiContext, ptr %226, i32 0, i32 34
  store float 0.000000e+00, ptr %227, align 8, !tbaa !96
  br label %228

228:                                              ; preds = %225, %220
  %229 = load ptr, ptr %1, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiContext, ptr %229, i32 0, i32 33
  %231 = load i32, ptr %230, align 4, !tbaa !95
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %246

233:                                              ; preds = %228
  %234 = load ptr, ptr %1, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.ImGuiContext, ptr %234, i32 0, i32 30
  %236 = load i32, ptr %235, align 4, !tbaa !97
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %249

238:                                              ; preds = %233
  %239 = load ptr, ptr %1, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.ImGuiContext, ptr %239, i32 0, i32 36
  %241 = load i32, ptr %240, align 8, !tbaa !94
  %242 = load ptr, ptr %1, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiContext, ptr %242, i32 0, i32 30
  %244 = load i32, ptr %243, align 4, !tbaa !97
  %245 = icmp eq i32 %241, %244
  br i1 %245, label %246, label %249

246:                                              ; preds = %238, %228
  %247 = load ptr, ptr %1, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiContext, ptr %247, i32 0, i32 35
  store float 0.000000e+00, ptr %248, align 4, !tbaa !98
  br label %249

249:                                              ; preds = %246, %238, %233
  %250 = load ptr, ptr %1, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiContext, ptr %250, i32 0, i32 30
  %252 = load i32, ptr %251, align 4, !tbaa !97
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %254, label %263

254:                                              ; preds = %249
  %255 = load ptr, ptr %1, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImGuiContext, ptr %255, i32 0, i32 5
  %257 = getelementptr inbounds %struct.ImGuiIO, ptr %256, i32 0, i32 3
  %258 = load float, ptr %257, align 8, !tbaa !68
  %259 = load ptr, ptr %1, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiContext, ptr %259, i32 0, i32 34
  %261 = load float, ptr %260, align 8, !tbaa !96
  %262 = fadd float %261, %258
  store float %262, ptr %260, align 8, !tbaa !96
  br label %263

263:                                              ; preds = %254, %249
  %264 = load ptr, ptr %1, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiContext, ptr %264, i32 0, i32 30
  %266 = load i32, ptr %265, align 4, !tbaa !97
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %285

268:                                              ; preds = %263
  %269 = load ptr, ptr %1, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.ImGuiContext, ptr %269, i32 0, i32 36
  %271 = load i32, ptr %270, align 8, !tbaa !94
  %272 = load ptr, ptr %1, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiContext, ptr %272, i32 0, i32 30
  %274 = load i32, ptr %273, align 4, !tbaa !97
  %275 = icmp ne i32 %271, %274
  br i1 %275, label %276, label %285

276:                                              ; preds = %268
  %277 = load ptr, ptr %1, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 5
  %279 = getelementptr inbounds %struct.ImGuiIO, ptr %278, i32 0, i32 3
  %280 = load float, ptr %279, align 8, !tbaa !68
  %281 = load ptr, ptr %1, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiContext, ptr %281, i32 0, i32 35
  %283 = load float, ptr %282, align 4, !tbaa !98
  %284 = fadd float %283, %280
  store float %284, ptr %282, align 4, !tbaa !98
  br label %285

285:                                              ; preds = %276, %268, %263
  %286 = load ptr, ptr %1, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.ImGuiContext, ptr %286, i32 0, i32 30
  %288 = load i32, ptr %287, align 4, !tbaa !97
  %289 = load ptr, ptr %1, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.ImGuiContext, ptr %289, i32 0, i32 33
  store i32 %288, ptr %290, align 4, !tbaa !95
  %291 = load ptr, ptr %1, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiContext, ptr %291, i32 0, i32 30
  store i32 0, ptr %292, align 4, !tbaa !97
  %293 = load ptr, ptr %1, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImGuiContext, ptr %293, i32 0, i32 31
  store i8 0, ptr %294, align 8, !tbaa !99
  %295 = load ptr, ptr %1, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGuiContext, ptr %295, i32 0, i32 37
  %297 = load i32, ptr %296, align 4, !tbaa !100
  %298 = load ptr, ptr %1, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.ImGuiContext, ptr %298, i32 0, i32 36
  %300 = load i32, ptr %299, align 8, !tbaa !94
  %301 = icmp ne i32 %297, %300
  br i1 %301, label %302, label %316

302:                                              ; preds = %285
  %303 = load ptr, ptr %1, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.ImGuiContext, ptr %303, i32 0, i32 52
  %305 = load i32, ptr %304, align 4, !tbaa !101
  %306 = load ptr, ptr %1, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.ImGuiContext, ptr %306, i32 0, i32 36
  %308 = load i32, ptr %307, align 8, !tbaa !94
  %309 = icmp eq i32 %305, %308
  br i1 %309, label %310, label %316

310:                                              ; preds = %302
  %311 = load ptr, ptr %1, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiContext, ptr %311, i32 0, i32 36
  %313 = load i32, ptr %312, align 8, !tbaa !94
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %316

315:                                              ; preds = %310
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %316

316:                                              ; preds = %315, %310, %302, %285
  %317 = load ptr, ptr %1, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.ImGuiContext, ptr %317, i32 0, i32 36
  %319 = load i32, ptr %318, align 8, !tbaa !94
  %320 = icmp ne i32 %319, 0
  br i1 %320, label %321, label %330

321:                                              ; preds = %316
  %322 = load ptr, ptr %1, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.ImGuiContext, ptr %322, i32 0, i32 5
  %324 = getelementptr inbounds %struct.ImGuiIO, ptr %323, i32 0, i32 3
  %325 = load float, ptr %324, align 8, !tbaa !68
  %326 = load ptr, ptr %1, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 38
  %328 = load float, ptr %327, align 8, !tbaa !102
  %329 = fadd float %328, %325
  store float %329, ptr %327, align 8, !tbaa !102
  br label %330

330:                                              ; preds = %321, %316
  %331 = load ptr, ptr %1, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.ImGuiContext, ptr %331, i32 0, i32 5
  %333 = getelementptr inbounds %struct.ImGuiIO, ptr %332, i32 0, i32 3
  %334 = load float, ptr %333, align 8, !tbaa !68
  %335 = load ptr, ptr %1, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.ImGuiContext, ptr %335, i32 0, i32 58
  %337 = load float, ptr %336, align 4, !tbaa !103
  %338 = fadd float %337, %334
  store float %338, ptr %336, align 4, !tbaa !103
  %339 = load ptr, ptr %1, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.ImGuiContext, ptr %339, i32 0, i32 36
  %341 = load i32, ptr %340, align 8, !tbaa !94
  %342 = load ptr, ptr %1, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImGuiContext, ptr %342, i32 0, i32 52
  store i32 %341, ptr %343, align 4, !tbaa !101
  %344 = load ptr, ptr %1, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiContext, ptr %344, i32 0, i32 50
  %346 = load ptr, ptr %345, align 8, !tbaa !104
  %347 = load ptr, ptr %1, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ImGuiContext, ptr %347, i32 0, i32 56
  store ptr %346, ptr %348, align 8, !tbaa !105
  %349 = load ptr, ptr %1, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.ImGuiContext, ptr %349, i32 0, i32 42
  %351 = load i8, ptr %350, align 1, !tbaa !106, !range !64, !noundef !65
  %352 = trunc i8 %351 to i1
  %353 = load ptr, ptr %1, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.ImGuiContext, ptr %353, i32 0, i32 54
  %355 = zext i1 %352 to i8
  store i8 %355, ptr %354, align 1, !tbaa !107
  %356 = load ptr, ptr %1, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.ImGuiContext, ptr %356, i32 0, i32 37
  store i32 0, ptr %357, align 4, !tbaa !100
  %358 = load ptr, ptr %1, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiContext, ptr %358, i32 0, i32 43
  store i8 0, ptr %359, align 8, !tbaa !108
  %360 = load ptr, ptr %1, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiContext, ptr %360, i32 0, i32 53
  store i8 0, ptr %361, align 8, !tbaa !109
  %362 = load ptr, ptr %1, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.ImGuiContext, ptr %362, i32 0, i32 39
  store i8 0, ptr %363, align 4, !tbaa !110
  %364 = load ptr, ptr %1, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.ImGuiContext, ptr %364, i32 0, i32 149
  %366 = load i32, ptr %365, align 8, !tbaa !111
  %367 = icmp ne i32 %366, 0
  br i1 %367, label %368, label %379

368:                                              ; preds = %330
  %369 = load ptr, ptr %1, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 36
  %371 = load i32, ptr %370, align 8, !tbaa !94
  %372 = load ptr, ptr %1, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.ImGuiContext, ptr %372, i32 0, i32 149
  %374 = load i32, ptr %373, align 8, !tbaa !111
  %375 = icmp ne i32 %371, %374
  br i1 %375, label %376, label %379

376:                                              ; preds = %368
  %377 = load ptr, ptr %1, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiContext, ptr %377, i32 0, i32 149
  store i32 0, ptr %378, align 8, !tbaa !111
  br label %379

379:                                              ; preds = %376, %368, %330
  %380 = load ptr, ptr %1, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiContext, ptr %380, i32 0, i32 36
  %382 = load i32, ptr %381, align 8, !tbaa !94
  %383 = icmp eq i32 %382, 0
  br i1 %383, label %384, label %391

384:                                              ; preds = %379
  %385 = load ptr, ptr %1, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.ImGuiContext, ptr %385, i32 0, i32 46
  store i32 0, ptr %386, align 8, !tbaa !112
  %387 = load ptr, ptr %1, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.ImGuiContext, ptr %387, i32 0, i32 45
  store i32 0, ptr %388, align 4, !tbaa !113
  %389 = load ptr, ptr %1, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.ImGuiContext, ptr %389, i32 0, i32 48
  store i64 0, ptr %390, align 8, !tbaa !114
  br label %391

391:                                              ; preds = %384, %379
  %392 = load ptr, ptr %1, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiContext, ptr %392, i32 0, i32 137
  %394 = load i32, ptr %393, align 4, !tbaa !115
  %395 = load ptr, ptr %1, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.ImGuiContext, ptr %395, i32 0, i32 138
  store i32 %394, ptr %396, align 8, !tbaa !116
  %397 = load ptr, ptr %1, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiContext, ptr %397, i32 0, i32 137
  store i32 0, ptr %398, align 4, !tbaa !115
  %399 = load ptr, ptr %1, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.ImGuiContext, ptr %399, i32 0, i32 136
  store float 0x47EFFFFFE0000000, ptr %400, align 8, !tbaa !117
  %401 = load ptr, ptr %1, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.ImGuiContext, ptr %401, i32 0, i32 126
  store i8 0, ptr %402, align 1, !tbaa !118
  %403 = load ptr, ptr %1, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiContext, ptr %403, i32 0, i32 5
  %405 = getelementptr inbounds %struct.ImGuiIO, ptr %404, i32 0, i32 73
  %406 = getelementptr inbounds [512 x float], ptr %405, i64 0, i64 0
  %407 = load ptr, ptr %1, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiContext, ptr %407, i32 0, i32 5
  %409 = getelementptr inbounds %struct.ImGuiIO, ptr %408, i32 0, i32 72
  %410 = getelementptr inbounds [512 x float], ptr %409, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %406, ptr align 8 %410, i64 2048, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #11
  store i32 0, ptr %3, align 4, !tbaa !119
  br label %411

411:                                              ; preds = %458, %391
  %412 = load i32, ptr %3, align 4, !tbaa !119
  %413 = icmp slt i32 %412, 512
  br i1 %413, label %415, label %414

414:                                              ; preds = %411
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #11
  br label %461

415:                                              ; preds = %411
  %416 = load ptr, ptr %1, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.ImGuiContext, ptr %416, i32 0, i32 5
  %418 = getelementptr inbounds %struct.ImGuiIO, ptr %417, i32 0, i32 44
  %419 = load i32, ptr %3, align 4, !tbaa !119
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds [512 x i8], ptr %418, i64 0, i64 %420
  %422 = load i8, ptr %421, align 1, !tbaa !120, !range !64, !noundef !65
  %423 = trunc i8 %422 to i1
  br i1 %423, label %424, label %449

424:                                              ; preds = %415
  %425 = load ptr, ptr %1, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.ImGuiContext, ptr %425, i32 0, i32 5
  %427 = getelementptr inbounds %struct.ImGuiIO, ptr %426, i32 0, i32 72
  %428 = load i32, ptr %3, align 4, !tbaa !119
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds [512 x float], ptr %427, i64 0, i64 %429
  %431 = load float, ptr %430, align 4, !tbaa !84
  %432 = fcmp olt float %431, 0.000000e+00
  br i1 %432, label %433, label %434

433:                                              ; preds = %424
  br label %447

434:                                              ; preds = %424
  %435 = load ptr, ptr %1, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.ImGuiContext, ptr %435, i32 0, i32 5
  %437 = getelementptr inbounds %struct.ImGuiIO, ptr %436, i32 0, i32 72
  %438 = load i32, ptr %3, align 4, !tbaa !119
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds [512 x float], ptr %437, i64 0, i64 %439
  %441 = load float, ptr %440, align 4, !tbaa !84
  %442 = load ptr, ptr %1, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.ImGuiContext, ptr %442, i32 0, i32 5
  %444 = getelementptr inbounds %struct.ImGuiIO, ptr %443, i32 0, i32 3
  %445 = load float, ptr %444, align 8, !tbaa !68
  %446 = fadd float %441, %445
  br label %447

447:                                              ; preds = %434, %433
  %448 = phi float [ 0.000000e+00, %433 ], [ %446, %434 ]
  br label %450

449:                                              ; preds = %415
  br label %450

450:                                              ; preds = %449, %447
  %451 = phi float [ %448, %447 ], [ -1.000000e+00, %449 ]
  %452 = load ptr, ptr %1, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiContext, ptr %452, i32 0, i32 5
  %454 = getelementptr inbounds %struct.ImGuiIO, ptr %453, i32 0, i32 72
  %455 = load i32, ptr %3, align 4, !tbaa !119
  %456 = sext i32 %455 to i64
  %457 = getelementptr inbounds [512 x float], ptr %454, i64 0, i64 %456
  store float %451, ptr %457, align 4, !tbaa !84
  br label %458

458:                                              ; preds = %450
  %459 = load i32, ptr %3, align 4, !tbaa !119
  %460 = add nsw i32 %459, 1
  store i32 %460, ptr %3, align 4, !tbaa !119
  br label %411, !llvm.loop !121

461:                                              ; preds = %414
  call void @_ZN5ImGuiL9NavUpdateEv()
  call void @_ZN5ImGuiL17UpdateMouseInputsEv()
  %462 = load ptr, ptr %1, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.ImGuiContext, ptr %462, i32 0, i32 5
  %464 = getelementptr inbounds %struct.ImGuiIO, ptr %463, i32 0, i32 3
  %465 = load float, ptr %464, align 8, !tbaa !68
  %466 = load ptr, ptr %1, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.ImGuiContext, ptr %466, i32 0, i32 186
  %468 = load ptr, ptr %1, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.ImGuiContext, ptr %468, i32 0, i32 187
  %470 = load i32, ptr %469, align 4, !tbaa !123
  %471 = sext i32 %470 to i64
  %472 = getelementptr inbounds [120 x float], ptr %467, i64 0, i64 %471
  %473 = load float, ptr %472, align 4, !tbaa !84
  %474 = fsub float %465, %473
  %475 = load ptr, ptr %1, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.ImGuiContext, ptr %475, i32 0, i32 188
  %477 = load float, ptr %476, align 8, !tbaa !124
  %478 = fadd float %477, %474
  store float %478, ptr %476, align 8, !tbaa !124
  %479 = load ptr, ptr %1, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.ImGuiContext, ptr %479, i32 0, i32 5
  %481 = getelementptr inbounds %struct.ImGuiIO, ptr %480, i32 0, i32 3
  %482 = load float, ptr %481, align 8, !tbaa !68
  %483 = load ptr, ptr %1, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.ImGuiContext, ptr %483, i32 0, i32 186
  %485 = load ptr, ptr %1, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.ImGuiContext, ptr %485, i32 0, i32 187
  %487 = load i32, ptr %486, align 4, !tbaa !123
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds [120 x float], ptr %484, i64 0, i64 %488
  store float %482, ptr %489, align 4, !tbaa !84
  %490 = load ptr, ptr %1, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.ImGuiContext, ptr %490, i32 0, i32 187
  %492 = load i32, ptr %491, align 4, !tbaa !123
  %493 = add nsw i32 %492, 1
  %494 = srem i32 %493, 120
  %495 = load ptr, ptr %1, align 8, !tbaa !5
  %496 = getelementptr inbounds %struct.ImGuiContext, ptr %495, i32 0, i32 187
  store i32 %494, ptr %496, align 4, !tbaa !123
  %497 = load ptr, ptr %1, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.ImGuiContext, ptr %497, i32 0, i32 188
  %499 = load float, ptr %498, align 8, !tbaa !124
  %500 = fcmp ogt float %499, 0.000000e+00
  br i1 %500, label %501, label %507

501:                                              ; preds = %461
  %502 = load ptr, ptr %1, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.ImGuiContext, ptr %502, i32 0, i32 188
  %504 = load float, ptr %503, align 8, !tbaa !124
  %505 = fdiv float %504, 1.200000e+02
  %506 = fdiv float 1.000000e+00, %505
  br label %508

507:                                              ; preds = %461
  br label %508

508:                                              ; preds = %507, %501
  %509 = phi float [ %506, %501 ], [ 0x47EFFFFFE0000000, %507 ]
  %510 = load ptr, ptr %1, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.ImGuiContext, ptr %510, i32 0, i32 5
  %512 = getelementptr inbounds %struct.ImGuiIO, ptr %511, i32 0, i32 53
  store float %509, ptr %512, align 8, !tbaa !125
  call void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv()
  call void @_ZN5ImGui31UpdateMouseMovingWindowNewFrameEv()
  %513 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %514 = icmp ne ptr %513, null
  br i1 %514, label %525, label %515

515:                                              ; preds = %508
  %516 = load ptr, ptr %1, align 8, !tbaa !5
  %517 = getelementptr inbounds %struct.ImGuiContext, ptr %516, i32 0, i32 80
  %518 = load ptr, ptr %517, align 8, !tbaa !126
  %519 = icmp ne ptr %518, null
  br i1 %519, label %520, label %537

520:                                              ; preds = %515
  %521 = load ptr, ptr %1, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.ImGuiContext, ptr %521, i32 0, i32 84
  %523 = load float, ptr %522, align 4, !tbaa !127
  %524 = fcmp ogt float %523, 0.000000e+00
  br i1 %524, label %525, label %537

525:                                              ; preds = %520, %508
  %526 = load ptr, ptr %1, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.ImGuiContext, ptr %526, i32 0, i32 120
  %528 = load float, ptr %527, align 8, !tbaa !128
  %529 = load ptr, ptr %1, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.ImGuiContext, ptr %529, i32 0, i32 5
  %531 = getelementptr inbounds %struct.ImGuiIO, ptr %530, i32 0, i32 3
  %532 = load float, ptr %531, align 8, !tbaa !68
  %533 = call float @llvm.fmuladd.f32(float %532, float 6.000000e+00, float %528)
  %534 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %533, float noundef 1.000000e+00)
  %535 = load ptr, ptr %1, align 8, !tbaa !5
  %536 = getelementptr inbounds %struct.ImGuiContext, ptr %535, i32 0, i32 120
  store float %534, ptr %536, align 8, !tbaa !128
  br label %550

537:                                              ; preds = %520, %515
  %538 = load ptr, ptr %1, align 8, !tbaa !5
  %539 = getelementptr inbounds %struct.ImGuiContext, ptr %538, i32 0, i32 120
  %540 = load float, ptr %539, align 8, !tbaa !128
  %541 = load ptr, ptr %1, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.ImGuiContext, ptr %541, i32 0, i32 5
  %543 = getelementptr inbounds %struct.ImGuiIO, ptr %542, i32 0, i32 3
  %544 = load float, ptr %543, align 8, !tbaa !68
  %545 = fneg float %544
  %546 = call float @llvm.fmuladd.f32(float %545, float 1.000000e+01, float %540)
  %547 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %546, float noundef 0.000000e+00)
  %548 = load ptr, ptr %1, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.ImGuiContext, ptr %548, i32 0, i32 120
  store float %547, ptr %549, align 8, !tbaa !128
  br label %550

550:                                              ; preds = %537, %525
  %551 = load ptr, ptr %1, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.ImGuiContext, ptr %551, i32 0, i32 124
  store i32 0, ptr %552, align 8, !tbaa !129
  %553 = load ptr, ptr %1, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.ImGuiContext, ptr %553, i32 0, i32 191
  store i32 -1, ptr %554, align 4, !tbaa !130
  %555 = load ptr, ptr %1, align 8, !tbaa !5
  %556 = getelementptr inbounds %struct.ImGuiContext, ptr %555, i32 0, i32 190
  store i32 -1, ptr %556, align 8, !tbaa !131
  %557 = load ptr, ptr %1, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.ImGuiContext, ptr %557, i32 0, i32 189
  store i32 -1, ptr %558, align 4, !tbaa !132
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %559 = load ptr, ptr %1, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.ImGuiContext, ptr %559, i32 0, i32 163
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %560, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !133
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #11
  call void @_ZN5ImGuiL16UpdateMouseWheelEv()
  %561 = load ptr, ptr %1, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.ImGuiContext, ptr %561, i32 0, i32 66
  %563 = load ptr, ptr %562, align 8, !tbaa !134
  %564 = icmp ne ptr %563, null
  br i1 %564, label %565, label %588

565:                                              ; preds = %550
  %566 = load ptr, ptr %1, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.ImGuiContext, ptr %566, i32 0, i32 66
  %568 = load ptr, ptr %567, align 8, !tbaa !134
  %569 = getelementptr inbounds %struct.ImGuiWindow, ptr %568, i32 0, i32 21
  %570 = load i8, ptr %569, align 2, !tbaa !135, !range !64, !noundef !65
  %571 = trunc i8 %570 to i1
  br i1 %571, label %572, label %588

572:                                              ; preds = %565
  %573 = load ptr, ptr %1, align 8, !tbaa !5
  %574 = getelementptr inbounds %struct.ImGuiContext, ptr %573, i32 0, i32 66
  %575 = load ptr, ptr %574, align 8, !tbaa !134
  %576 = getelementptr inbounds %struct.ImGuiWindow, ptr %575, i32 0, i32 2
  %577 = load i32, ptr %576, align 4, !tbaa !144
  %578 = and i32 %577, 262144
  %579 = icmp ne i32 %578, 0
  br i1 %579, label %588, label %580

580:                                              ; preds = %572
  %581 = load ptr, ptr %1, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.ImGuiContext, ptr %581, i32 0, i32 5
  %583 = getelementptr inbounds %struct.ImGuiIO, ptr %582, i32 0, i32 40
  %584 = load i8, ptr %583, align 8, !tbaa !145, !range !64, !noundef !65
  %585 = trunc i8 %584 to i1
  br i1 %585, label %588, label %586

586:                                              ; preds = %580
  %587 = call noundef zeroext i1 @_ZN5ImGui15IsKeyPressedMapEib(i32 noundef 0, i1 noundef zeroext true)
  br label %588

588:                                              ; preds = %586, %580, %572, %565, %550
  %589 = phi i1 [ false, %580 ], [ false, %572 ], [ false, %565 ], [ false, %550 ], [ %587, %586 ]
  %590 = load ptr, ptr %1, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.ImGuiContext, ptr %590, i32 0, i32 116
  %592 = zext i1 %589 to i8
  store i8 %592, ptr %591, align 8, !tbaa !146
  %593 = load ptr, ptr %1, align 8, !tbaa !5
  %594 = getelementptr inbounds %struct.ImGuiContext, ptr %593, i32 0, i32 36
  %595 = load i32, ptr %594, align 8, !tbaa !94
  %596 = icmp eq i32 %595, 0
  br i1 %596, label %597, label %645

597:                                              ; preds = %588
  %598 = load ptr, ptr %1, align 8, !tbaa !5
  %599 = getelementptr inbounds %struct.ImGuiContext, ptr %598, i32 0, i32 116
  %600 = load i8, ptr %599, align 8, !tbaa !146, !range !64, !noundef !65
  %601 = trunc i8 %600 to i1
  br i1 %601, label %602, label %645

602:                                              ; preds = %597
  %603 = load ptr, ptr %1, align 8, !tbaa !5
  %604 = getelementptr inbounds %struct.ImGuiContext, ptr %603, i32 0, i32 66
  %605 = load ptr, ptr %604, align 8, !tbaa !134
  %606 = load ptr, ptr %1, align 8, !tbaa !5
  %607 = getelementptr inbounds %struct.ImGuiContext, ptr %606, i32 0, i32 111
  store ptr %605, ptr %607, align 8, !tbaa !147
  %608 = load ptr, ptr %1, align 8, !tbaa !5
  %609 = getelementptr inbounds %struct.ImGuiContext, ptr %608, i32 0, i32 114
  store i32 2147483647, ptr %609, align 8, !tbaa !148
  %610 = load ptr, ptr %1, align 8, !tbaa !5
  %611 = getelementptr inbounds %struct.ImGuiContext, ptr %610, i32 0, i32 67
  %612 = load i32, ptr %611, align 8, !tbaa !149
  %613 = icmp ne i32 %612, 0
  br i1 %613, label %614, label %634

614:                                              ; preds = %602
  %615 = load ptr, ptr %1, align 8, !tbaa !5
  %616 = getelementptr inbounds %struct.ImGuiContext, ptr %615, i32 0, i32 88
  %617 = load i32, ptr %616, align 8, !tbaa !150
  %618 = icmp ne i32 %617, 2147483647
  br i1 %618, label %619, label %634

619:                                              ; preds = %614
  %620 = load ptr, ptr %1, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.ImGuiContext, ptr %620, i32 0, i32 88
  %622 = load i32, ptr %621, align 8, !tbaa !150
  %623 = add nsw i32 %622, 1
  %624 = load ptr, ptr %1, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.ImGuiContext, ptr %624, i32 0, i32 5
  %626 = getelementptr inbounds %struct.ImGuiIO, ptr %625, i32 0, i32 41
  %627 = load i8, ptr %626, align 1, !tbaa !151, !range !64, !noundef !65
  %628 = trunc i8 %627 to i1
  %629 = zext i1 %628 to i64
  %630 = select i1 %628, i32 -1, i32 1
  %631 = add nsw i32 %623, %630
  %632 = load ptr, ptr %1, align 8, !tbaa !5
  %633 = getelementptr inbounds %struct.ImGuiContext, ptr %632, i32 0, i32 115
  store i32 %631, ptr %633, align 4, !tbaa !152
  br label %644

634:                                              ; preds = %614, %602
  %635 = load ptr, ptr %1, align 8, !tbaa !5
  %636 = getelementptr inbounds %struct.ImGuiContext, ptr %635, i32 0, i32 5
  %637 = getelementptr inbounds %struct.ImGuiIO, ptr %636, i32 0, i32 41
  %638 = load i8, ptr %637, align 1, !tbaa !151, !range !64, !noundef !65
  %639 = trunc i8 %638 to i1
  %640 = zext i1 %639 to i64
  %641 = select i1 %639, i32 -1, i32 0
  %642 = load ptr, ptr %1, align 8, !tbaa !5
  %643 = getelementptr inbounds %struct.ImGuiContext, ptr %642, i32 0, i32 115
  store i32 %641, ptr %643, align 4, !tbaa !152
  br label %644

644:                                              ; preds = %634, %619
  br label %645

645:                                              ; preds = %644, %597, %588
  %646 = load ptr, ptr %1, align 8, !tbaa !5
  %647 = getelementptr inbounds %struct.ImGuiContext, ptr %646, i32 0, i32 110
  store ptr null, ptr %647, align 8, !tbaa !153
  %648 = load ptr, ptr %1, align 8, !tbaa !5
  %649 = getelementptr inbounds %struct.ImGuiContext, ptr %648, i32 0, i32 113
  store i32 2147483647, ptr %649, align 4, !tbaa !154
  %650 = load ptr, ptr %1, align 8, !tbaa !5
  %651 = getelementptr inbounds %struct.ImGuiContext, ptr %650, i32 0, i32 112
  store i32 2147483647, ptr %651, align 8, !tbaa !155
  %652 = load ptr, ptr %1, align 8, !tbaa !5
  %653 = getelementptr inbounds %struct.ImGuiContext, ptr %652, i32 0, i32 111
  %654 = load ptr, ptr %653, align 8, !tbaa !147
  %655 = icmp ne ptr %654, null
  br i1 %655, label %656, label %715

656:                                              ; preds = %645
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #11
  %657 = load ptr, ptr %1, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.ImGuiContext, ptr %657, i32 0, i32 111
  %659 = load ptr, ptr %658, align 8, !tbaa !147
  store ptr %659, ptr %5, align 8, !tbaa !5
  %660 = load ptr, ptr %5, align 8, !tbaa !5
  %661 = load ptr, ptr %1, align 8, !tbaa !5
  %662 = getelementptr inbounds %struct.ImGuiContext, ptr %661, i32 0, i32 110
  store ptr %660, ptr %662, align 8, !tbaa !153
  %663 = load ptr, ptr %1, align 8, !tbaa !5
  %664 = getelementptr inbounds %struct.ImGuiContext, ptr %663, i32 0, i32 114
  %665 = load i32, ptr %664, align 8, !tbaa !148
  %666 = icmp ne i32 %665, 2147483647
  br i1 %666, label %667, label %685

667:                                              ; preds = %656
  %668 = load ptr, ptr %5, align 8, !tbaa !5
  %669 = getelementptr inbounds %struct.ImGuiWindow, ptr %668, i32 0, i32 49
  %670 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %669, i32 0, i32 26
  %671 = load i32, ptr %670, align 8, !tbaa !156
  %672 = icmp ne i32 %671, -1
  br i1 %672, label %673, label %685

673:                                              ; preds = %667
  %674 = load ptr, ptr %1, align 8, !tbaa !5
  %675 = getelementptr inbounds %struct.ImGuiContext, ptr %674, i32 0, i32 114
  %676 = load i32, ptr %675, align 8, !tbaa !148
  %677 = load ptr, ptr %5, align 8, !tbaa !5
  %678 = getelementptr inbounds %struct.ImGuiWindow, ptr %677, i32 0, i32 49
  %679 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %678, i32 0, i32 26
  %680 = load i32, ptr %679, align 8, !tbaa !156
  %681 = add nsw i32 %680, 1
  %682 = call noundef i32 @_ZL13ImModPositiveii(i32 noundef %676, i32 noundef %681)
  %683 = load ptr, ptr %1, align 8, !tbaa !5
  %684 = getelementptr inbounds %struct.ImGuiContext, ptr %683, i32 0, i32 112
  store i32 %682, ptr %684, align 8, !tbaa !155
  br label %685

685:                                              ; preds = %673, %667, %656
  %686 = load ptr, ptr %1, align 8, !tbaa !5
  %687 = getelementptr inbounds %struct.ImGuiContext, ptr %686, i32 0, i32 115
  %688 = load i32, ptr %687, align 4, !tbaa !152
  %689 = icmp ne i32 %688, 2147483647
  br i1 %689, label %690, label %708

690:                                              ; preds = %685
  %691 = load ptr, ptr %5, align 8, !tbaa !5
  %692 = getelementptr inbounds %struct.ImGuiWindow, ptr %691, i32 0, i32 49
  %693 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %692, i32 0, i32 27
  %694 = load i32, ptr %693, align 4, !tbaa !157
  %695 = icmp ne i32 %694, -1
  br i1 %695, label %696, label %708

696:                                              ; preds = %690
  %697 = load ptr, ptr %1, align 8, !tbaa !5
  %698 = getelementptr inbounds %struct.ImGuiContext, ptr %697, i32 0, i32 115
  %699 = load i32, ptr %698, align 4, !tbaa !152
  %700 = load ptr, ptr %5, align 8, !tbaa !5
  %701 = getelementptr inbounds %struct.ImGuiWindow, ptr %700, i32 0, i32 49
  %702 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %701, i32 0, i32 27
  %703 = load i32, ptr %702, align 4, !tbaa !157
  %704 = add nsw i32 %703, 1
  %705 = call noundef i32 @_ZL13ImModPositiveii(i32 noundef %699, i32 noundef %704)
  %706 = load ptr, ptr %1, align 8, !tbaa !5
  %707 = getelementptr inbounds %struct.ImGuiContext, ptr %706, i32 0, i32 113
  store i32 %705, ptr %707, align 4, !tbaa !154
  br label %708

708:                                              ; preds = %696, %690, %685
  %709 = load ptr, ptr %1, align 8, !tbaa !5
  %710 = getelementptr inbounds %struct.ImGuiContext, ptr %709, i32 0, i32 111
  store ptr null, ptr %710, align 8, !tbaa !147
  %711 = load ptr, ptr %1, align 8, !tbaa !5
  %712 = getelementptr inbounds %struct.ImGuiContext, ptr %711, i32 0, i32 115
  store i32 2147483647, ptr %712, align 4, !tbaa !152
  %713 = load ptr, ptr %1, align 8, !tbaa !5
  %714 = getelementptr inbounds %struct.ImGuiContext, ptr %713, i32 0, i32 114
  store i32 2147483647, ptr %714, align 8, !tbaa !148
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #11
  br label %715

715:                                              ; preds = %708, %645
  %716 = load ptr, ptr %1, align 8, !tbaa !5
  %717 = getelementptr inbounds %struct.ImGuiContext, ptr %716, i32 0, i32 88
  store i32 2147483647, ptr %717, align 8, !tbaa !150
  %718 = load ptr, ptr %1, align 8, !tbaa !5
  %719 = getelementptr inbounds %struct.ImGuiContext, ptr %718, i32 0, i32 17
  %720 = getelementptr inbounds %struct.ImVector.0, ptr %719, i32 0, i32 0
  %721 = load i32, ptr %720, align 8, !tbaa !158
  %722 = load ptr, ptr %1, align 8, !tbaa !5
  %723 = getelementptr inbounds %struct.ImGuiContext, ptr %722, i32 0, i32 16
  %724 = getelementptr inbounds %struct.ImVector.0, ptr %723, i32 0, i32 0
  %725 = load i32, ptr %724, align 8, !tbaa !159
  %726 = icmp eq i32 %721, %725
  br i1 %726, label %727, label %728

727:                                              ; preds = %715
  br label %730

728:                                              ; preds = %715
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.1, i32 noundef 3679, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

729:                                              ; No predecessors!
  br label %730

730:                                              ; preds = %729, %727
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #11
  %731 = load ptr, ptr %1, align 8, !tbaa !5
  %732 = getelementptr inbounds %struct.ImGuiContext, ptr %731, i32 0, i32 5
  %733 = getelementptr inbounds %struct.ImGuiIO, ptr %732, i32 0, i32 24
  %734 = load float, ptr %733, align 8, !tbaa !160
  %735 = fcmp oge float %734, 0.000000e+00
  br i1 %735, label %736, label %746

736:                                              ; preds = %730
  %737 = load ptr, ptr %1, align 8, !tbaa !5
  %738 = getelementptr inbounds %struct.ImGuiContext, ptr %737, i32 0, i32 11
  %739 = load double, ptr %738, align 8, !tbaa !70
  %740 = fptrunc double %739 to float
  %741 = load ptr, ptr %1, align 8, !tbaa !5
  %742 = getelementptr inbounds %struct.ImGuiContext, ptr %741, i32 0, i32 5
  %743 = getelementptr inbounds %struct.ImGuiIO, ptr %742, i32 0, i32 24
  %744 = load float, ptr %743, align 8, !tbaa !160
  %745 = fsub float %740, %744
  br label %747

746:                                              ; preds = %730
  br label %747

747:                                              ; preds = %746, %736
  %748 = phi float [ %745, %736 ], [ 0x47EFFFFFE0000000, %746 ]
  store float %748, ptr %6, align 4, !tbaa !84
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  store i32 0, ptr %7, align 4, !tbaa !119
  br label %749

749:                                              ; preds = %794, %747
  %750 = load i32, ptr %7, align 4, !tbaa !119
  %751 = load ptr, ptr %1, align 8, !tbaa !5
  %752 = getelementptr inbounds %struct.ImGuiContext, ptr %751, i32 0, i32 16
  %753 = getelementptr inbounds %struct.ImVector.0, ptr %752, i32 0, i32 0
  %754 = load i32, ptr %753, align 8, !tbaa !159
  %755 = icmp ne i32 %750, %754
  br i1 %755, label %757, label %756

756:                                              ; preds = %749
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  br label %797

757:                                              ; preds = %749
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %758 = load ptr, ptr %1, align 8, !tbaa !5
  %759 = getelementptr inbounds %struct.ImGuiContext, ptr %758, i32 0, i32 16
  %760 = load i32, ptr %7, align 4, !tbaa !119
  %761 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %759, i32 noundef %760)
  %762 = load ptr, ptr %761, align 8, !tbaa !5
  store ptr %762, ptr %8, align 8, !tbaa !5
  %763 = load ptr, ptr %8, align 8, !tbaa !5
  %764 = getelementptr inbounds %struct.ImGuiWindow, ptr %763, i32 0, i32 21
  %765 = load i8, ptr %764, align 2, !tbaa !135, !range !64, !noundef !65
  %766 = trunc i8 %765 to i1
  %767 = load ptr, ptr %8, align 8, !tbaa !5
  %768 = getelementptr inbounds %struct.ImGuiWindow, ptr %767, i32 0, i32 22
  %769 = zext i1 %766 to i8
  store i8 %769, ptr %768, align 1, !tbaa !161
  %770 = load ptr, ptr %8, align 8, !tbaa !5
  %771 = getelementptr inbounds %struct.ImGuiWindow, ptr %770, i32 0, i32 31
  store i16 0, ptr %771, align 8, !tbaa !162
  %772 = load ptr, ptr %8, align 8, !tbaa !5
  %773 = getelementptr inbounds %struct.ImGuiWindow, ptr %772, i32 0, i32 21
  store i8 0, ptr %773, align 2, !tbaa !135
  %774 = load ptr, ptr %8, align 8, !tbaa !5
  %775 = getelementptr inbounds %struct.ImGuiWindow, ptr %774, i32 0, i32 23
  store i8 0, ptr %775, align 8, !tbaa !163
  %776 = load ptr, ptr %8, align 8, !tbaa !5
  %777 = getelementptr inbounds %struct.ImGuiWindow, ptr %776, i32 0, i32 22
  %778 = load i8, ptr %777, align 1, !tbaa !161, !range !64, !noundef !65
  %779 = trunc i8 %778 to i1
  br i1 %779, label %793, label %780

780:                                              ; preds = %757
  %781 = load ptr, ptr %8, align 8, !tbaa !5
  %782 = getelementptr inbounds %struct.ImGuiWindow, ptr %781, i32 0, i32 73
  %783 = load i8, ptr %782, align 8, !tbaa !164, !range !64, !noundef !65
  %784 = trunc i8 %783 to i1
  br i1 %784, label %793, label %785

785:                                              ; preds = %780
  %786 = load ptr, ptr %8, align 8, !tbaa !5
  %787 = getelementptr inbounds %struct.ImGuiWindow, ptr %786, i32 0, i32 57
  %788 = load float, ptr %787, align 4, !tbaa !165
  %789 = load float, ptr %6, align 4, !tbaa !84
  %790 = fcmp olt float %788, %789
  br i1 %790, label %791, label %793

791:                                              ; preds = %785
  %792 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN5ImGui31GcCompactTransientWindowBuffersEP11ImGuiWindow(ptr noundef %792)
  br label %793

793:                                              ; preds = %791, %785, %780, %757
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  br label %794

794:                                              ; preds = %793
  %795 = load i32, ptr %7, align 4, !tbaa !119
  %796 = add nsw i32 %795, 1
  store i32 %796, ptr %7, align 4, !tbaa !119
  br label %749, !llvm.loop !166

797:                                              ; preds = %756
  %798 = load ptr, ptr %1, align 8, !tbaa !5
  %799 = getelementptr inbounds %struct.ImGuiContext, ptr %798, i32 0, i32 66
  %800 = load ptr, ptr %799, align 8, !tbaa !134
  %801 = icmp ne ptr %800, null
  br i1 %801, label %802, label %810

802:                                              ; preds = %797
  %803 = load ptr, ptr %1, align 8, !tbaa !5
  %804 = getelementptr inbounds %struct.ImGuiContext, ptr %803, i32 0, i32 66
  %805 = load ptr, ptr %804, align 8, !tbaa !134
  %806 = getelementptr inbounds %struct.ImGuiWindow, ptr %805, i32 0, i32 22
  %807 = load i8, ptr %806, align 1, !tbaa !161, !range !64, !noundef !65
  %808 = trunc i8 %807 to i1
  br i1 %808, label %810, label %809

809:                                              ; preds = %802
  call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_(ptr noundef null, ptr noundef null)
  br label %810

810:                                              ; preds = %809, %802, %797
  %811 = load ptr, ptr %1, align 8, !tbaa !5
  %812 = getelementptr inbounds %struct.ImGuiContext, ptr %811, i32 0, i32 19
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %812, i32 noundef 0)
  %813 = load ptr, ptr %1, align 8, !tbaa !5
  %814 = getelementptr inbounds %struct.ImGuiContext, ptr %813, i32 0, i32 65
  call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %814, i32 noundef 0)
  %815 = load ptr, ptr %1, align 8, !tbaa !5
  %816 = getelementptr inbounds %struct.ImGuiContext, ptr %815, i32 0, i32 66
  %817 = load ptr, ptr %816, align 8, !tbaa !134
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %817, i1 noundef zeroext false)
  call void @_ZN5ImGuiL25UpdateDebugToolItemPickerEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 4.000000e+02, float noundef 4.000000e+02)
  call void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  %818 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef @.str.29, ptr noundef null, i32 noundef 0)
  %819 = load ptr, ptr %1, align 8, !tbaa !5
  %820 = getelementptr inbounds %struct.ImGuiContext, ptr %819, i32 0, i32 2
  store i8 1, ptr %820, align 2, !tbaa !167
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #11
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20NewFrameSanityChecksv() #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui23LoadIniSettingsFromDiskEPKc(ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14SetCurrentFontEP6ImFont(ptr noundef) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(113)) #1 align 2

declare void @_ZN10ImDrawList5ClearEv(ptr noundef nonnull align 8 dereferenceable(168)) #8

declare void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) #8

declare void @_ZN10ImDrawList22PushClipRectFullScreenEv(ptr noundef nonnull align 8 dereferenceable(168)) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawData5ClearEv(ptr noundef nonnull align 8 dereferenceable(52)) #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL9NavUpdateEv() #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL17UpdateMouseInputsEv() #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL16UpdateMouseWheelEv() #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsKeyPressedMapEib(i32 noundef, i1 noundef zeroext) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL13ImModPositiveii(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_(ptr noundef, ptr noundef) #6

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL25UpdateDebugToolItemPickerEv() #6

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 12012}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !12, i64 8, !17, i64 5464, !6, i64 6408, !15, i64 6416, !15, i64 6420, !18, i64 6424, !20, i64 6568, !13, i64 6576, !13, i64 6580, !13, i64 6584, !21, i64 6592, !21, i64 6608, !21, i64 6624, !21, i64 6640, !22, i64 6656, !13, i64 6672, !6, i64 6680, !6, i64 6688, !6, i64 6696, !6, i64 6704, !6, i64 6712, !14, i64 6720, !15, i64 6728, !13, i64 6732, !11, i64 6736, !13, i64 6740, !15, i64 6744, !15, i64 6748, !13, i64 6752, !13, i64 6756, !15, i64 6760, !11, i64 6764, !11, i64 6765, !11, i64 6766, !11, i64 6767, !11, i64 6768, !13, i64 6772, !13, i64 6776, !24, i64 6784, !14, i64 6792, !6, i64 6800, !25, i64 6808, !13, i64 6812, !11, i64 6816, !11, i64 6817, !6, i64 6824, !13, i64 6832, !15, i64 6836, !26, i64 6840, !28, i64 6944, !29, i64 6960, !30, i64 6976, !31, i64 6992, !32, i64 7008, !32, i64 7024, !6, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !13, i64 7060, !13, i64 7064, !13, i64 7068, !13, i64 7072, !13, i64 7076, !13, i64 7080, !25, i64 7084, !27, i64 7088, !13, i64 7104, !6, i64 7112, !6, i64 7120, !6, i64 7128, !15, i64 7136, !15, i64 7140, !11, i64 7144, !33, i64 7148, !13, i64 7152, !11, i64 7156, !11, i64 7157, !11, i64 7158, !11, i64 7159, !11, i64 7160, !11, i64 7161, !11, i64 7162, !13, i64 7164, !27, i64 7168, !11, i64 7184, !11, i64 7185, !13, i64 7188, !34, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !35, i64 7208, !35, i64 7256, !35, i64 7304, !6, i64 7352, !6, i64 7360, !13, i64 7368, !13, i64 7372, !13, i64 7376, !13, i64 7380, !11, i64 7384, !36, i64 7392, !37, i64 7448, !15, i64 7480, !38, i64 7488, !38, i64 7656, !13, i64 7824, !11, i64 7828, !11, i64 7829, !13, i64 7832, !13, i64 7836, !13, i64 7840, !46, i64 7848, !27, i64 7912, !13, i64 7928, !13, i64 7932, !15, i64 7936, !13, i64 7940, !13, i64 7944, !13, i64 7948, !47, i64 7952, !7, i64 7968, !6, i64 7976, !48, i64 7984, !50, i64 8024, !51, i64 8040, !14, i64 8056, !52, i64 8064, !57, i64 11792, !13, i64 11912, !13, i64 11916, !15, i64 11920, !7, i64 11924, !19, i64 11936, !11, i64 11952, !15, i64 11956, !15, i64 11960, !15, i64 11964, !13, i64 11968, !53, i64 11976, !13, i64 11992, !14, i64 11996, !14, i64 12004, !11, i64 12012, !15, i64 12016, !60, i64 12024, !61, i64 12040, !62, i64 12056, !11, i64 12072, !63, i64 12076, !6, i64 12080, !60, i64 12088, !15, i64 12104, !11, i64 12108, !13, i64 12112, !13, i64 12116, !13, i64 12120, !11, i64 12124, !13, i64 12128, !7, i64 12132, !13, i64 12612, !15, i64 12616, !13, i64 12620, !13, i64 12624, !13, i64 12628, !7, i64 12632}
!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 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !16, i64 5440}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!17 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !13, i64 128, !14, i64 132, !14, i64 140, !14, i64 148, !14, i64 156, !15, i64 164, !11, i64 168, !11, i64 169, !15, i64 172, !7, i64 176}
!18 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !19, i64 24, !13, i64 40, !7, i64 44}
!19 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"long long", !7, i64 0}
!25 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!26 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !11, i64 48, !27, i64 52, !6, i64 72, !6, i64 80, !15, i64 88, !14, i64 92}
!27 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !11, i64 8, !13, i64 12}
!29 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!34 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!35 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !13, i64 4, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !27, i64 28}
!36 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!37 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!38 = !{!"_ZTS10ImDrawList", !39, i64 0, !16, i64 16, !40, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !13, i64 76, !6, i64 80, !6, i64 88, !41, i64 96, !42, i64 112, !43, i64 128, !44, i64 144}
!39 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !45, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_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}
!47 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !49, i64 0, !22, i64 16, !13, i64 32}
!49 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !16, i64 16, !53, i64 32, !53, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !54, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!53 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !55, i64 24}
!55 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !56, i64 3582, !56, i64 3584, !13, i64 3588, !13, i64 3592}
!56 = !{!"short", !7, i64 0}
!57 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !16, i64 24, !59, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !56, i64 88, !56, i64 90, !56, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !11, i64 112}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS15ImGuiTextBuffer", !53, i64 0}
!61 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!10, !6, i64 32}
!67 = !{!10, !15, i64 12016}
!68 = !{!10, !15, i64 24}
!69 = !{!10, !11, i64 932}
!70 = !{!10, !20, i64 6568}
!71 = !{!10, !11, i64 1}
!72 = !{!10, !13, i64 6576}
!73 = !{!10, !13, i64 11968}
!74 = !{!10, !13, i64 6672}
!75 = !{!10, !6, i64 168}
!76 = !{!77, !11, i64 0}
!77 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !13, i64 4, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !14, i64 48, !14, i64 56, !31, i64 64, !78, i64 80, !79, i64 96, !7, i64 112}
!78 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!10, !6, i64 6408}
!81 = !{!10, !15, i64 16}
!82 = !{!10, !15, i64 20}
!83 = !{i64 0, i64 4, !84, i64 4, i64 4, !84, i64 8, i64 4, !84, i64 12, i64 4, !84}
!84 = !{!15, !15, i64 0}
!85 = !{!10, !15, i64 5636}
!86 = !{!10, !15, i64 6444}
!87 = !{!10, !13, i64 6464}
!88 = !{!10, !11, i64 5632}
!89 = !{!10, !11, i64 5633}
!90 = !{!10, !13, i64 12}
!91 = !{!77, !6, i64 8}
!92 = !{!10, !11, i64 7828}
!93 = !{!10, !13, i64 7860}
!94 = !{!10, !13, i64 6752}
!95 = !{!10, !13, i64 6740}
!96 = !{!10, !15, i64 6744}
!97 = !{!10, !13, i64 6732}
!98 = !{!10, !15, i64 6748}
!99 = !{!10, !11, i64 6736}
!100 = !{!10, !13, i64 6756}
!101 = !{!10, !13, i64 6812}
!102 = !{!10, !15, i64 6760}
!103 = !{!10, !15, i64 6836}
!104 = !{!10, !6, i64 6800}
!105 = !{!10, !6, i64 6824}
!106 = !{!10, !11, i64 6767}
!107 = !{!10, !11, i64 6817}
!108 = !{!10, !11, i64 6768}
!109 = !{!10, !11, i64 6816}
!110 = !{!10, !11, i64 6764}
!111 = !{!10, !13, i64 11912}
!112 = !{!10, !13, i64 6776}
!113 = !{!10, !13, i64 6772}
!114 = !{!10, !24, i64 6784}
!115 = !{!10, !13, i64 7940}
!116 = !{!10, !13, i64 7944}
!117 = !{!10, !15, i64 7936}
!118 = !{!10, !11, i64 7829}
!119 = !{!13, !13, i64 0}
!120 = !{!11, !11, i64 0}
!121 = distinct !{!121, !122}
!122 = !{!"llvm.loop.mustprogress"}
!123 = !{!10, !13, i64 12612}
!124 = !{!10, !15, i64 12616}
!125 = !{!10, !15, i64 936}
!126 = !{!10, !6, i64 7112}
!127 = !{!10, !15, i64 7140}
!128 = !{!10, !15, i64 7480}
!129 = !{!10, !13, i64 7824}
!130 = !{!10, !13, i64 12628}
!131 = !{!10, !13, i64 12624}
!132 = !{!10, !13, i64 12620}
!133 = !{i64 0, i64 4, !84, i64 4, i64 4, !84}
!134 = !{!10, !6, i64 7040}
!135 = !{!136, !11, i64 126}
!136 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !15, i64 64, !15, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 84, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131, !11, i64 132, !11, i64 133, !11, i64 134, !7, i64 135, !56, i64 136, !56, i64 138, !56, i64 140, !13, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !11, i64 151, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !14, i64 176, !14, i64 184, !137, i64 192, !138, i64 208, !27, i64 496, !27, i64 512, !27, i64 528, !27, i64 544, !27, i64 560, !27, i64 576, !13, i64 592, !15, i64 596, !15, i64 600, !142, i64 604, !22, i64 640, !143, i64 656, !15, i64 672, !13, i64 676, !6, i64 680, !38, i64 688, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 904, !11, i64 936, !13, i64 940, !13, i64 944}
!137 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!138 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !27, i64 72, !27, i64 88, !33, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !11, i64 121, !11, i64 122, !14, i64 124, !21, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !15, i64 180, !15, i64 184, !139, i64 192, !58, i64 208, !58, i64 224, !140, i64 240, !7, i64 256, !141, i64 268, !141, i64 272, !141, i64 276, !6, i64 280}
!139 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!140 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!141 = !{!"_ZTS6ImVec1", !15, i64 0}
!142 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!143 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!144 = !{!136, !13, i64 12}
!145 = !{!10, !11, i64 328}
!146 = !{!10, !11, i64 7384}
!147 = !{!10, !6, i64 7360}
!148 = !{!10, !13, i64 7376}
!149 = !{!10, !13, i64 7048}
!150 = !{!10, !13, i64 7152}
!151 = !{!10, !11, i64 329}
!152 = !{!10, !13, i64 7380}
!153 = !{!10, !6, i64 7352}
!154 = !{!10, !13, i64 7372}
!155 = !{!10, !13, i64 7368}
!156 = !{!136, !13, i64 376}
!157 = !{!136, !13, i64 380}
!158 = !{!10, !13, i64 6608}
!159 = !{!10, !13, i64 6592}
!160 = !{!10, !15, i64 208}
!161 = !{!136, !11, i64 127}
!162 = !{!136, !56, i64 136}
!163 = !{!136, !11, i64 128}
!164 = !{!136, !11, i64 936}
!165 = !{!136, !15, i64 596}
!166 = distinct !{!166, !122}
!167 = !{!10, !11, i64 2}


; 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.ImVec4 = type { float, float, float, float }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [111 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinIfET_S0_S0_(float 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui11KeepAliveIDEj(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31GcCompactTransientWindowBuffersEP11ImGuiWindow(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31UpdateMouseMovingWindowNewFrameEv() local_unnamed_addr #7

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8NewFrameEv() local_unnamed_addr #6 {
  %1 = alloca %struct.ImVec4, align 4
  %2 = alloca %struct.ImVec2, align 8
  %3 = alloca %struct.ImVec2, align 4
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %5, label %6

5:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.1, i32 noundef 3504, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

6:                                                ; preds = %0
  tail call void @_ZL20NewFrameSanityChecksv()
  %7 = getelementptr inbounds i8, ptr %4, i64 12012
  %8 = load i8, ptr %7, align 4, !tbaa !9, !range !64, !noundef !65
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %19, label %10

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %4, i64 12056
  %12 = tail call noundef zeroext i1 @_ZNK8ImVectorI19ImGuiWindowSettingsE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  br i1 %12, label %14, label %13

13:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.1, i32 noundef 3517, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %4, i64 32
  %16 = load ptr, ptr %15, align 8, !tbaa !66
  %.not220 = icmp eq ptr %16, null
  br i1 %.not220, label %18, label %17

17:                                               ; preds = %14
  tail call void @_ZN5ImGui23LoadIniSettingsFromDiskEPKc(ptr noundef nonnull %16)
  br label %18

18:                                               ; preds = %17, %14
  store i8 1, ptr %7, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %18, %6
  %20 = getelementptr inbounds i8, ptr %4, i64 12016
  %21 = load float, ptr %20, align 8, !tbaa !67
  %22 = fcmp ogt float %21, 0.000000e+00
  br i1 %22, label %23, label %35

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %4, i64 24
  %25 = load float, ptr %24, align 8, !tbaa !68
  %26 = fsub float %21, %25
  store float %26, ptr %20, align 8, !tbaa !67
  %27 = fcmp ugt float %26, 0.000000e+00
  br i1 %27, label %35, label %28

28:                                               ; preds = %23
  %29 = getelementptr inbounds i8, ptr %4, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !66
  %.not221 = icmp eq ptr %30, null
  br i1 %.not221, label %32, label %31

31:                                               ; preds = %28
  tail call void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef nonnull %30)
  br label %34

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %4, i64 932
  store i8 1, ptr %33, align 4, !tbaa !69
  br label %34

34:                                               ; preds = %32, %31
  store float 0.000000e+00, ptr %20, align 8, !tbaa !67
  br label %35

35:                                               ; preds = %23, %34, %19
  %36 = getelementptr inbounds i8, ptr %4, i64 24
  %37 = load float, ptr %36, align 8, !tbaa !68
  %38 = fpext float %37 to double
  %39 = getelementptr inbounds i8, ptr %4, i64 6568
  %40 = load double, ptr %39, align 8, !tbaa !70
  %41 = fadd double %40, %38
  store double %41, ptr %39, align 8, !tbaa !70
  %42 = getelementptr inbounds i8, ptr %4, i64 1
  store i8 1, ptr %42, align 1, !tbaa !71
  %43 = getelementptr inbounds i8, ptr %4, i64 6576
  %44 = load i32, ptr %43, align 8, !tbaa !72
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %43, align 8, !tbaa !72
  %46 = getelementptr inbounds i8, ptr %4, i64 11968
  store i32 0, ptr %46, align 8, !tbaa !73
  %47 = getelementptr inbounds i8, ptr %4, i64 6672
  store i32 0, ptr %47, align 8, !tbaa !74
  %48 = getelementptr inbounds i8, ptr %4, i64 168
  %49 = load ptr, ptr %48, align 8, !tbaa !75
  store i8 1, ptr %49, align 8, !tbaa !76
  %50 = tail call noundef ptr @_ZN5ImGui14GetDefaultFontEv()
  tail call void @_ZN5ImGui14SetCurrentFontEP6ImFont(ptr noundef %50)
  %51 = getelementptr inbounds i8, ptr %4, i64 6408
  %52 = load ptr, ptr %51, align 8, !tbaa !80
  %53 = tail call noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(113) %52)
  br i1 %53, label %55, label %54

54:                                               ; preds = %35
  tail call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.1, i32 noundef 3546, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

55:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #11
  %56 = getelementptr inbounds i8, ptr %4, i64 16
  %57 = load float, ptr %56, align 8, !tbaa !81
  %58 = getelementptr inbounds i8, ptr %4, i64 20
  %59 = load float, ptr %58, align 4, !tbaa !82
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %1, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %57, float noundef %59)
  %60 = getelementptr inbounds i8, ptr %4, i64 6448
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 4 dereferenceable(16) %1, i64 16, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #11
  %61 = getelementptr inbounds i8, ptr %4, i64 5636
  %62 = load float, ptr %61, align 4, !tbaa !85
  %63 = getelementptr inbounds i8, ptr %4, i64 6444
  store float %62, ptr %63, align 4, !tbaa !86
  %64 = getelementptr inbounds i8, ptr %4, i64 6464
  %65 = getelementptr inbounds i8, ptr %4, i64 5632
  %66 = load i8, ptr %65, align 8, !tbaa !87, !range !64, !noundef !65
  %spec.store.select = zext nneg i8 %66 to i32
  store i32 %spec.store.select, ptr %64, align 8
  %67 = getelementptr inbounds i8, ptr %4, i64 5633
  %68 = load i8, ptr %67, align 1, !tbaa !88, !range !64, !noundef !65
  %69 = trunc nuw i8 %68 to i1
  br i1 %69, label %70, label %72

70:                                               ; preds = %55
  %71 = or disjoint i32 %spec.store.select, 2
  store i32 %71, ptr %64, align 8, !tbaa !89
  br label %72

72:                                               ; preds = %70, %55
  %73 = phi i32 [ %71, %70 ], [ %spec.store.select, %55 ]
  %74 = getelementptr inbounds i8, ptr %4, i64 12
  %75 = load i32, ptr %74, align 4, !tbaa !90
  %76 = and i32 %75, 8
  %.not222 = icmp eq i32 %76, 0
  br i1 %.not222, label %79, label %77

77:                                               ; preds = %72
  %78 = or i32 %73, 4
  store i32 %78, ptr %64, align 8, !tbaa !89
  br label %79

79:                                               ; preds = %77, %72
  %80 = getelementptr inbounds i8, ptr %4, i64 7488
  call void @_ZN10ImDrawList5ClearEv(ptr noundef nonnull align 8 dereferenceable(168) %80)
  %81 = load ptr, ptr %48, align 8, !tbaa !75
  %82 = getelementptr inbounds i8, ptr %81, i64 8
  %83 = load ptr, ptr %82, align 8, !tbaa !91
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(168) %80, ptr noundef %83)
  call void @_ZN10ImDrawList22PushClipRectFullScreenEv(ptr noundef nonnull align 8 dereferenceable(168) %80)
  %84 = getelementptr inbounds i8, ptr %4, i64 7656
  call void @_ZN10ImDrawList5ClearEv(ptr noundef nonnull align 8 dereferenceable(168) %84)
  %85 = load ptr, ptr %48, align 8, !tbaa !75
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = load ptr, ptr %86, align 8, !tbaa !91
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(168) %84, ptr noundef %87)
  call void @_ZN10ImDrawList22PushClipRectFullScreenEv(ptr noundef nonnull align 8 dereferenceable(168) %84)
  %88 = getelementptr inbounds i8, ptr %4, i64 7392
  call void @_ZN10ImDrawData5ClearEv(ptr noundef nonnull align 8 dereferenceable(52) %88)
  %89 = getelementptr inbounds i8, ptr %4, i64 7828
  %90 = load i8, ptr %89, align 4, !tbaa !92, !range !64, !noundef !65
  %91 = trunc nuw i8 %90 to i1
  br i1 %91, label %92, label %99

92:                                               ; preds = %79
  %93 = getelementptr inbounds i8, ptr %4, i64 7860
  %94 = load i32, ptr %93, align 4, !tbaa !93
  %95 = getelementptr inbounds i8, ptr %4, i64 6752
  %96 = load i32, ptr %95, align 8, !tbaa !94
  %97 = icmp eq i32 %94, %96
  br i1 %97, label %98, label %99

98:                                               ; preds = %92
  call void @_ZN5ImGui11KeepAliveIDEj(i32 noundef %94)
  br label %99

99:                                               ; preds = %98, %92, %79
  %100 = getelementptr inbounds i8, ptr %4, i64 6740
  %101 = load i32, ptr %100, align 4, !tbaa !95
  %.not223 = icmp eq i32 %101, 0
  br i1 %.not223, label %113, label %102

102:                                              ; preds = %99
  %103 = getelementptr inbounds i8, ptr %4, i64 6732
  %104 = load i32, ptr %103, align 4, !tbaa !96
  %.not225 = icmp eq i32 %104, 0
  br i1 %.not225, label %.thread264, label %106

.thread264:                                       ; preds = %102
  %105 = getelementptr inbounds i8, ptr %4, i64 6732
  br label %..thread249_crit_edge

106:                                              ; preds = %102
  %107 = getelementptr inbounds i8, ptr %4, i64 6752
  %108 = load i32, ptr %107, align 8, !tbaa !94
  %109 = icmp eq i32 %108, %104
  br i1 %109, label %.thread268, label %.thread266

.thread268:                                       ; preds = %106
  %110 = getelementptr inbounds i8, ptr %4, i64 6748
  store float 0.000000e+00, ptr %110, align 4, !tbaa !97
  %111 = getelementptr inbounds i8, ptr %4, i64 6732
  br label %117

.thread266:                                       ; preds = %106
  %112 = getelementptr inbounds i8, ptr %4, i64 6732
  br label %117

113:                                              ; preds = %99
  %114 = getelementptr inbounds i8, ptr %4, i64 6744
  %.phi.trans.insert.phi.trans.insert = getelementptr inbounds i8, ptr %4, i64 6732
  %.pre.pre = load i32, ptr %.phi.trans.insert.phi.trans.insert, align 4, !tbaa !96
  store <2 x float> zeroinitializer, ptr %114, align 8, !tbaa !84
  %115 = getelementptr inbounds i8, ptr %4, i64 6732
  %.not226 = icmp eq i32 %.pre.pre, 0
  br i1 %.not226, label %..thread249_crit_edge, label %117

..thread249_crit_edge:                            ; preds = %.thread264, %113
  %116 = phi ptr [ %105, %.thread264 ], [ %115, %113 ]
  %.phi.trans.insert256 = getelementptr inbounds i8, ptr %4, i64 6752
  %.pre257 = load i32, ptr %.phi.trans.insert256, align 8, !tbaa !94
  br label %.thread249

117:                                              ; preds = %.thread268, %.thread266, %113
  %118 = phi ptr [ %112, %.thread266 ], [ %115, %113 ], [ %111, %.thread268 ]
  %119 = phi i32 [ %104, %.thread266 ], [ %.pre.pre, %113 ], [ %104, %.thread268 ]
  %120 = load float, ptr %36, align 8, !tbaa !68
  %121 = getelementptr inbounds i8, ptr %4, i64 6744
  %122 = load float, ptr %121, align 8, !tbaa !98
  %123 = fadd float %120, %122
  store float %123, ptr %121, align 8, !tbaa !98
  %124 = getelementptr inbounds i8, ptr %4, i64 6752
  %125 = load i32, ptr %124, align 8, !tbaa !94
  %.not228 = icmp eq i32 %125, %119
  br i1 %.not228, label %.thread249, label %126

126:                                              ; preds = %117
  %127 = getelementptr inbounds i8, ptr %4, i64 6748
  %128 = load float, ptr %127, align 4, !tbaa !97
  %129 = fadd float %120, %128
  store float %129, ptr %127, align 4, !tbaa !97
  br label %.thread249

.thread249:                                       ; preds = %..thread249_crit_edge, %126, %117
  %130 = phi ptr [ %116, %..thread249_crit_edge ], [ %118, %126 ], [ %118, %117 ]
  %131 = phi i32 [ 0, %..thread249_crit_edge ], [ %119, %126 ], [ %119, %117 ]
  %132 = phi i32 [ %.pre257, %..thread249_crit_edge ], [ %125, %126 ], [ %119, %117 ]
  store i32 %131, ptr %100, align 4, !tbaa !95
  store i32 0, ptr %130, align 4, !tbaa !96
  %133 = getelementptr inbounds i8, ptr %4, i64 6736
  store i8 0, ptr %133, align 8, !tbaa !99
  %134 = getelementptr inbounds i8, ptr %4, i64 6756
  %135 = load i32, ptr %134, align 4, !tbaa !100
  %136 = getelementptr inbounds i8, ptr %4, i64 6752
  %.not229 = icmp eq i32 %135, %132
  br i1 %.not229, label %thread-pre-split, label %137

137:                                              ; preds = %.thread249
  %138 = getelementptr inbounds i8, ptr %4, i64 6812
  %139 = load i32, ptr %138, align 4, !tbaa !101
  %140 = icmp ne i32 %139, %132
  %.not230 = icmp eq i32 %132, 0
  %or.cond = or i1 %.not230, %140
  br i1 %or.cond, label %thread-pre-split, label %141

141:                                              ; preds = %137
  call void @_ZN5ImGui13ClearActiveIDEv()
  %.pr.pre = load i32, ptr %136, align 8, !tbaa !94
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %141, %137, %.thread249
  %142 = phi i32 [ %132, %.thread249 ], [ %132, %137 ], [ %.pr.pre, %141 ]
  %.not231 = icmp eq i32 %142, 0
  %.pre259 = load float, ptr %36, align 8, !tbaa !68
  br i1 %.not231, label %147, label %143

143:                                              ; preds = %thread-pre-split
  %144 = getelementptr inbounds i8, ptr %4, i64 6760
  %145 = load float, ptr %144, align 8, !tbaa !102
  %146 = fadd float %.pre259, %145
  store float %146, ptr %144, align 8, !tbaa !102
  br label %147

147:                                              ; preds = %143, %thread-pre-split
  %148 = getelementptr inbounds i8, ptr %4, i64 6836
  %149 = load float, ptr %148, align 4, !tbaa !103
  %150 = fadd float %.pre259, %149
  store float %150, ptr %148, align 4, !tbaa !103
  %151 = getelementptr inbounds i8, ptr %4, i64 6812
  store i32 %142, ptr %151, align 4, !tbaa !101
  %152 = getelementptr inbounds i8, ptr %4, i64 6800
  %153 = load ptr, ptr %152, align 8, !tbaa !104
  %154 = getelementptr inbounds i8, ptr %4, i64 6824
  store ptr %153, ptr %154, align 8, !tbaa !105
  %155 = getelementptr inbounds i8, ptr %4, i64 6767
  %156 = load i8, ptr %155, align 1, !tbaa !106, !range !64, !noundef !65
  %157 = getelementptr inbounds i8, ptr %4, i64 6817
  store i8 %156, ptr %157, align 1, !tbaa !107
  store i32 0, ptr %134, align 4, !tbaa !100
  %158 = getelementptr inbounds i8, ptr %4, i64 6768
  store i8 0, ptr %158, align 8, !tbaa !108
  %159 = getelementptr inbounds i8, ptr %4, i64 6816
  store i8 0, ptr %159, align 8, !tbaa !109
  %160 = getelementptr inbounds i8, ptr %4, i64 6764
  store i8 0, ptr %160, align 4, !tbaa !110
  %161 = getelementptr inbounds i8, ptr %4, i64 11912
  %162 = load i32, ptr %161, align 8, !tbaa !111
  %.not232 = icmp eq i32 %162, 0
  br i1 %.not232, label %165, label %163

163:                                              ; preds = %147
  %.not233 = icmp eq i32 %142, %162
  br i1 %.not233, label %.thread250, label %164

164:                                              ; preds = %163
  store i32 0, ptr %161, align 8, !tbaa !111
  br label %165

165:                                              ; preds = %164, %147
  br i1 %.not231, label %166, label %.thread250

166:                                              ; preds = %165
  %167 = getelementptr inbounds i8, ptr %4, i64 6776
  store i32 0, ptr %167, align 8, !tbaa !112
  %168 = getelementptr inbounds i8, ptr %4, i64 6772
  store i32 0, ptr %168, align 4, !tbaa !113
  %169 = getelementptr inbounds i8, ptr %4, i64 6784
  store i64 0, ptr %169, align 8, !tbaa !114
  br label %.thread250

.thread250:                                       ; preds = %163, %166, %165
  %170 = getelementptr inbounds i8, ptr %4, i64 7940
  %171 = load i32, ptr %170, align 4, !tbaa !115
  %172 = getelementptr inbounds i8, ptr %4, i64 7944
  store i32 %171, ptr %172, align 8, !tbaa !116
  store i32 0, ptr %170, align 4, !tbaa !115
  %173 = getelementptr inbounds i8, ptr %4, i64 7936
  store float 0x47EFFFFFE0000000, ptr %173, align 8, !tbaa !117
  %174 = getelementptr inbounds i8, ptr %4, i64 7829
  store i8 0, ptr %174, align 1, !tbaa !118
  %175 = getelementptr inbounds i8, ptr %4, i64 3232
  %176 = getelementptr inbounds i8, ptr %4, i64 1184
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(2048) %175, ptr noundef nonnull align 8 dereferenceable(2048) %176, i64 2048, i1 false)
  %177 = getelementptr inbounds i8, ptr %4, i64 332
  br label %199

178:                                              ; preds = %221
  call void @_ZN5ImGuiL9NavUpdateEv()
  call void @_ZN5ImGuiL17UpdateMouseInputsEv()
  %179 = load float, ptr %36, align 8, !tbaa !68
  %180 = getelementptr inbounds i8, ptr %4, i64 12132
  %181 = getelementptr inbounds i8, ptr %4, i64 12612
  %182 = load i32, ptr %181, align 4, !tbaa !119
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [120 x float], ptr %180, i64 0, i64 %183
  %185 = load float, ptr %184, align 4, !tbaa !84
  %186 = fsub float %179, %185
  %187 = getelementptr inbounds i8, ptr %4, i64 12616
  %188 = load float, ptr %187, align 8, !tbaa !120
  %189 = fadd float %188, %186
  store float %189, ptr %187, align 8, !tbaa !120
  store float %179, ptr %184, align 4, !tbaa !84
  %190 = add nsw i32 %182, 1
  %191 = srem i32 %190, 120
  store i32 %191, ptr %181, align 4, !tbaa !119
  %192 = load float, ptr %187, align 8, !tbaa !120
  %193 = fcmp ogt float %192, 0.000000e+00
  %194 = fdiv float %192, 1.200000e+02
  %195 = fdiv float 1.000000e+00, %194
  %196 = select i1 %193, float %195, float 0x47EFFFFFE0000000
  %197 = getelementptr inbounds i8, ptr %4, i64 936
  store float %196, ptr %197, align 8, !tbaa !121
  call void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv()
  call void @_ZN5ImGui31UpdateMouseMovingWindowNewFrameEv()
  %198 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %.not234 = icmp eq ptr %198, null
  br i1 %.not234, label %224, label %231

199:                                              ; preds = %221, %.thread250
  %indvars.iv = phi i64 [ 0, %.thread250 ], [ %indvars.iv.next.1, %221 ]
  %200 = getelementptr inbounds [512 x i8], ptr %177, i64 0, i64 %indvars.iv
  %201 = load i8, ptr %200, align 1, !tbaa !122, !range !64, !noundef !65
  %202 = trunc nuw i8 %201 to i1
  br i1 %202, label %203, label %209

203:                                              ; preds = %199
  %204 = getelementptr inbounds [512 x float], ptr %176, i64 0, i64 %indvars.iv
  %205 = load float, ptr %204, align 4, !tbaa !84
  %206 = fcmp olt float %205, 0.000000e+00
  br i1 %206, label %209, label %207

207:                                              ; preds = %203
  %208 = fadd float %205, %.pre259
  br label %209

209:                                              ; preds = %199, %207, %203
  %210 = phi float [ %208, %207 ], [ 0.000000e+00, %203 ], [ -1.000000e+00, %199 ]
  %211 = getelementptr inbounds [512 x float], ptr %176, i64 0, i64 %indvars.iv
  store float %210, ptr %211, align 4, !tbaa !84
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %212 = getelementptr inbounds [512 x i8], ptr %177, i64 0, i64 %indvars.iv.next
  %213 = load i8, ptr %212, align 1, !tbaa !122, !range !64, !noundef !65
  %214 = trunc nuw i8 %213 to i1
  br i1 %214, label %215, label %221

215:                                              ; preds = %209
  %216 = getelementptr inbounds [512 x float], ptr %176, i64 0, i64 %indvars.iv.next
  %217 = load float, ptr %216, align 4, !tbaa !84
  %218 = fcmp olt float %217, 0.000000e+00
  br i1 %218, label %221, label %219

219:                                              ; preds = %215
  %220 = fadd float %217, %.pre259
  br label %221

221:                                              ; preds = %219, %215, %209
  %222 = phi float [ %220, %219 ], [ 0.000000e+00, %215 ], [ -1.000000e+00, %209 ]
  %223 = getelementptr inbounds [512 x float], ptr %176, i64 0, i64 %indvars.iv.next
  store float %222, ptr %223, align 4, !tbaa !84
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 512
  br i1 %exitcond.not.1, label %178, label %199, !llvm.loop !123

224:                                              ; preds = %178
  %225 = getelementptr inbounds i8, ptr %4, i64 7112
  %226 = load ptr, ptr %225, align 8, !tbaa !125
  %.not235 = icmp eq ptr %226, null
  br i1 %.not235, label %237, label %227

227:                                              ; preds = %224
  %228 = getelementptr inbounds i8, ptr %4, i64 7140
  %229 = load float, ptr %228, align 4, !tbaa !126
  %230 = fcmp ogt float %229, 0.000000e+00
  br i1 %230, label %231, label %237

231:                                              ; preds = %227, %178
  %232 = getelementptr inbounds i8, ptr %4, i64 7480
  %233 = load float, ptr %232, align 8, !tbaa !127
  %234 = load float, ptr %36, align 8, !tbaa !68
  %235 = call float @llvm.fmuladd.f32(float %234, float 6.000000e+00, float %233)
  %236 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %235, float noundef 1.000000e+00)
  store float %236, ptr %232, align 8, !tbaa !127
  br label %244

237:                                              ; preds = %227, %224
  %238 = getelementptr inbounds i8, ptr %4, i64 7480
  %239 = load float, ptr %238, align 8, !tbaa !127
  %240 = load float, ptr %36, align 8, !tbaa !68
  %241 = fneg float %240
  %242 = call float @llvm.fmuladd.f32(float %241, float 1.000000e+01, float %239)
  %243 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %242, float noundef 0.000000e+00)
  store float %243, ptr %238, align 8, !tbaa !127
  br label %244

244:                                              ; preds = %237, %231
  %245 = getelementptr inbounds i8, ptr %4, i64 7824
  store i32 0, ptr %245, align 8, !tbaa !128
  %246 = getelementptr inbounds i8, ptr %4, i64 12628
  store i32 -1, ptr %246, align 4, !tbaa !129
  %247 = getelementptr inbounds i8, ptr %4, i64 12624
  store i32 -1, ptr %247, align 8, !tbaa !130
  %248 = getelementptr inbounds i8, ptr %4, i64 12620
  store i32 -1, ptr %248, align 4, !tbaa !131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %249 = getelementptr inbounds i8, ptr %4, i64 11996
  %250 = load i64, ptr %2, align 8
  store i64 %250, ptr %249, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #11
  call void @_ZN5ImGuiL16UpdateMouseWheelEv()
  %251 = getelementptr inbounds i8, ptr %4, i64 7040
  %252 = load ptr, ptr %251, align 8, !tbaa !132
  %.not236 = icmp eq ptr %252, null
  br i1 %.not236, label %.thread271, label %253

253:                                              ; preds = %244
  %254 = getelementptr inbounds i8, ptr %252, i64 126
  %255 = load i8, ptr %254, align 2, !tbaa !133, !range !64, !noundef !65
  %256 = trunc nuw i8 %255 to i1
  br i1 %256, label %257, label %.thread271

257:                                              ; preds = %253
  %258 = getelementptr inbounds i8, ptr %252, i64 12
  %259 = load i32, ptr %258, align 4, !tbaa !142
  %260 = and i32 %259, 262144
  %.not237 = icmp eq i32 %260, 0
  br i1 %.not237, label %261, label %.thread271

261:                                              ; preds = %257
  %262 = getelementptr inbounds i8, ptr %4, i64 328
  %263 = load i8, ptr %262, align 8, !tbaa !143, !range !64, !noundef !65
  %264 = trunc nuw i8 %263 to i1
  br i1 %264, label %.thread271, label %266

.thread271:                                       ; preds = %261, %257, %253, %244
  %265 = getelementptr inbounds i8, ptr %4, i64 7384
  store i8 0, ptr %265, align 8, !tbaa !144
  br label %._crit_edge260

266:                                              ; preds = %261
  %267 = call noundef zeroext i1 @_ZN5ImGui15IsKeyPressedMapEib(i32 noundef 0, i1 noundef zeroext true)
  %268 = getelementptr inbounds i8, ptr %4, i64 7384
  %269 = zext i1 %267 to i8
  store i8 %269, ptr %268, align 8, !tbaa !144
  %270 = load i32, ptr %136, align 8, !tbaa !94
  %271 = icmp eq i32 %270, 0
  %brmerge.not = and i1 %267, %271
  br i1 %brmerge.not, label %272, label %._crit_edge260

._crit_edge260:                                   ; preds = %.thread271, %266
  %.phi.trans.insert261 = getelementptr inbounds i8, ptr %4, i64 7360
  %.pre262 = load ptr, ptr %.phi.trans.insert261, align 8, !tbaa !145
  br label %295

272:                                              ; preds = %266
  %273 = load ptr, ptr %251, align 8, !tbaa !132
  %274 = getelementptr inbounds i8, ptr %4, i64 7360
  store ptr %273, ptr %274, align 8, !tbaa !145
  %275 = getelementptr inbounds i8, ptr %4, i64 7376
  store i32 2147483647, ptr %275, align 8, !tbaa !146
  %276 = getelementptr inbounds i8, ptr %4, i64 7048
  %277 = load i32, ptr %276, align 8, !tbaa !147
  %.not238 = icmp eq i32 %277, 0
  br i1 %.not238, label %289, label %278

278:                                              ; preds = %272
  %279 = getelementptr inbounds i8, ptr %4, i64 7152
  %280 = load i32, ptr %279, align 8, !tbaa !148
  %.not239 = icmp eq i32 %280, 2147483647
  br i1 %.not239, label %289, label %281

281:                                              ; preds = %278
  %282 = add nsw i32 %280, 1
  %283 = getelementptr inbounds i8, ptr %4, i64 329
  %284 = load i8, ptr %283, align 1, !tbaa !149, !range !64, !noundef !65
  %285 = trunc nuw i8 %284 to i1
  %286 = select i1 %285, i32 -1, i32 1
  %287 = add nsw i32 %282, %286
  %288 = getelementptr inbounds i8, ptr %4, i64 7380
  store i32 %287, ptr %288, align 4, !tbaa !150
  br label %295

289:                                              ; preds = %278, %272
  %290 = getelementptr inbounds i8, ptr %4, i64 329
  %291 = load i8, ptr %290, align 1, !tbaa !149, !range !64, !noundef !65
  %292 = zext nneg i8 %291 to i32
  %293 = sub nsw i32 0, %292
  %294 = getelementptr inbounds i8, ptr %4, i64 7380
  store i32 %293, ptr %294, align 4, !tbaa !150
  br label %295

295:                                              ; preds = %._crit_edge260, %281, %289
  %296 = phi ptr [ %.pre262, %._crit_edge260 ], [ %273, %281 ], [ %273, %289 ]
  %297 = getelementptr inbounds i8, ptr %4, i64 7352
  store ptr null, ptr %297, align 8, !tbaa !151
  %298 = getelementptr inbounds i8, ptr %4, i64 7372
  store i32 2147483647, ptr %298, align 4, !tbaa !152
  %299 = getelementptr inbounds i8, ptr %4, i64 7368
  store i32 2147483647, ptr %299, align 8, !tbaa !153
  %300 = getelementptr inbounds i8, ptr %4, i64 7360
  %.not240 = icmp eq ptr %296, null
  br i1 %.not240, label %320, label %301

301:                                              ; preds = %295
  store ptr %296, ptr %297, align 8, !tbaa !151
  %302 = getelementptr inbounds i8, ptr %4, i64 7376
  %303 = load i32, ptr %302, align 8, !tbaa !146
  %.not241 = icmp eq i32 %303, 2147483647
  br i1 %.not241, label %310, label %304

304:                                              ; preds = %301
  %305 = getelementptr inbounds i8, ptr %296, i64 376
  %306 = load i32, ptr %305, align 8, !tbaa !154
  %.not242 = icmp eq i32 %306, -1
  br i1 %.not242, label %310, label %307

307:                                              ; preds = %304
  %308 = add nuw nsw i32 %306, 1
  %309 = call noundef i32 @_ZL13ImModPositiveii(i32 noundef %303, i32 noundef %308)
  store i32 %309, ptr %299, align 8, !tbaa !153
  br label %310

310:                                              ; preds = %307, %304, %301
  %311 = getelementptr inbounds i8, ptr %4, i64 7380
  %312 = load i32, ptr %311, align 4, !tbaa !150
  %.not243 = icmp eq i32 %312, 2147483647
  br i1 %.not243, label %319, label %313

313:                                              ; preds = %310
  %314 = getelementptr inbounds i8, ptr %296, i64 380
  %315 = load i32, ptr %314, align 4, !tbaa !155
  %.not244 = icmp eq i32 %315, -1
  br i1 %.not244, label %319, label %316

316:                                              ; preds = %313
  %317 = add nuw nsw i32 %315, 1
  %318 = call noundef i32 @_ZL13ImModPositiveii(i32 noundef %312, i32 noundef %317)
  store i32 %318, ptr %298, align 4, !tbaa !152
  br label %319

319:                                              ; preds = %316, %313, %310
  store ptr null, ptr %300, align 8, !tbaa !145
  store i32 2147483647, ptr %311, align 4, !tbaa !150
  store i32 2147483647, ptr %302, align 8, !tbaa !146
  br label %320

320:                                              ; preds = %319, %295
  %321 = getelementptr inbounds i8, ptr %4, i64 7152
  store i32 2147483647, ptr %321, align 8, !tbaa !148
  %322 = getelementptr inbounds i8, ptr %4, i64 6608
  %323 = load i32, ptr %322, align 8, !tbaa !156
  %324 = getelementptr inbounds i8, ptr %4, i64 6592
  %325 = load i32, ptr %324, align 8, !tbaa !157
  %326 = icmp eq i32 %323, %325
  br i1 %326, label %328, label %327

327:                                              ; preds = %320
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.1, i32 noundef 3679, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

328:                                              ; preds = %320
  %329 = getelementptr inbounds i8, ptr %4, i64 208
  %330 = load float, ptr %329, align 8, !tbaa !158
  %331 = fcmp ult float %330, 0.000000e+00
  br i1 %331, label %336, label %332

332:                                              ; preds = %328
  %333 = load double, ptr %39, align 8, !tbaa !70
  %334 = fptrunc double %333 to float
  %335 = fsub float %334, %330
  br label %336

336:                                              ; preds = %328, %332
  %337 = phi float [ %335, %332 ], [ 0x47EFFFFFE0000000, %328 ]
  %.not245253 = icmp eq i32 %323, 0
  br i1 %.not245253, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %356, %336
  %338 = load ptr, ptr %251, align 8, !tbaa !132
  %.not246 = icmp eq ptr %338, null
  br i1 %.not246, label %364, label %359

.lr.ph:                                           ; preds = %336, %356
  %.0199254 = phi i32 [ %357, %356 ], [ 0, %336 ]
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %324, i32 noundef %.0199254)
  %340 = load ptr, ptr %339, align 8, !tbaa !5
  %341 = getelementptr inbounds i8, ptr %340, i64 126
  %342 = load i8, ptr %341, align 2, !tbaa !133, !range !64, !noundef !65
  %343 = getelementptr inbounds i8, ptr %340, i64 127
  store i8 %342, ptr %343, align 1, !tbaa !159
  %344 = getelementptr inbounds i8, ptr %340, i64 136
  store i16 0, ptr %344, align 8, !tbaa !160
  store i8 0, ptr %341, align 2, !tbaa !133
  %345 = getelementptr inbounds i8, ptr %340, i64 128
  store i8 0, ptr %345, align 8, !tbaa !161
  %346 = trunc nuw i8 %342 to i1
  br i1 %346, label %356, label %347

347:                                              ; preds = %.lr.ph
  %348 = getelementptr inbounds i8, ptr %340, i64 936
  %349 = load i8, ptr %348, align 8, !tbaa !162, !range !64, !noundef !65
  %350 = trunc nuw i8 %349 to i1
  br i1 %350, label %356, label %351

351:                                              ; preds = %347
  %352 = getelementptr inbounds i8, ptr %340, i64 596
  %353 = load float, ptr %352, align 4, !tbaa !163
  %354 = fcmp olt float %353, %337
  br i1 %354, label %355, label %356

355:                                              ; preds = %351
  call void @_ZN5ImGui31GcCompactTransientWindowBuffersEP11ImGuiWindow(ptr noundef nonnull %340)
  br label %356

356:                                              ; preds = %355, %351, %347, %.lr.ph
  %357 = add nuw nsw i32 %.0199254, 1
  %358 = load i32, ptr %324, align 8, !tbaa !157
  %.not245 = icmp eq i32 %357, %358
  br i1 %.not245, label %._crit_edge, label %.lr.ph, !llvm.loop !164

359:                                              ; preds = %._crit_edge
  %360 = getelementptr inbounds i8, ptr %338, i64 127
  %361 = load i8, ptr %360, align 1, !tbaa !159, !range !64, !noundef !65
  %362 = trunc nuw i8 %361 to i1
  br i1 %362, label %364, label %363

363:                                              ; preds = %359
  call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_(ptr noundef null, ptr noundef null)
  br label %364

364:                                              ; preds = %363, %359, %._crit_edge
  %365 = getelementptr inbounds i8, ptr %4, i64 6640
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %365, i32 noundef 0)
  %366 = getelementptr inbounds i8, ptr %4, i64 7024
  call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %366, i32 noundef 0)
  %367 = load ptr, ptr %251, align 8, !tbaa !132
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %367, i1 noundef zeroext false)
  call void @_ZN5ImGuiL25UpdateDebugToolItemPickerEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 4.000000e+02, float noundef 4.000000e+02)
  call void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8) %3, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  %368 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef nonnull @.str.29, ptr noundef null, i32 noundef 0)
  %369 = getelementptr inbounds i8, ptr %4, i64 2
  store i8 1, ptr %369, align 2, !tbaa !165
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20NewFrameSanityChecksv() local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui23LoadIniSettingsFromDiskEPKc(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14SetCurrentFontEP6ImFont(ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(113)) local_unnamed_addr #1 align 2

declare void @_ZN10ImDrawList5ClearEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #8

declare void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) local_unnamed_addr #8

declare void @_ZN10ImDrawList22PushClipRectFullScreenEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawData5ClearEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL9NavUpdateEv() local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL17UpdateMouseInputsEv() local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL16UpdateMouseWheelEv() local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsKeyPressedMapEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL13ImModPositiveii(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_(ptr noundef, ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL25UpdateDebugToolItemPickerEv() local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind }

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass