; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui/imgui.ll (ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE)

; 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.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, 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, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.17, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.23, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8], ptr, ptr, i32, i32, %struct.ImRect, i16, i8, [5 x i8] }>
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVec2 = type { float, float }
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.5, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.21, %struct.ImVector.15, %struct.ImVector.15, %struct.ImVector.22, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.24, %struct.ImVector, %struct.ImVector.25, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.26, %struct.ImVector.27, %struct.ImVector.28, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.29 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindowSettings = type { i32, %struct.ImVec2ih, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, i32, i16, i8, i8 }
%struct.ImGuiDockNode = type <{ i32, i32, i32, [4 x i8], ptr, [2 x ptr], %struct.ImVector.5, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, %struct.ImGuiWindowClass, i32, [4 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i16, i8, [5 x i8] }>

@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE = external hidden unnamed_addr constant [81 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [39 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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)) #4 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE(i32 noundef %0, i32 noundef %1, ptr noundef %2) #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.ImVector.17, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %struct.ImVector.17, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !9
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %30

29:                                               ; preds = %3
  br label %32

30:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.212, ptr noundef @.str.3, i32 noundef 14590, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

31:                                               ; No predecessors!
  br label %32

32:                                               ; preds = %31, %29
  %33 = load i32, ptr %5, align 4, !tbaa !5
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %32
  br label %38

36:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.213, ptr noundef @.str.3, i32 noundef 14591, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  %39 = load ptr, ptr %6, align 8, !tbaa !9
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %42

41:                                               ; preds = %38
  br label %44

42:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.214, ptr noundef @.str.3, i32 noundef 14592, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %41
  %45 = load ptr, ptr %6, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct.ImVector.37, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !11
  %48 = srem i32 %47, 2
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %44
  br label %53

51:                                               ; preds = %44
  call void @__assert_fail(ptr noundef @.str.215, ptr noundef @.str.3, i32 noundef 14593, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %50
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  call void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = load i32, ptr %5, align 4, !tbaa !5
  invoke void @_ZN5ImGui19DockBuilderCopyNodeEjjP8ImVectorIjE(i32 noundef %54, i32 noundef %55, ptr noundef %7)
          to label %56 unwind label %65

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  invoke void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %57 unwind label %69

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %174, %57
  %59 = load i32, ptr %11, align 4, !tbaa !5
  %60 = load ptr, ptr %6, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.ImVector.37, ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !11
  %63 = icmp slt i32 %59, %62
  br i1 %63, label %73, label %64

64:                                               ; preds = %58
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %182

65:                                               ; preds = %53
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %8, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %9, align 4
  br label %264

69:                                               ; preds = %56
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %8, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %9, align 4
  br label %263

73:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %74 = load ptr, ptr %6, align 8, !tbaa !9
  %75 = load i32, ptr %11, align 4, !tbaa !5
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIPKcEixEi(ptr noundef nonnull align 8 dereferenceable(16) %74, i32 noundef %75)
          to label %77 unwind label %97

77:                                               ; preds = %73
  %78 = load ptr, ptr %76, align 8, !tbaa !9
  store ptr %78, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %79 = load ptr, ptr %6, align 8, !tbaa !9
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIPKcEixEi(ptr noundef nonnull align 8 dereferenceable(16) %79, i32 noundef %81)
          to label %83 unwind label %101

83:                                               ; preds = %77
  %84 = load ptr, ptr %82, align 8, !tbaa !9
  store ptr %84, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %85 = load ptr, ptr %13, align 8, !tbaa !9
  %86 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %85, i64 noundef 0, i32 noundef 0)
  store i32 %86, ptr %15, align 4, !tbaa !5
  invoke void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %87 unwind label %105

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %88 = load i32, ptr %15, align 4, !tbaa !5
  %89 = invoke noundef ptr @_ZN5ImGui14FindWindowByIDEj(i32 noundef %88)
          to label %90 unwind label %109

90:                                               ; preds = %87
  store ptr %89, ptr %17, align 8, !tbaa !9
  %91 = load ptr, ptr %17, align 8, !tbaa !9
  %92 = icmp ne ptr %91, null
  br i1 %92, label %93, label %113

93:                                               ; preds = %90
  %94 = load ptr, ptr %17, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct.ImGuiWindow, ptr %94, i32 0, i32 95
  %96 = load i32, ptr %95, align 8, !tbaa !13
  store i32 %96, ptr %16, align 4, !tbaa !5
  br label %128

97:                                               ; preds = %73
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  br label %181

101:                                              ; preds = %77
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %8, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %9, align 4
  br label %180

105:                                              ; preds = %83
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  br label %179

109:                                              ; preds = %87
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  br label %135

113:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %114 = load i32, ptr %15, align 4, !tbaa !5
  %115 = invoke noundef ptr @_ZN5ImGui18FindWindowSettingsEj(i32 noundef %114)
          to label %116 unwind label %123

116:                                              ; preds = %113
  store ptr %115, ptr %18, align 8, !tbaa !9
  %117 = load ptr, ptr %18, align 8, !tbaa !9
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %127

119:                                              ; preds = %116
  %120 = load ptr, ptr %18, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.ImGuiWindowSettings, ptr %120, i32 0, i32 5
  %122 = load i32, ptr %121, align 4, !tbaa !45
  store i32 %122, ptr %16, align 4, !tbaa !5
  br label %127

123:                                              ; preds = %113
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %8, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %135

127:                                              ; preds = %119, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %128

128:                                              ; preds = %127, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %129

129:                                              ; preds = %154, %128
  %130 = load i32, ptr %20, align 4, !tbaa !5
  %131 = getelementptr inbounds %struct.ImVector.17, ptr %7, i32 0, i32 0
  %132 = load i32, ptr %131, align 8, !tbaa !47
  %133 = icmp slt i32 %130, %132
  br i1 %133, label %136, label %134

134:                                              ; preds = %129
  store i32 5, ptr %12, align 4
  br label %157

135:                                              ; preds = %123, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %178

136:                                              ; preds = %129
  %137 = load i32, ptr %20, align 4, !tbaa !5
  %138 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %137)
          to label %139 unwind label %149

139:                                              ; preds = %136
  %140 = load i32, ptr %138, align 4, !tbaa !5
  %141 = load i32, ptr %16, align 4, !tbaa !5
  %142 = icmp eq i32 %140, %141
  br i1 %142, label %143, label %153

143:                                              ; preds = %139
  %144 = load i32, ptr %20, align 4, !tbaa !5
  %145 = add nsw i32 %144, 1
  %146 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %145)
          to label %147 unwind label %149

147:                                              ; preds = %143
  %148 = load i32, ptr %146, align 4, !tbaa !5
  store i32 %148, ptr %19, align 4, !tbaa !5
  store i32 5, ptr %12, align 4
  br label %157

149:                                              ; preds = %143, %136
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %8, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %177

153:                                              ; preds = %139
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %20, align 4, !tbaa !5
  %156 = add nsw i32 %155, 2
  store i32 %156, ptr %20, align 4, !tbaa !5
  br label %129, !llvm.loop !48

157:                                              ; preds = %147, %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %19, align 4, !tbaa !5
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %169

161:                                              ; preds = %158
  %162 = load ptr, ptr %14, align 8, !tbaa !9
  %163 = load i32, ptr %19, align 4, !tbaa !5
  invoke void @_ZN5ImGui21DockBuilderDockWindowEPKcj(ptr noundef %162, i32 noundef %163)
          to label %164 unwind label %165

164:                                              ; preds = %161
  br label %173

165:                                              ; preds = %169, %161
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %8, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %9, align 4
  br label %177

169:                                              ; preds = %158
  %170 = load ptr, ptr %13, align 8, !tbaa !9
  %171 = load ptr, ptr %14, align 8, !tbaa !9
  invoke void @_ZN5ImGui29DockBuilderCopyWindowSettingsEPKcS1_(ptr noundef %170, ptr noundef %171)
          to label %172 unwind label %165

172:                                              ; preds = %169
  br label %173

173:                                              ; preds = %172, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %11, align 4, !tbaa !5
  %176 = add nsw i32 %175, 2
  store i32 %176, ptr %11, align 4, !tbaa !5
  br label %58, !llvm.loop !50

177:                                              ; preds = %165, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %178

178:                                              ; preds = %177, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %179

179:                                              ; preds = %178, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %180

180:                                              ; preds = %179, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %181

181:                                              ; preds = %180, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %262

182:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %257, %182
  %184 = load i32, ptr %21, align 4, !tbaa !5
  %185 = getelementptr inbounds %struct.ImVector.17, ptr %7, i32 0, i32 0
  %186 = load i32, ptr %185, align 8, !tbaa !47
  %187 = icmp slt i32 %184, %186
  br i1 %187, label %189, label %188

188:                                              ; preds = %183
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %261

189:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %190 = load i32, ptr %21, align 4, !tbaa !5
  %191 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %190)
          to label %192 unwind label %213

192:                                              ; preds = %189
  %193 = load i32, ptr %191, align 4, !tbaa !5
  store i32 %193, ptr %22, align 4, !tbaa !5
  %194 = load i32, ptr %22, align 4, !tbaa !5
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %256

196:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %197 = load i32, ptr %21, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  %199 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %198)
          to label %200 unwind label %217

200:                                              ; preds = %196
  %201 = load i32, ptr %199, align 4, !tbaa !5
  store i32 %201, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %202 = load i32, ptr %22, align 4, !tbaa !5
  %203 = invoke noundef ptr @_ZN5ImGui18DockBuilderGetNodeEj(i32 noundef %202)
          to label %204 unwind label %221

204:                                              ; preds = %200
  store ptr %203, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %250, %204
  %206 = load i32, ptr %25, align 4, !tbaa !5
  %207 = load ptr, ptr %24, align 8, !tbaa !9
  %208 = getelementptr inbounds %struct.ImGuiDockNode, ptr %207, i32 0, i32 6
  %209 = getelementptr inbounds %struct.ImVector.5, ptr %208, i32 0, i32 0
  %210 = load i32, ptr %209, align 8, !tbaa !51
  %211 = icmp slt i32 %206, %210
  br i1 %211, label %225, label %212

212:                                              ; preds = %205
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %253

213:                                              ; preds = %189
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %8, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %9, align 4
  br label %260

217:                                              ; preds = %196
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %8, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %9, align 4
  br label %255

221:                                              ; preds = %200
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %8, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %9, align 4
  br label %254

225:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %226 = load ptr, ptr %24, align 8, !tbaa !9
  %227 = getelementptr inbounds %struct.ImGuiDockNode, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %25, align 4, !tbaa !5
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %227, i32 noundef %228)
          to label %230 unwind label %237

230:                                              ; preds = %225
  %231 = load ptr, ptr %229, align 8, !tbaa !9
  store ptr %231, ptr %26, align 8, !tbaa !9
  %232 = load ptr, ptr %26, align 8, !tbaa !9
  %233 = getelementptr inbounds %struct.ImGuiWindow, ptr %232, i32 0, i32 1
  %234 = invoke noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %233)
          to label %235 unwind label %237

235:                                              ; preds = %230
  br i1 %234, label %236, label %241

236:                                              ; preds = %235
  store i32 13, ptr %12, align 4
  br label %247

237:                                              ; preds = %241, %230, %225
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %8, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %254

241:                                              ; preds = %235
  %242 = load ptr, ptr %26, align 8, !tbaa !9
  %243 = getelementptr inbounds %struct.ImGuiWindow, ptr %242, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8, !tbaa !55
  %245 = load i32, ptr %23, align 4, !tbaa !5
  invoke void @_ZN5ImGui21DockBuilderDockWindowEPKcj(ptr noundef %244, i32 noundef %245)
          to label %246 unwind label %237

246:                                              ; preds = %241
  store i32 0, ptr %12, align 4
  br label %247

247:                                              ; preds = %246, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  %248 = load i32, ptr %12, align 4
  switch i32 %248, label %270 [
    i32 0, label %249
    i32 13, label %250
  ]

249:                                              ; preds = %247
  br label %250

250:                                              ; preds = %249, %247
  %251 = load i32, ptr %25, align 4, !tbaa !5
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %25, align 4, !tbaa !5
  br label %205, !llvm.loop !56

253:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %256

254:                                              ; preds = %237, %221
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %255

255:                                              ; preds = %254, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %260

256:                                              ; preds = %253, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %21, align 4, !tbaa !5
  %259 = add nsw i32 %258, 2
  store i32 %259, ptr %21, align 4, !tbaa !5
  br label %183, !llvm.loop !57

260:                                              ; preds = %255, %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %262

261:                                              ; preds = %188
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  ret void

262:                                              ; preds = %260, %181
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %263

263:                                              ; preds = %262, %69
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %264

264:                                              ; preds = %263, %65
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %265

265:                                              ; preds = %264
  %266 = load ptr, ptr %8, align 8
  %267 = load i32, ptr %9, align 4
  %268 = insertvalue { ptr, i32 } poison, ptr %266, 0
  %269 = insertvalue { ptr, i32 } %268, i32 %267, 1
  resume { ptr, i32 } %269

270:                                              ; preds = %247
  unreachable
}

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS8ImVectorIPKcE", !6, i64 0, !6, i64 4, !10, i64 8}
!13 = !{!14, !6, i64 1136}
!14 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !15, i64 20, !10, i64 48, !6, i64 56, !17, i64 60, !6, i64 68, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !18, i64 120, !18, i64 124, !6, i64 128, !6, i64 132, !6, i64 136, !17, i64 140, !17, i64 148, !17, i64 156, !17, i64 164, !17, i64 172, !16, i64 180, !16, i64 181, !16, i64 182, !16, i64 183, !16, i64 184, !16, i64 185, !16, i64 186, !16, i64 187, !16, i64 188, !16, i64 189, !16, i64 190, !16, i64 191, !16, i64 192, !7, i64 193, !19, i64 194, !19, i64 196, !19, i64 198, !6, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !16, i64 207, !6, i64 208, !6, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !17, i64 236, !17, i64 244, !20, i64 256, !21, i64 272, !23, i64 600, !23, i64 616, !23, i64 632, !23, i64 648, !23, i64 664, !23, i64 680, !23, i64 696, !30, i64 712, !30, i64 716, !6, i64 720, !6, i64 724, !18, i64 728, !18, i64 732, !31, i64 736, !33, i64 752, !18, i64 768, !18, i64 772, !6, i64 776, !10, i64 784, !34, i64 792, !10, i64 1016, !10, i64 1024, !10, i64 1032, !10, i64 1040, !10, i64 1048, !10, i64 1056, !7, i64 1064, !7, i64 1072, !16, i64 1104, !6, i64 1108, !6, i64 1112, !10, i64 1120, !10, i64 1128, !6, i64 1136, !6, i64 1140, !23, i64 1144, !19, i64 1160, !16, i64 1162, !16, i64 1162, !16, i64 1162}
!15 = !{!"_ZTS16ImGuiWindowClass", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !16, i64 24, !16, i64 25}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!21 = !{!"_ZTS19ImGuiWindowTempData", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !18, i64 48, !18, i64 52, !22, i64 56, !22, i64 60, !22, i64 64, !6, i64 68, !6, i64 72, !23, i64 76, !23, i64 92, !24, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !16, i64 128, !16, i64 129, !16, i64 130, !17, i64 132, !25, i64 140, !6, i64 176, !6, i64 180, !26, i64 184, !10, i64 200, !10, i64 208, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !18, i64 236, !18, i64 240, !27, i64 248, !28, i64 264, !28, i64 280, !29, i64 296, !7, i64 312}
!22 = !{!"_ZTS6ImVec1", !18, i64 0}
!23 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!24 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!25 = !{!"_ZTS16ImGuiMenuColumns", !18, i64 0, !18, i64 4, !18, i64 8, !7, i64 12, !7, i64 24}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!27 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"_ZTS8ImVec2ih", !19, i64 0, !19, i64 2}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!34 = !{!"_ZTS10ImDrawList", !35, i64 0, !36, i64 16, !37, i64 32, !6, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 88, !38, i64 96, !39, i64 112, !40, i64 128, !41, i64 144, !43, i64 200}
!35 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!37 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!38 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!39 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!41 = !{!"_ZTS9ImDrawCmd", !42, i64 0, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !10, i64 40, !10, i64 48}
!42 = !{!"_ZTS6ImVec4", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!43 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !44, i64 8}
!44 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!45 = !{!46, !6, i64 20}
!46 = !{!"_ZTS19ImGuiWindowSettings", !6, i64 0, !30, i64 4, !30, i64 8, !30, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !19, i64 28, !16, i64 30, !16, i64 31}
!47 = !{!20, !6, i64 0}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}
!51 = !{!52, !6, i64 40}
!52 = !{!"_ZTS13ImGuiDockNode", !6, i64 0, !6, i64 4, !6, i64 8, !10, i64 16, !7, i64 24, !26, i64 40, !10, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !53, i64 88, !15, i64 92, !54, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 184, !6, i64 184, !16, i64 185, !16, i64 185, !16, i64 185, !16, i64 185, !16, i64 185, !16, i64 185, !16, i64 185, !16, i64 186, !16, i64 186, !16, i64 186, !16, i64 186}
!53 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!54 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!55 = !{!14, !10, i64 0}
!56 = distinct !{!56, !49}
!57 = distinct !{!57, !49}


; 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.ImVector.17 = type { i32, i32, ptr }

@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE = external hidden unnamed_addr constant [81 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [39 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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 #4 align 2

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

; 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 #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui14FindWindowByIDEj(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui18FindWindowSettingsEj(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21DockBuilderDockWindowEPKcj(ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui18DockBuilderGetNodeEj(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui19DockBuilderCopyNodeEjjP8ImVectorIjE(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE(i32 noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.ImVector.17, align 8
  %5 = alloca %struct.ImVector.17, align 8
  %6 = alloca i32, align 4
  %.not = icmp eq i32 %0, 0
  br i1 %.not, label %7, label %8

7:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.212, ptr noundef nonnull @.str.3, i32 noundef 14590, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

8:                                                ; preds = %3
  %.not62 = icmp eq i32 %1, 0
  br i1 %.not62, label %9, label %10

9:                                                ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.213, ptr noundef nonnull @.str.3, i32 noundef 14591, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

10:                                               ; preds = %8
  %.not63 = icmp eq ptr %2, null
  br i1 %.not63, label %11, label %12

11:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.214, ptr noundef nonnull @.str.3, i32 noundef 14592, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

12:                                               ; preds = %10
  %13 = load i32, ptr %2, align 8, !tbaa !5
  %14 = and i32 %13, 1
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.215, ptr noundef nonnull @.str.3, i32 noundef 14593, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui24DockBuilderCopyDockSpaceEjjP8ImVectorIPKcE) #6
  unreachable

17:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN5ImGui19DockBuilderCopyNodeEjjP8ImVectorIjE(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %4)
          to label %18 unwind label %23

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN8ImVectorIjEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5)
  %19 = load i32, ptr %2, align 8, !tbaa !5
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph82, label %.preheader78

.preheader78:                                     ; preds = %68, %18
  %21 = load i32, ptr %4, align 8, !tbaa !11
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph86, label %._crit_edge

23:                                               ; preds = %17
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %101

.lr.ph82:                                         ; preds = %18, %68
  %.05081 = phi i32 [ %69, %68 ], [ 0, %18 ]
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIPKcEixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.05081)
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = or disjoint i32 %.05081, 1
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIPKcEixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %27)
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %30 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %26, i64 noundef 0, i32 noundef 0)
  store i32 %30, ptr %6, align 4, !tbaa !14
  invoke void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %31 unwind label %38

31:                                               ; preds = %.lr.ph82
  %32 = load i32, ptr %6, align 4, !tbaa !14
  %33 = invoke noundef ptr @_ZN5ImGui14FindWindowByIDEj(i32 noundef %32)
          to label %34 unwind label %40

34:                                               ; preds = %31
  %.not66 = icmp eq ptr %33, null
  br i1 %.not66, label %42, label %35

35:                                               ; preds = %34
  %36 = getelementptr inbounds i8, ptr %33, i64 1136
  %37 = load i32, ptr %36, align 8, !tbaa !15
  br label %51

38:                                               ; preds = %.lr.ph82
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %72

40:                                               ; preds = %31
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %72

42:                                               ; preds = %34
  %43 = load i32, ptr %6, align 4, !tbaa !14
  %44 = invoke noundef ptr @_ZN5ImGui18FindWindowSettingsEj(i32 noundef %43)
          to label %45 unwind label %49

45:                                               ; preds = %42
  %.not69 = icmp eq ptr %44, null
  br i1 %.not69, label %51, label %46

46:                                               ; preds = %45
  %47 = getelementptr inbounds i8, ptr %44, i64 20
  %48 = load i32, ptr %47, align 4, !tbaa !46
  br label %51

49:                                               ; preds = %42
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %72

51:                                               ; preds = %45, %46, %35
  %.155 = phi i32 [ %37, %35 ], [ %48, %46 ], [ 0, %45 ]
  %52 = load i32, ptr %4, align 8, !tbaa !11
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %.lr.ph, label %.thread

.lr.ph:                                           ; preds = %51, %57
  %.05280 = phi i32 [ %58, %57 ], [ 0, %51 ]
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %.05280)
  %55 = load i32, ptr %54, align 4, !tbaa !14
  %56 = icmp eq i32 %55, %.155
  br i1 %56, label %61, label %57

57:                                               ; preds = %.lr.ph
  %58 = add nuw nsw i32 %.05280, 2
  %59 = load i32, ptr %4, align 8, !tbaa !11
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %.lr.ph, label %.thread, !llvm.loop !48

61:                                               ; preds = %.lr.ph
  %62 = or disjoint i32 %.05280, 1
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %62)
  %64 = load i32, ptr %63, align 4, !tbaa !14
  %.not70 = icmp eq i32 %64, 0
  br i1 %.not70, label %.thread, label %65

65:                                               ; preds = %61
  invoke void @_ZN5ImGui21DockBuilderDockWindowEPKcj(ptr noundef %29, i32 noundef %64)
          to label %68 unwind label %66

66:                                               ; preds = %.thread, %65
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %72

.thread:                                          ; preds = %57, %51, %61
  invoke void @_ZN5ImGui29DockBuilderCopyWindowSettingsEPKcS1_(ptr noundef %26, ptr noundef %29)
          to label %68 unwind label %66

68:                                               ; preds = %.thread, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  %69 = add nuw nsw i32 %.05081, 2
  %70 = load i32, ptr %2, align 8, !tbaa !5
  %71 = icmp slt i32 %69, %70
  br i1 %71, label %.lr.ph82, label %.preheader78, !llvm.loop !50

72:                                               ; preds = %66, %49, %40, %38
  %.pn71.pn = phi { ptr, i32 } [ %39, %38 ], [ %67, %66 ], [ %50, %49 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %100

._crit_edge:                                      ; preds = %.loopexit, %.preheader78
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  ret void

.lr.ph86:                                         ; preds = %.preheader78, %.loopexit
  %.05185 = phi i32 [ %97, %.loopexit ], [ 0, %.preheader78 ]
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %.05185)
  %74 = load i32, ptr %73, align 4, !tbaa !14
  %.not64 = icmp eq i32 %74, 0
  br i1 %.not64, label %.loopexit, label %75

75:                                               ; preds = %.lr.ph86
  %76 = or disjoint i32 %.05185, 1
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %76)
  %78 = load i32, ptr %77, align 4, !tbaa !14
  %79 = invoke noundef ptr @_ZN5ImGui18DockBuilderGetNodeEj(i32 noundef %74)
          to label %.preheader unwind label %83

.preheader:                                       ; preds = %75
  %80 = getelementptr inbounds i8, ptr %79, i64 40
  %81 = load i32, ptr %80, align 8, !tbaa !51
  %82 = icmp sgt i32 %81, 0
  br i1 %82, label %.lr.ph84, label %.loopexit

83:                                               ; preds = %75
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %100

.lr.ph84:                                         ; preds = %.preheader, %93
  %.04383 = phi i32 [ %94, %93 ], [ 0, %.preheader ]
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %80, i32 noundef %.04383)
  %86 = load ptr, ptr %85, align 8, !tbaa !13
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  %88 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %87)
  br i1 %88, label %93, label %91

89:                                               ; preds = %91
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %100

91:                                               ; preds = %.lr.ph84
  %92 = load ptr, ptr %86, align 8, !tbaa !55
  invoke void @_ZN5ImGui21DockBuilderDockWindowEPKcj(ptr noundef %92, i32 noundef %78)
          to label %93 unwind label %89

93:                                               ; preds = %91, %.lr.ph84
  %94 = add nuw nsw i32 %.04383, 1
  %95 = load i32, ptr %80, align 8, !tbaa !51
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %.lr.ph84, label %.loopexit, !llvm.loop !56

.loopexit:                                        ; preds = %93, %.preheader, %.lr.ph86
  %97 = add nuw nsw i32 %.05185, 2
  %98 = load i32, ptr %4, align 8, !tbaa !11
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %.lr.ph86, label %._crit_edge, !llvm.loop !57

100:                                              ; preds = %83, %89, %72
  %.pn71.pn.pn = phi { ptr, i32 } [ %.pn71.pn, %72 ], [ %90, %89 ], [ %84, %83 ]
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %101

101:                                              ; preds = %100, %23
  %.pn71.pn.pn.pn = phi { ptr, i32 } [ %.pn71.pn.pn, %100 ], [ %24, %23 ]
  call void @_ZN8ImVectorIjED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn71.pn.pn.pn
}

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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, !7, i64 0}
!6 = !{!"_ZTS8ImVectorIPKcE", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 1136}
!16 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !17, i64 20, !10, i64 48, !7, i64 56, !19, i64 60, !7, i64 68, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !20, i64 120, !20, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !19, i64 140, !19, i64 148, !19, i64 156, !19, i64 164, !19, i64 172, !18, i64 180, !18, i64 181, !18, i64 182, !18, i64 183, !18, i64 184, !18, i64 185, !18, i64 186, !18, i64 187, !18, i64 188, !18, i64 189, !18, i64 190, !18, i64 191, !18, i64 192, !8, i64 193, !21, i64 194, !21, i64 196, !21, i64 198, !7, i64 200, !8, i64 204, !8, i64 205, !8, i64 206, !18, i64 207, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !19, i64 236, !19, i64 244, !12, i64 256, !22, i64 272, !24, i64 600, !24, i64 616, !24, i64 632, !24, i64 648, !24, i64 664, !24, i64 680, !24, i64 696, !31, i64 712, !31, i64 716, !7, i64 720, !7, i64 724, !20, i64 728, !20, i64 732, !32, i64 736, !34, i64 752, !20, i64 768, !20, i64 772, !7, i64 776, !10, i64 784, !35, i64 792, !10, i64 1016, !10, i64 1024, !10, i64 1032, !10, i64 1040, !10, i64 1048, !10, i64 1056, !8, i64 1064, !8, i64 1072, !18, i64 1104, !7, i64 1108, !7, i64 1112, !10, i64 1120, !10, i64 1128, !7, i64 1136, !7, i64 1140, !24, i64 1144, !21, i64 1160, !18, i64 1162, !18, i64 1162, !18, i64 1162}
!17 = !{!"_ZTS16ImGuiWindowClass", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !18, i64 24, !18, i64 25}
!18 = !{!"bool", !8, i64 0}
!19 = !{!"_ZTS6ImVec2", !20, i64 0, !20, i64 4}
!20 = !{!"float", !8, i64 0}
!21 = !{!"short", !8, i64 0}
!22 = !{!"_ZTS19ImGuiWindowTempData", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !20, i64 48, !20, i64 52, !23, i64 56, !23, i64 60, !23, i64 64, !7, i64 68, !7, i64 72, !24, i64 76, !24, i64 92, !25, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !18, i64 128, !18, i64 129, !18, i64 130, !19, i64 132, !26, i64 140, !7, i64 176, !7, i64 180, !27, i64 184, !10, i64 200, !10, i64 208, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !20, i64 236, !20, i64 240, !28, i64 248, !29, i64 264, !29, i64 280, !30, i64 296, !8, i64 312}
!23 = !{!"_ZTS6ImVec1", !20, i64 0}
!24 = !{!"_ZTS6ImRect", !19, i64 0, !19, i64 8}
!25 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!26 = !{!"_ZTS16ImGuiMenuColumns", !20, i64 0, !20, i64 4, !20, i64 8, !8, i64 12, !8, i64 24}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !10, i64 8}
!28 = !{!"_ZTS8ImVectorIiE", !7, i64 0, !7, i64 4, !10, i64 8}
!29 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !10, i64 8}
!30 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!31 = !{!"_ZTS8ImVec2ih", !21, i64 0, !21, i64 2}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !10, i64 8}
!34 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !7, i64 0, !7, i64 4, !10, i64 8}
!35 = !{!"_ZTS10ImDrawList", !36, i64 0, !37, i64 16, !38, i64 32, !7, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !10, i64 80, !10, i64 88, !39, i64 96, !40, i64 112, !41, i64 128, !42, i64 144, !44, i64 200}
!36 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !7, i64 0, !7, i64 4, !10, i64 8}
!37 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !10, i64 8}
!38 = !{!"_ZTS8ImVectorI10ImDrawVertE", !7, i64 0, !7, i64 4, !10, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec4E", !7, i64 0, !7, i64 4, !10, i64 8}
!40 = !{!"_ZTS8ImVectorIPvE", !7, i64 0, !7, i64 4, !10, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !10, i64 8}
!42 = !{!"_ZTS9ImDrawCmd", !43, i64 0, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !10, i64 40, !10, i64 48}
!43 = !{!"_ZTS6ImVec4", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!44 = !{!"_ZTS18ImDrawListSplitter", !7, i64 0, !7, i64 4, !45, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !10, i64 8}
!46 = !{!47, !7, i64 20}
!47 = !{!"_ZTS19ImGuiWindowSettings", !7, i64 0, !31, i64 4, !31, i64 8, !31, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !21, i64 28, !18, i64 30, !18, i64 31}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}
!51 = !{!52, !7, i64 40}
!52 = !{!"_ZTS13ImGuiDockNode", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !8, i64 24, !27, i64 40, !10, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !53, i64 88, !17, i64 92, !54, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 184, !7, i64 184, !18, i64 185, !18, i64 185, !18, i64 185, !18, i64 185, !18, i64 185, !18, i64 185, !18, i64 185, !18, i64 186, !18, i64 186, !18, i64 186, !18, i64 186}
!53 = !{!"_ZTS9ImGuiAxis", !8, i64 0}
!54 = !{!"_ZTS18ImGuiDockNodeState", !8, i64 0}
!55 = !{!16, !10, i64 0}
!56 = distinct !{!56, !49}
!57 = distinct !{!57, !49}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass