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

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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.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.0 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.18 = 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.ImGuiStorage = type { %struct.ImVector.1 }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.26 = 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 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, i8, i8, [4 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i8, i8, [6 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, %struct.ImVector.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.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [4 x i8] }>
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type { i32, float, i8, i32 }
%struct.ImVector.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.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%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.19 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%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 }

@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 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) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z8ImStrdupPKc(ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9ImHashStrPKcmj(ptr noundef, i64 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ImGuiWindowC2EP12ImGuiContextPKc(ptr noundef nonnull align 8 dereferenceable(948) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImRect, align 4
  %19 = alloca %struct.ImRect, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  %21 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 3
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %21)
  %22 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 4
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %22)
  %23 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 5
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %23)
  %24 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 6
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %24)
  %25 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 7
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %25)
  %26 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 8
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %26)
  %27 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 14
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 15
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %28)
  %29 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 16
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %29)
  %30 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 17
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %30)
  %31 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 18
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %31)
  %32 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 46
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %32)
  %33 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 47
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %33)
  %34 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 48
  call void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34)
  %35 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 49
  invoke void @_ZN19ImGuiWindowTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(288) %35)
          to label %36 unwind label %168

36:                                               ; preds = %3
  %37 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 50
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %37)
          to label %38 unwind label %172

38:                                               ; preds = %36
  %39 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 51
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %39)
          to label %40 unwind label %172

40:                                               ; preds = %38
  %41 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 52
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %41)
          to label %42 unwind label %172

42:                                               ; preds = %40
  %43 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 53
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %43)
          to label %44 unwind label %172

44:                                               ; preds = %42
  %45 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 54
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %45)
          to label %46 unwind label %172

46:                                               ; preds = %44
  %47 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 55
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %47)
          to label %48 unwind label %172

48:                                               ; preds = %46
  %49 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 59
  invoke void @_ZN16ImGuiMenuColumnsC1Ev(ptr noundef nonnull align 4 dereferenceable(36) %49)
          to label %50 unwind label %172

50:                                               ; preds = %48
  %51 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 60
  invoke void @_ZN12ImGuiStorageC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51)
          to label %52 unwind label %172

52:                                               ; preds = %50
  %53 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 61
  invoke void @_ZN8ImVectorI12ImGuiColumnsEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53)
          to label %54 unwind label %176

54:                                               ; preds = %52
  %55 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 65
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiContext, ptr %56, i32 0, i32 10
  invoke void @_ZN10ImDrawListC2EPK20ImDrawListSharedData(ptr noundef nonnull align 8 dereferenceable(168) %55, ptr noundef %57)
          to label %58 unwind label %180

58:                                               ; preds = %54
  %59 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 72
  %60 = getelementptr inbounds [2 x %struct.ImRect], ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds %struct.ImRect, ptr %60, i64 2
  br label %62

62:                                               ; preds = %64, %58
  %63 = phi ptr [ %60, %58 ], [ %65, %64 ]
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %63)
          to label %64 unwind label %184

64:                                               ; preds = %62
  %65 = getelementptr inbounds %struct.ImRect, ptr %63, i64 1
  %66 = icmp eq ptr %65, %61
  br i1 %66, label %67, label %62

67:                                               ; preds = %64
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = invoke noundef ptr @_Z8ImStrdupPKc(ptr noundef %68)
          to label %70 unwind label %184

70:                                               ; preds = %67
  %71 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 0
  store ptr %69, ptr %71, align 8, !tbaa !9
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %72, i64 noundef 0, i32 noundef 0)
  %74 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 1
  store i32 %73, ptr %74, align 8, !tbaa !38
  %75 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 48
  %76 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 1
  invoke void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 4 dereferenceable(4) %76)
          to label %77 unwind label %184

77:                                               ; preds = %70
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 2
  store i32 0, ptr %78, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %79 unwind label %188

79:                                               ; preds = %77
  %80 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %80, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %81 unwind label %192

81:                                               ; preds = %79
  %82 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %82, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !40
  %83 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %83, ptr align 4 %82, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %84 unwind label %196

84:                                               ; preds = %81
  %85 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !40
  %86 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %86, ptr align 4 %85, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %87 unwind label %200

87:                                               ; preds = %84
  %88 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %88, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %89 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 9
  store float 0.000000e+00, ptr %89, align 8, !tbaa !42
  %90 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 10
  store float 0.000000e+00, ptr %90, align 4, !tbaa !43
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = call i64 @strlen(ptr noundef %91) #9
  %93 = trunc i64 %92 to i32
  %94 = add nsw i32 %93, 1
  %95 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 11
  store i32 %94, ptr %95, align 8, !tbaa !44
  %96 = invoke noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(948) %20, ptr noundef @.str.6, ptr noundef null)
          to label %97 unwind label %184

97:                                               ; preds = %87
  %98 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 12
  store i32 %96, ptr %98, align 4, !tbaa !45
  %99 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 13
  store i32 0, ptr %99, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %100 unwind label %204

100:                                              ; preds = %97
  %101 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
          to label %102 unwind label %208

102:                                              ; preds = %100
  %103 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %103, ptr align 4 %14, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 5.000000e-01, float noundef 5.000000e-01)
          to label %104 unwind label %212

104:                                              ; preds = %102
  %105 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %106 unwind label %216

106:                                              ; preds = %104
  %107 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %108 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 20
  store i8 0, ptr %108, align 1, !tbaa !47
  %109 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 19
  store i8 0, ptr %109, align 4, !tbaa !48
  %110 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 22
  store i8 0, ptr %110, align 1, !tbaa !49
  %111 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 21
  store i8 0, ptr %111, align 2, !tbaa !50
  %112 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 23
  store i8 0, ptr %112, align 8, !tbaa !51
  %113 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 24
  store i8 0, ptr %113, align 1, !tbaa !52
  %114 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 25
  store i8 0, ptr %114, align 2, !tbaa !53
  %115 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 26
  store i8 0, ptr %115, align 1, !tbaa !54
  %116 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 27
  store i8 0, ptr %116, align 4, !tbaa !55
  %117 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 28
  store i8 0, ptr %117, align 1, !tbaa !56
  %118 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 29
  store i8 0, ptr %118, align 2, !tbaa !57
  %119 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 30
  store i8 -1, ptr %119, align 1, !tbaa !58
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 31
  store i16 0, ptr %120, align 8, !tbaa !59
  %121 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 32
  store i16 -1, ptr %121, align 2, !tbaa !60
  %122 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 33
  store i16 -1, ptr %122, align 4, !tbaa !61
  %123 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 35
  store i32 0, ptr %123, align 8, !tbaa !62
  %124 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 37
  store i8 -1, ptr %124, align 1, !tbaa !63
  %125 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 36
  store i8 -1, ptr %125, align 4, !tbaa !64
  %126 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 38
  store i8 0, ptr %126, align 2, !tbaa !65
  %127 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 39
  store i8 0, ptr %127, align 1, !tbaa !66
  %128 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 40
  store i32 -1, ptr %128, align 8, !tbaa !67
  %129 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 42
  store i32 0, ptr %129, align 8, !tbaa !68
  %130 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 41
  store i32 0, ptr %130, align 4, !tbaa !69
  %131 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 45
  store i32 15, ptr %131, align 4, !tbaa !70
  %132 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 44
  store i32 15, ptr %132, align 8, !tbaa !71
  %133 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 43
  store i32 15, ptr %133, align 4, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
          to label %134 unwind label %220

134:                                              ; preds = %106
  %135 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 47
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %135, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !40
  %136 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 46
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %136, ptr align 4 %135, i64 8, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  invoke void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %137 unwind label %224

137:                                              ; preds = %134
  %138 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 51
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %138, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  %139 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 56
  store i32 -1, ptr %139, align 8, !tbaa !74
  %140 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 57
  store float -1.000000e+00, ptr %140, align 4, !tbaa !75
  %141 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 58
  store float 0.000000e+00, ptr %141, align 8, !tbaa !76
  %142 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 62
  store float 1.000000e+00, ptr %142, align 8, !tbaa !77
  %143 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 63
  store i32 -1, ptr %143, align 4, !tbaa !78
  %144 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 65
  %145 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 64
  store ptr %144, ptr %145, align 8, !tbaa !79
  %146 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 64
  %149 = load ptr, ptr %148, align 8, !tbaa !79
  %150 = getelementptr inbounds %struct.ImDrawList, ptr %149, i32 0, i32 5
  store ptr %147, ptr %150, align 8, !tbaa !80
  %151 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 66
  store ptr null, ptr %151, align 8, !tbaa !81
  %152 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 67
  store ptr null, ptr %152, align 8, !tbaa !82
  %153 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 68
  store ptr null, ptr %153, align 8, !tbaa !83
  %154 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 69
  store ptr null, ptr %154, align 8, !tbaa !84
  %155 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 71
  %156 = getelementptr inbounds [2 x i32], ptr %155, i64 0, i64 1
  store i32 0, ptr %156, align 4, !tbaa !85
  %157 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 71
  %158 = getelementptr inbounds [2 x i32], ptr %157, i64 0, i64 0
  store i32 0, ptr %158, align 8, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %19)
          to label %159 unwind label %228

159:                                              ; preds = %137
  %160 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 72
  %161 = getelementptr inbounds [2 x %struct.ImRect], ptr %160, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %161, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !73
  %162 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 72
  %163 = getelementptr inbounds [2 x %struct.ImRect], ptr %162, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %163, ptr align 4 %161, i64 16, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  %164 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 70
  store ptr null, ptr %164, align 8, !tbaa !86
  %165 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 73
  store i8 0, ptr %165, align 8, !tbaa !87
  %166 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 76
  store i32 0, ptr %166, align 8, !tbaa !88
  %167 = getelementptr inbounds %struct.ImGuiWindow, ptr %20, i32 0, i32 75
  store i32 0, ptr %167, align 4, !tbaa !89
  ret void

168:                                              ; preds = %3
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %7, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %8, align 4
  br label %236

172:                                              ; preds = %50, %48, %46, %44, %42, %40, %38, %36
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %7, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %8, align 4
  br label %235

176:                                              ; preds = %52
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %7, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %8, align 4
  br label %234

180:                                              ; preds = %54
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %7, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %8, align 4
  br label %233

184:                                              ; preds = %87, %70, %67, %62
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %7, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %8, align 4
  br label %232

188:                                              ; preds = %77
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %7, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %232

192:                                              ; preds = %79
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %7, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %232

196:                                              ; preds = %81
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %7, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %232

200:                                              ; preds = %84
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %7, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %232

204:                                              ; preds = %97
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %7, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %232

208:                                              ; preds = %100
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %7, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %232

212:                                              ; preds = %102
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %7, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %232

216:                                              ; preds = %104
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %7, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %232

220:                                              ; preds = %106
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %7, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %232

224:                                              ; preds = %134
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %7, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %232

228:                                              ; preds = %137
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %7, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %232

232:                                              ; preds = %228, %224, %220, %216, %212, %208, %204, %200, %196, %192, %188, %184
  call void @_ZN10ImDrawListD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %55) #8
  br label %233

233:                                              ; preds = %232, %180
  call void @_ZN8ImVectorI12ImGuiColumnsED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #8
  br label %234

234:                                              ; preds = %233, %176
  call void @_ZN12ImGuiStorageD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #8
  br label %235

235:                                              ; preds = %234, %172
  call void @_ZN19ImGuiWindowTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(288) %35) #8
  br label %236

236:                                              ; preds = %235, %168
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #8
  br label %237

237:                                              ; preds = %236
  %238 = load ptr, ptr %7, align 8
  %239 = load i32, ptr %8, align 4
  %240 = insertvalue { ptr, i32 } poison, ptr %238, 0
  %241 = insertvalue { ptr, i32 } %240, i32 %239, 1
  resume { ptr, i32 } %241
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiWindowTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(288)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

declare void @_ZN16ImGuiMenuColumnsC1Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12ImGuiStorageC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorI12ImGuiColumnsEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawListC2EPK20ImDrawListSharedData(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorI12ImGuiColumnsED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12ImGuiStorageD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiWindowTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(288)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

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

!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, !6, i64 0}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !13, i64 64, !13, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !12, i64 84, !12, i64 92, !12, i64 100, !12, i64 108, !12, i64 116, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !14, i64 130, !14, i64 131, !14, i64 132, !14, i64 133, !14, i64 134, !7, i64 135, !15, i64 136, !15, i64 138, !15, i64 140, !11, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !14, i64 151, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !12, i64 176, !12, i64 184, !16, i64 192, !17, i64 208, !18, i64 496, !18, i64 512, !18, i64 528, !18, i64 544, !18, i64 560, !18, i64 576, !11, i64 592, !13, i64 596, !13, i64 600, !25, i64 604, !26, i64 640, !28, i64 656, !13, i64 672, !11, i64 676, !6, i64 680, !29, i64 688, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 904, !14, i64 936, !11, i64 940, !11, i64 944}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !13, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !18, i64 72, !18, i64 88, !19, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !14, i64 121, !14, i64 122, !12, i64 124, !20, i64 136, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !13, i64 180, !13, i64 184, !21, i64 192, !22, i64 208, !22, i64 224, !23, i64 240, !7, i64 256, !24, i64 268, !24, i64 272, !24, i64 276, !6, i64 280}
!18 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!19 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImVec1", !13, i64 0}
!25 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 24}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !11, i64 76, !6, i64 80, !6, i64 88, !33, i64 96, !34, i64 112, !35, i64 128, !36, i64 144}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!36 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!10, !11, i64 8}
!39 = !{!10, !11, i64 12}
!40 = !{i64 0, i64 4, !41, i64 4, i64 4, !41}
!41 = !{!13, !13, i64 0}
!42 = !{!10, !13, i64 64}
!43 = !{!10, !13, i64 68}
!44 = !{!10, !11, i64 72}
!45 = !{!10, !11, i64 76}
!46 = !{!10, !11, i64 80}
!47 = !{!10, !14, i64 125}
!48 = !{!10, !14, i64 124}
!49 = !{!10, !14, i64 127}
!50 = !{!10, !14, i64 126}
!51 = !{!10, !14, i64 128}
!52 = !{!10, !14, i64 129}
!53 = !{!10, !14, i64 130}
!54 = !{!10, !14, i64 131}
!55 = !{!10, !14, i64 132}
!56 = !{!10, !14, i64 133}
!57 = !{!10, !14, i64 134}
!58 = !{!10, !7, i64 135}
!59 = !{!10, !15, i64 136}
!60 = !{!10, !15, i64 138}
!61 = !{!10, !15, i64 140}
!62 = !{!10, !11, i64 144}
!63 = !{!10, !7, i64 149}
!64 = !{!10, !7, i64 148}
!65 = !{!10, !7, i64 150}
!66 = !{!10, !14, i64 151}
!67 = !{!10, !11, i64 152}
!68 = !{!10, !11, i64 160}
!69 = !{!10, !11, i64 156}
!70 = !{!10, !11, i64 172}
!71 = !{!10, !11, i64 168}
!72 = !{!10, !11, i64 164}
!73 = !{i64 0, i64 4, !41, i64 4, i64 4, !41, i64 8, i64 4, !41, i64 12, i64 4, !41}
!74 = !{!10, !11, i64 592}
!75 = !{!10, !13, i64 596}
!76 = !{!10, !13, i64 600}
!77 = !{!10, !13, i64 672}
!78 = !{!10, !11, i64 676}
!79 = !{!10, !6, i64 680}
!80 = !{!29, !6, i64 64}
!81 = !{!10, !6, i64 856}
!82 = !{!10, !6, i64 864}
!83 = !{!10, !6, i64 872}
!84 = !{!10, !6, i64 880}
!85 = !{!11, !11, i64 0}
!86 = !{!10, !6, i64 888}
!87 = !{!10, !14, i64 936}
!88 = !{!10, !11, i64 944}
!89 = !{!10, !11, i64 940}


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

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

@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 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) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z8ImStrdupPKc(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9ImHashStrPKcmj(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ImGuiWindowC2EP12ImGuiContextPKc(ptr noundef nonnull align 8 dereferenceable(948) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca %struct.ImRect, align 4
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %16)
  %17 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %17)
  %18 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %18)
  %19 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 84
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 92
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %22)
  %23 = getelementptr inbounds i8, ptr %0, i64 100
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %23)
  %24 = getelementptr inbounds i8, ptr %0, i64 108
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %24)
  %25 = getelementptr inbounds i8, ptr %0, i64 116
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %25)
  %26 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28)
  %29 = getelementptr inbounds i8, ptr %0, i64 208
  invoke void @_ZN19ImGuiWindowTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(288) %29)
          to label %30 unwind label %101

30:                                               ; preds = %3
  %31 = getelementptr inbounds i8, ptr %0, i64 496
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %31)
          to label %32 unwind label %103

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %0, i64 512
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %33)
          to label %34 unwind label %103

34:                                               ; preds = %32
  %35 = getelementptr inbounds i8, ptr %0, i64 528
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %35)
          to label %36 unwind label %103

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %0, i64 544
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %37)
          to label %38 unwind label %103

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %0, i64 560
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %39)
          to label %40 unwind label %103

40:                                               ; preds = %38
  %41 = getelementptr inbounds i8, ptr %0, i64 576
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %41)
          to label %42 unwind label %103

42:                                               ; preds = %40
  %43 = getelementptr inbounds i8, ptr %0, i64 604
  invoke void @_ZN16ImGuiMenuColumnsC1Ev(ptr noundef nonnull align 4 dereferenceable(36) %43)
          to label %44 unwind label %103

44:                                               ; preds = %42
  %45 = getelementptr inbounds i8, ptr %0, i64 640
  invoke void @_ZN12ImGuiStorageC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %46 unwind label %103

46:                                               ; preds = %44
  %47 = getelementptr inbounds i8, ptr %0, i64 656
  tail call void @_ZN8ImVectorI12ImGuiColumnsEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 688
  %49 = getelementptr inbounds i8, ptr %1, i64 6424
  invoke void @_ZN10ImDrawListC2EPK20ImDrawListSharedData(ptr noundef nonnull align 8 dereferenceable(168) %48, ptr noundef nonnull %49)
          to label %.preheader.preheader unwind label %105

.preheader.preheader:                             ; preds = %46
  %.ptr = getelementptr inbounds i8, ptr %0, i64 904
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr)
          to label %.preheader.1 unwind label %.loopexit

.preheader.1:                                     ; preds = %.preheader.preheader
  %.ptr.1 = getelementptr inbounds i8, ptr %0, i64 920
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.1)
          to label %50 unwind label %.loopexit

50:                                               ; preds = %.preheader.1
  %51 = invoke noundef ptr @_Z8ImStrdupPKc(ptr noundef %2)
          to label %52 unwind label %.loopexit.split-lp

52:                                               ; preds = %50
  store ptr %51, ptr %0, align 8, !tbaa !5
  %53 = tail call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %2, i64 noundef 0, i32 noundef 0)
  %54 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %53, ptr %54, align 8, !tbaa !37
  invoke void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %55 unwind label %.loopexit.split-lp

55:                                               ; preds = %52
  %56 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 0, ptr %56, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %57 = load i64, ptr %4, align 8
  store i64 %57, ptr %15, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %58 = load i64, ptr %5, align 8
  store i64 %58, ptr %17, align 8
  store i64 %58, ptr %16, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %59 = load i64, ptr %6, align 8
  store i64 %59, ptr %19, align 8
  store i64 %59, ptr %18, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %60 = load i64, ptr %7, align 8
  store i64 %60, ptr %20, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  %61 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x float> zeroinitializer, ptr %61, align 8, !tbaa !39
  %62 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #10
  %63 = trunc i64 %62 to i32
  %64 = add nsw i32 %63, 1
  %65 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %64, ptr %65, align 8, !tbaa !40
  %66 = invoke noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(948) %0, ptr noundef nonnull @.str.6, ptr noundef null)
          to label %67 unwind label %.loopexit.split-lp

67:                                               ; preds = %55
  %68 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 %66, ptr %68, align 4, !tbaa !41
  %69 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 0, ptr %69, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %70 = load i64, ptr %8, align 8
  store i64 %70, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %71 = load i64, ptr %9, align 8
  store i64 %71, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 5.000000e-01, float noundef 5.000000e-01)
  %72 = load i64, ptr %10, align 8
  store i64 %72, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %73 = load i64, ptr %11, align 8
  store i64 %73, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  %74 = getelementptr inbounds i8, ptr %0, i64 124
  %75 = getelementptr inbounds i8, ptr %0, i64 135
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(11) %74, i8 0, i64 11, i1 false)
  store i8 -1, ptr %75, align 1, !tbaa !43
  %76 = getelementptr inbounds i8, ptr %0, i64 136
  store i16 0, ptr %76, align 8, !tbaa !44
  %77 = getelementptr inbounds i8, ptr %0, i64 138
  store i16 -1, ptr %77, align 2, !tbaa !45
  %78 = getelementptr inbounds i8, ptr %0, i64 140
  store i16 -1, ptr %78, align 4, !tbaa !46
  %79 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 0, ptr %79, align 8, !tbaa !47
  %80 = getelementptr inbounds i8, ptr %0, i64 148
  store <4 x i8> <i8 -1, i8 -1, i8 0, i8 0>, ptr %80, align 4, !tbaa !48
  %81 = getelementptr inbounds i8, ptr %0, i64 152
  %82 = getelementptr inbounds i8, ptr %0, i64 172
  store i32 15, ptr %82, align 4, !tbaa !49
  %83 = getelementptr inbounds i8, ptr %0, i64 168
  store i32 15, ptr %83, align 8, !tbaa !50
  store <4 x i32> <i32 -1, i32 0, i32 0, i32 15>, ptr %81, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %84 = load i64, ptr %12, align 8
  store i64 %84, ptr %27, align 8
  store i64 %84, ptr %26, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  invoke void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %85 unwind label %107

85:                                               ; preds = %67
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !52
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  %86 = getelementptr inbounds i8, ptr %0, i64 592
  store i32 -1, ptr %86, align 8, !tbaa !53
  %87 = getelementptr inbounds i8, ptr %0, i64 596
  store <2 x float> <float -1.000000e+00, float 0.000000e+00>, ptr %87, align 4, !tbaa !39
  %88 = getelementptr inbounds i8, ptr %0, i64 672
  store float 1.000000e+00, ptr %88, align 8, !tbaa !54
  %89 = getelementptr inbounds i8, ptr %0, i64 676
  store i32 -1, ptr %89, align 4, !tbaa !55
  %90 = getelementptr inbounds i8, ptr %0, i64 680
  store ptr %48, ptr %90, align 8, !tbaa !56
  %91 = load ptr, ptr %0, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %0, i64 752
  store ptr %91, ptr %92, align 8, !tbaa !57
  %93 = getelementptr inbounds i8, ptr %0, i64 856
  %94 = getelementptr inbounds i8, ptr %0, i64 896
  %95 = getelementptr inbounds i8, ptr %0, i64 900
  store i32 0, ptr %95, align 4, !tbaa !51
  store i32 0, ptr %94, align 8, !tbaa !51
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %93, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  invoke void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %96 unwind label %109

96:                                               ; preds = %85
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.1, ptr noundef nonnull align 4 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !52
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.ptr, ptr noundef nonnull align 4 dereferenceable(16) %14, i64 16, i1 false)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  %97 = getelementptr inbounds i8, ptr %0, i64 888
  store ptr null, ptr %97, align 8, !tbaa !58
  %98 = getelementptr inbounds i8, ptr %0, i64 936
  store i8 0, ptr %98, align 8, !tbaa !59
  %99 = getelementptr inbounds i8, ptr %0, i64 944
  store i32 0, ptr %99, align 8, !tbaa !60
  %100 = getelementptr inbounds i8, ptr %0, i64 940
  store i32 0, ptr %100, align 4, !tbaa !61
  ret void

101:                                              ; preds = %3
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %114

103:                                              ; preds = %44, %42, %40, %38, %36, %34, %32, %30
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %113

105:                                              ; preds = %46
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %112

.loopexit:                                        ; preds = %.preheader.1, %.preheader.preheader
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %111

.loopexit.split-lp:                               ; preds = %50, %52, %55
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %111

107:                                              ; preds = %67
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %111

109:                                              ; preds = %85
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %111

111:                                              ; preds = %.loopexit, %.loopexit.split-lp, %109, %107
  %.pn = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN10ImDrawListD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %48) #9
  br label %112

112:                                              ; preds = %111, %105
  %.pn.pn = phi { ptr, i32 } [ %.pn, %111 ], [ %106, %105 ]
  call void @_ZN8ImVectorI12ImGuiColumnsED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #9
  call void @_ZN12ImGuiStorageD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #9
  br label %113

113:                                              ; preds = %112, %103
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %112 ], [ %104, %103 ]
  call void @_ZN19ImGuiWindowTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(288) %29) #9
  br label %114

114:                                              ; preds = %113, %101
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %113 ], [ %102, %101 ]
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  resume { ptr, i32 } %.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiWindowTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(288)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

declare void @_ZN16ImGuiMenuColumnsC1Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12ImGuiStorageC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorI12ImGuiColumnsEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawListC2EPK20ImDrawListSharedData(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorI12ImGuiColumnsED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12ImGuiStorageD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiWindowTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(288)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

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

!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, !7, i64 0}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !11, i64 84, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !13, i64 134, !8, i64 135, !14, i64 136, !14, i64 138, !14, i64 140, !10, i64 144, !8, i64 148, !8, i64 149, !8, i64 150, !13, i64 151, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !11, i64 176, !11, i64 184, !15, i64 192, !16, i64 208, !17, i64 496, !17, i64 512, !17, i64 528, !17, i64 544, !17, i64 560, !17, i64 576, !10, i64 592, !12, i64 596, !12, i64 600, !24, i64 604, !25, i64 640, !27, i64 656, !12, i64 672, !10, i64 676, !7, i64 680, !28, i64 688, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !8, i64 896, !8, i64 904, !13, i64 936, !10, i64 940, !10, i64 944}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !12, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !17, i64 72, !17, i64 88, !18, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120, !13, i64 121, !13, i64 122, !11, i64 124, !19, i64 136, !7, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !12, i64 180, !12, i64 184, !20, i64 192, !21, i64 208, !21, i64 224, !22, i64 240, !8, i64 256, !23, i64 268, !23, i64 272, !23, i64 276, !7, i64 280}
!17 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!"_ZTS6ImVec1", !12, i64 0}
!24 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 12, !8, i64 24}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !10, i64 76, !7, i64 80, !7, i64 88, !32, i64 96, !33, i64 112, !34, i64 128, !35, i64 144}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !36, i64 8}
!36 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!37 = !{!6, !10, i64 8}
!38 = !{!6, !10, i64 12}
!39 = !{!12, !12, i64 0}
!40 = !{!6, !10, i64 72}
!41 = !{!6, !10, i64 76}
!42 = !{!6, !10, i64 80}
!43 = !{!6, !8, i64 135}
!44 = !{!6, !14, i64 136}
!45 = !{!6, !14, i64 138}
!46 = !{!6, !14, i64 140}
!47 = !{!6, !10, i64 144}
!48 = !{!8, !8, i64 0}
!49 = !{!6, !10, i64 172}
!50 = !{!6, !10, i64 168}
!51 = !{!10, !10, i64 0}
!52 = !{i64 0, i64 4, !39, i64 4, i64 4, !39, i64 8, i64 4, !39, i64 12, i64 4, !39}
!53 = !{!6, !10, i64 592}
!54 = !{!6, !12, i64 672}
!55 = !{!6, !10, i64 676}
!56 = !{!6, !7, i64 680}
!57 = !{!28, !7, i64 64}
!58 = !{!6, !7, i64 888}
!59 = !{!6, !13, i64 936}
!60 = !{!6, !10, i64 944}
!61 = !{!6, !10, i64 940}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass