; LLVM IR from hadryansalles/Luz :: deps/imgui/imgui.ll (ZN5ImGui17DebugNodeViewportEP14ImGuiViewportP)

; 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.ImGuiViewport = type <{ i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, [4 x i8] }>
%struct.ImGuiViewportP = type { %struct.ImGuiViewport.base, ptr, i32, i32, i32, i32, %struct.ImVec2, float, float, i8, i16, [2 x i32], [2 x ptr], %struct.ImDrawData, %struct.ImDrawDataBuilder, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiViewport.base = type <{ i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8 }>
%struct.ImDrawData = type { i8, i32, i32, i32, %struct.ImVector.51, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImVector.51 = type { i32, i32, ptr }
%struct.ImDrawDataBuilder = type { [2 x ptr], %struct.ImVector.51 }
%struct.ImGuiWindow = type { ptr, ptr, i32, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.29, %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.38, float, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, i8, i16, %struct.ImGuiWindowDockStyle, ptr, ptr, i32, i32, %struct.ImRect }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.4, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.21, %struct.ImVector.21 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.39, %struct.ImVector, %struct.ImVector.40, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.41, %struct.ImVector.42, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.22 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@.str.17 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.488 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.651 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.705 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.706 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.707 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.708 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.709 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.710 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.711 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.712 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.713 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.714 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.715 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.716 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.717 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.718 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.719 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.720 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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

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

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

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

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

declare void @_ZN5ImGui7TreePopEv() #5

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

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17DebugNodeViewportEP14ImGuiViewportP(ptr noundef %0) #6 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @_ZN5ImGui15SetNextItemOpenEbi(i1 noundef zeroext true, i32 noundef 2)
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ImGuiViewport, ptr %9, i32 0, i32 0
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = zext i32 %11 to i64
  %13 = inttoptr i64 %12 to ptr
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImGuiViewportP, ptr %14, i32 0, i32 2
  %16 = load i32, ptr %15, align 8, !tbaa !15
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiViewport, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !9
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiViewport, ptr %20, i32 0, i32 7
  %22 = load i32, ptr %21, align 4, !tbaa !21
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiViewportP, ptr %23, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !22
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %33

27:                                               ; preds = %1
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.ImGuiViewportP, ptr %28, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !22
  %31 = getelementptr inbounds %struct.ImGuiWindow, ptr %30, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !23
  br label %34

33:                                               ; preds = %1
  br label %34

34:                                               ; preds = %33, %27
  %35 = phi ptr [ %32, %27 ], [ @.str.200, %33 ]
  %36 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef %13, ptr noundef @.str.705, i32 noundef %16, i32 noundef %19, i32 noundef %22, ptr noundef %35)
  br i1 %36, label %37, label %203

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiViewport, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !50
  store i32 %40, ptr %3, align 4, !tbaa !51
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiViewport, ptr %41, i32 0, i32 2
  %43 = getelementptr inbounds %struct.ImVec2, ptr %42, i32 0, i32 0
  %44 = load float, ptr %43, align 8, !tbaa !52
  %45 = fpext float %44 to double
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImGuiViewport, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct.ImVec2, ptr %47, i32 0, i32 1
  %49 = load float, ptr %48, align 4, !tbaa !53
  %50 = fpext float %49 to double
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiViewport, ptr %51, i32 0, i32 3
  %53 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %54 = load float, ptr %53, align 8, !tbaa !54
  %55 = fpext float %54 to double
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiViewport, ptr %56, i32 0, i32 3
  %58 = getelementptr inbounds %struct.ImVec2, ptr %57, i32 0, i32 1
  %59 = load float, ptr %58, align 4, !tbaa !55
  %60 = fpext float %59 to double
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiViewportP, ptr %61, i32 0, i32 18
  %63 = getelementptr inbounds %struct.ImVec2, ptr %62, i32 0, i32 0
  %64 = load float, ptr %63, align 8, !tbaa !56
  %65 = fpext float %64 to double
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiViewportP, ptr %66, i32 0, i32 18
  %68 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 1
  %69 = load float, ptr %68, align 4, !tbaa !57
  %70 = fpext float %69 to double
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiViewportP, ptr %71, i32 0, i32 19
  %73 = getelementptr inbounds %struct.ImVec2, ptr %72, i32 0, i32 0
  %74 = load float, ptr %73, align 8, !tbaa !58
  %75 = fpext float %74 to double
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiViewportP, ptr %76, i32 0, i32 19
  %78 = getelementptr inbounds %struct.ImVec2, ptr %77, i32 0, i32 1
  %79 = load float, ptr %78, align 4, !tbaa !59
  %80 = fpext float %79 to double
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiViewportP, ptr %81, i32 0, i32 10
  %83 = load i16, ptr %82, align 2, !tbaa !60
  %84 = sext i16 %83 to i32
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiViewport, ptr %85, i32 0, i32 6
  %87 = load float, ptr %86, align 8, !tbaa !61
  %88 = fmul float %87, 1.000000e+02
  %89 = fpext float %88 to double
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.706, double noundef %45, double noundef %50, double noundef %55, double noundef %60, double noundef %65, double noundef %70, double noundef %75, double noundef %80, i32 noundef %84, double noundef %89)
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiViewportP, ptr %90, i32 0, i32 2
  %92 = load i32, ptr %91, align 8, !tbaa !15
  %93 = icmp sgt i32 %92, 0
  br i1 %93, label %94, label %113

94:                                               ; preds = %37
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  %95 = call noundef zeroext i1 @_ZN5ImGui11SmallButtonEPKc(ptr noundef @.str.707)
  br i1 %95, label %96, label %112

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 2.000000e+02, float noundef 2.000000e+02)
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiViewport, ptr %97, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %98, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !62
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN14ImGuiViewportP14UpdateWorkRectEv(ptr noundef nonnull align 8 dereferenceable(320) %99)
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiViewportP, ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !22
  %103 = icmp ne ptr %102, null
  br i1 %103, label %104, label %111

104:                                              ; preds = %96
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiViewport, ptr %105, i32 0, i32 2
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiViewportP, ptr %107, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !22
  %110 = getelementptr inbounds %struct.ImGuiWindow, ptr %109, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %110, ptr align 8 %106, i64 8, i1 false), !tbaa.struct !62
  br label %111

111:                                              ; preds = %104, %96
  br label %112

112:                                              ; preds = %111, %94
  br label %113

113:                                              ; preds = %112, %37
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiViewport, ptr %114, i32 0, i32 1
  %116 = load i32, ptr %115, align 4, !tbaa !50
  %117 = load i32, ptr %3, align 4, !tbaa !51
  %118 = and i32 %117, 2
  %119 = icmp ne i32 %118, 0
  %120 = zext i1 %119 to i64
  %121 = select i1 %119, ptr @.str.709, ptr @.str.17
  %122 = load i32, ptr %3, align 4, !tbaa !51
  %123 = and i32 %122, 4096
  %124 = icmp ne i32 %123, 0
  %125 = zext i1 %124 to i64
  %126 = select i1 %124, ptr @.str.710, ptr @.str.17
  %127 = load i32, ptr %3, align 4, !tbaa !51
  %128 = and i32 %127, 8192
  %129 = icmp ne i32 %128, 0
  %130 = zext i1 %129 to i64
  %131 = select i1 %129, ptr @.str.651, ptr @.str.17
  %132 = load i32, ptr %3, align 4, !tbaa !51
  %133 = and i32 %132, 4
  %134 = icmp ne i32 %133, 0
  %135 = zext i1 %134 to i64
  %136 = select i1 %134, ptr @.str.711, ptr @.str.17
  %137 = load i32, ptr %3, align 4, !tbaa !51
  %138 = and i32 %137, 8
  %139 = icmp ne i32 %138, 0
  %140 = zext i1 %139 to i64
  %141 = select i1 %139, ptr @.str.712, ptr @.str.17
  %142 = load i32, ptr %3, align 4, !tbaa !51
  %143 = and i32 %142, 16
  %144 = icmp ne i32 %143, 0
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, ptr @.str.713, ptr @.str.17
  %147 = load i32, ptr %3, align 4, !tbaa !51
  %148 = and i32 %147, 32
  %149 = icmp ne i32 %148, 0
  %150 = zext i1 %149 to i64
  %151 = select i1 %149, ptr @.str.714, ptr @.str.17
  %152 = load i32, ptr %3, align 4, !tbaa !51
  %153 = and i32 %152, 64
  %154 = icmp ne i32 %153, 0
  %155 = zext i1 %154 to i64
  %156 = select i1 %154, ptr @.str.715, ptr @.str.17
  %157 = load i32, ptr %3, align 4, !tbaa !51
  %158 = and i32 %157, 128
  %159 = icmp ne i32 %158, 0
  %160 = zext i1 %159 to i64
  %161 = select i1 %159, ptr @.str.716, ptr @.str.17
  %162 = load i32, ptr %3, align 4, !tbaa !51
  %163 = and i32 %162, 256
  %164 = icmp ne i32 %163, 0
  %165 = zext i1 %164 to i64
  %166 = select i1 %164, ptr @.str.717, ptr @.str.17
  %167 = load i32, ptr %3, align 4, !tbaa !51
  %168 = and i32 %167, 512
  %169 = icmp ne i32 %168, 0
  %170 = zext i1 %169 to i64
  %171 = select i1 %169, ptr @.str.718, ptr @.str.17
  %172 = load i32, ptr %3, align 4, !tbaa !51
  %173 = and i32 %172, 1024
  %174 = icmp ne i32 %173, 0
  %175 = zext i1 %174 to i64
  %176 = select i1 %174, ptr @.str.719, ptr @.str.17
  %177 = load i32, ptr %3, align 4, !tbaa !51
  %178 = and i32 %177, 2048
  %179 = icmp ne i32 %178, 0
  %180 = zext i1 %179 to i64
  %181 = select i1 %179, ptr @.str.720, ptr @.str.17
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.708, i32 noundef %116, ptr noundef %121, ptr noundef %126, ptr noundef %131, ptr noundef %136, ptr noundef %141, ptr noundef %146, ptr noundef %151, ptr noundef %156, ptr noundef %161, ptr noundef %166, ptr noundef %171, ptr noundef %176, ptr noundef %181)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.ImGuiViewportP, ptr %182, i32 0, i32 13
  %184 = getelementptr inbounds %struct.ImDrawData, ptr %183, i32 0, i32 4
  store ptr %184, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = call noundef ptr @_ZN8ImVectorIP10ImDrawListE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %185)
  store ptr %186, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = call noundef ptr @_ZN8ImVectorIP10ImDrawListE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %187)
  store ptr %188, ptr %7, align 8, !tbaa !5
  br label %189

189:                                              ; preds = %199, %113
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = icmp ne ptr %190, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %202

194:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = load ptr, ptr %195, align 8, !tbaa !5
  store ptr %196, ptr %8, align 8, !tbaa !5
  %197 = load ptr, ptr %2, align 8, !tbaa !5
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN5ImGui17DebugNodeDrawListEP11ImGuiWindowP14ImGuiViewportPPK10ImDrawListPKc(ptr noundef null, ptr noundef %197, ptr noundef %198, ptr noundef @.str.488)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %199

199:                                              ; preds = %194
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds ptr, ptr %200, i32 1
  store ptr %201, ptr %6, align 8, !tbaa !5
  br label %189

202:                                              ; preds = %193
  call void @_ZN5ImGui7TreePopEv()
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %203

203:                                              ; preds = %202, %34
  ret void
}

declare noundef zeroext i1 @_ZN5ImGui11SmallButtonEPKc(ptr noundef) #5

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef, ptr noundef, ...) #5

declare void @_ZN5ImGui15SetNextItemOpenEbi(i1 noundef zeroext, i32 noundef) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS13ImGuiViewport", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !14, i64 88, !14, i64 89, !14, i64 90, !14, i64 91}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !11, i64 104}
!16 = !{!"_ZTS14ImGuiViewportP", !10, i64 0, !6, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !12, i64 120, !13, i64 128, !13, i64 132, !14, i64 136, !17, i64 138, !7, i64 140, !7, i64 152, !18, i64 168, !20, i64 232, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS10ImDrawData", !14, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !19, i64 16, !12, i64 32, !12, i64 40, !12, i64 48, !6, i64 56}
!19 = !{!"_ZTS8ImVectorIP10ImDrawListE", !11, i64 0, !11, i64 4, !6, i64 8}
!20 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0, !19, i64 16}
!21 = !{!10, !11, i64 44}
!22 = !{!16, !6, i64 96}
!23 = !{!24, !6, i64 8}
!24 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !25, i64 32, !6, i64 64, !11, i64 72, !12, i64 76, !11, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !13, i64 144, !13, i64 148, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !14, i64 240, !14, i64 241, !14, i64 242, !14, i64 243, !14, i64 244, !14, i64 245, !14, i64 246, !14, i64 247, !14, i64 248, !14, i64 249, !14, i64 250, !14, i64 251, !14, i64 252, !14, i64 253, !7, i64 254, !7, i64 255, !17, i64 256, !17, i64 258, !17, i64 260, !17, i64 262, !17, i64 264, !11, i64 268, !7, i64 272, !7, i64 273, !14, i64 274, !11, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !11, i64 284, !11, i64 285, !11, i64 286, !11, i64 287, !12, i64 288, !12, i64 296, !26, i64 304, !27, i64 320, !33, i64 552, !33, i64 568, !33, i64 584, !33, i64 600, !33, i64 616, !33, i64 632, !33, i64 648, !34, i64 664, !34, i64 668, !11, i64 672, !11, i64 676, !13, i64 680, !13, i64 684, !35, i64 688, !37, i64 704, !13, i64 720, !13, i64 724, !11, i64 728, !6, i64 736, !38, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1056, !11, i64 1072, !11, i64 1076, !11, i64 1080, !14, i64 1084, !14, i64 1085, !14, i64 1085, !14, i64 1085, !14, i64 1085, !17, i64 1086, !49, i64 1088, !6, i64 1112, !6, i64 1120, !11, i64 1128, !11, i64 1132, !33, i64 1136}
!25 = !{!"_ZTS16ImGuiWindowClass", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !14, i64 28, !14, i64 29}
!26 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !14, i64 64, !14, i64 65, !28, i64 68, !28, i64 72, !28, i64 76, !12, i64 80, !29, i64 88, !17, i64 92, !17, i64 94, !14, i64 96, !14, i64 97, !14, i64 98, !14, i64 99, !12, i64 100, !30, i64 108, !11, i64 136, !11, i64 140, !31, i64 144, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !13, i64 188, !13, i64 192, !32, i64 200, !32, i64 216}
!28 = !{!"_ZTS6ImVec1", !13, i64 0}
!29 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!30 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!34 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!35 = !{!"_ZTS12ImGuiStorage", !36, i64 0}
!36 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!"_ZTS10ImDrawList", !39, i64 0, !40, i64 16, !41, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !42, i64 88, !43, i64 104, !44, i64 120, !45, i64 136, !47, i64 168, !13, i64 192}
!39 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!45 = !{!"_ZTS15ImDrawCmdHeader", !46, i64 0, !6, i64 16, !11, i64 24}
!46 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!47 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !48, i64 8}
!48 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!49 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!50 = !{!10, !11, i64 4}
!51 = !{!11, !11, i64 0}
!52 = !{!10, !13, i64 8}
!53 = !{!10, !13, i64 12}
!54 = !{!10, !13, i64 16}
!55 = !{!10, !13, i64 20}
!56 = !{!16, !13, i64 288}
!57 = !{!16, !13, i64 292}
!58 = !{!16, !13, i64 296}
!59 = !{!16, !13, i64 300}
!60 = !{!16, !17, i64 138}
!61 = !{!10, !13, i64 40}
!62 = !{i64 0, i64 4, !63, i64 4, i64 4, !63}
!63 = !{!13, !13, i64 0}


; 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 }

@.str.17 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.488 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.651 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.705 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.706 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.707 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.708 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.709 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.710 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.711 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.712 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.713 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.714 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.715 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.716 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.717 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.718 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.719 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.720 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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

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

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

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

declare void @_ZN5ImGui7TreePopEv() local_unnamed_addr #4

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

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17DebugNodeViewportEP14ImGuiViewportP(ptr noundef %0) local_unnamed_addr #5 {
  %2 = alloca %struct.ImVec2, align 8
  tail call void @_ZN5ImGui15SetNextItemOpenEbi(i1 noundef zeroext true, i32 noundef 2)
  %3 = load i32, ptr %0, align 8, !tbaa !5
  %4 = zext i32 %3 to i64
  %5 = inttoptr i64 %4 to ptr
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  %7 = load i32, ptr %6, align 8, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %0, i64 44
  %9 = load i32, ptr %8, align 4, !tbaa !20
  %10 = getelementptr inbounds i8, ptr %0, i64 96
  %11 = load ptr, ptr %10, align 8, !tbaa !21
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %15, label %12

12:                                               ; preds = %1
  %13 = getelementptr inbounds i8, ptr %11, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !22
  br label %15

15:                                               ; preds = %1, %12
  %16 = phi ptr [ %14, %12 ], [ @.str.200, %1 ]
  %17 = tail call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef %5, ptr noundef nonnull @.str.705, i32 noundef %7, i32 noundef %3, i32 noundef %9, ptr noundef %16)
  br i1 %17, label %18, label %99

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %0, i64 4
  %20 = load i32, ptr %19, align 4, !tbaa !49
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  %22 = load float, ptr %21, align 8, !tbaa !50
  %23 = fpext float %22 to double
  %24 = getelementptr inbounds i8, ptr %0, i64 12
  %25 = load float, ptr %24, align 4, !tbaa !51
  %26 = fpext float %25 to double
  %27 = getelementptr inbounds i8, ptr %0, i64 16
  %28 = load float, ptr %27, align 8, !tbaa !52
  %29 = fpext float %28 to double
  %30 = getelementptr inbounds i8, ptr %0, i64 20
  %31 = load float, ptr %30, align 4, !tbaa !53
  %32 = fpext float %31 to double
  %33 = getelementptr inbounds i8, ptr %0, i64 288
  %34 = load float, ptr %33, align 8, !tbaa !54
  %35 = fpext float %34 to double
  %36 = getelementptr inbounds i8, ptr %0, i64 292
  %37 = load float, ptr %36, align 4, !tbaa !55
  %38 = fpext float %37 to double
  %39 = getelementptr inbounds i8, ptr %0, i64 296
  %40 = load float, ptr %39, align 8, !tbaa !56
  %41 = fpext float %40 to double
  %42 = getelementptr inbounds i8, ptr %0, i64 300
  %43 = load float, ptr %42, align 4, !tbaa !57
  %44 = fpext float %43 to double
  %45 = getelementptr inbounds i8, ptr %0, i64 138
  %46 = load i16, ptr %45, align 2, !tbaa !58
  %47 = sext i16 %46 to i32
  %48 = getelementptr inbounds i8, ptr %0, i64 40
  %49 = load float, ptr %48, align 8, !tbaa !59
  %50 = fmul float %49, 1.000000e+02
  %51 = fpext float %50 to double
  tail call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.706, double noundef %23, double noundef %26, double noundef %29, double noundef %32, double noundef %35, double noundef %38, double noundef %41, double noundef %44, i32 noundef %47, double noundef %51)
  %52 = load i32, ptr %6, align 8, !tbaa !14
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %54, label %62

54:                                               ; preds = %18
  tail call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  %55 = tail call noundef zeroext i1 @_ZN5ImGui11SmallButtonEPKc(ptr noundef nonnull @.str.707)
  br i1 %55, label %56, label %62

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 2.000000e+02, float noundef 2.000000e+02)
  %57 = load i64, ptr %2, align 8
  store i64 %57, ptr %21, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @_ZN14ImGuiViewportP14UpdateWorkRectEv(ptr noundef nonnull align 8 dereferenceable(320) %0)
  %58 = load ptr, ptr %10, align 8, !tbaa !21
  %.not47 = icmp eq ptr %58, null
  br i1 %.not47, label %62, label %59

59:                                               ; preds = %56
  %60 = getelementptr inbounds i8, ptr %58, i64 88
  %61 = load i64, ptr %21, align 8
  store i64 %61, ptr %60, align 8
  br label %62

62:                                               ; preds = %54, %59, %56, %18
  %63 = load i32, ptr %19, align 4, !tbaa !49
  %64 = and i32 %20, 2
  %.not48 = icmp eq i32 %64, 0
  %65 = select i1 %.not48, ptr @.str.17, ptr @.str.709
  %66 = and i32 %20, 4096
  %.not49 = icmp eq i32 %66, 0
  %67 = select i1 %.not49, ptr @.str.17, ptr @.str.710
  %68 = and i32 %20, 8192
  %.not50 = icmp eq i32 %68, 0
  %69 = select i1 %.not50, ptr @.str.17, ptr @.str.651
  %70 = and i32 %20, 4
  %.not51 = icmp eq i32 %70, 0
  %71 = select i1 %.not51, ptr @.str.17, ptr @.str.711
  %72 = and i32 %20, 8
  %.not52 = icmp eq i32 %72, 0
  %73 = select i1 %.not52, ptr @.str.17, ptr @.str.712
  %74 = insertelement <8 x i32> poison, i32 %20, i64 0
  %75 = shufflevector <8 x i32> %74, <8 x i32> poison, <8 x i32> zeroinitializer
  %76 = and <8 x i32> %75, <i32 2048, i32 1024, i32 512, i32 256, i32 128, i32 64, i32 32, i32 16>
  %77 = icmp eq <8 x i32> %76, zeroinitializer
  %78 = extractelement <8 x i1> %77, i64 7
  %79 = select i1 %78, ptr @.str.17, ptr @.str.713
  %80 = extractelement <8 x i1> %77, i64 6
  %81 = select i1 %80, ptr @.str.17, ptr @.str.714
  %82 = extractelement <8 x i1> %77, i64 5
  %83 = select i1 %82, ptr @.str.17, ptr @.str.715
  %84 = extractelement <8 x i1> %77, i64 4
  %85 = select i1 %84, ptr @.str.17, ptr @.str.716
  %86 = extractelement <8 x i1> %77, i64 3
  %87 = select i1 %86, ptr @.str.17, ptr @.str.717
  %88 = extractelement <8 x i1> %77, i64 2
  %89 = select i1 %88, ptr @.str.17, ptr @.str.718
  %90 = extractelement <8 x i1> %77, i64 1
  %91 = select i1 %90, ptr @.str.17, ptr @.str.719
  %92 = extractelement <8 x i1> %77, i64 0
  %93 = select i1 %92, ptr @.str.17, ptr @.str.720
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.708, i32 noundef %63, ptr noundef nonnull %65, ptr noundef nonnull %67, ptr noundef nonnull %69, ptr noundef nonnull %71, ptr noundef nonnull %73, ptr noundef nonnull %79, ptr noundef nonnull %81, ptr noundef nonnull %83, ptr noundef nonnull %85, ptr noundef nonnull %87, ptr noundef nonnull %89, ptr noundef nonnull %91, ptr noundef nonnull %93)
  %94 = getelementptr inbounds i8, ptr %0, i64 184
  %95 = call noundef ptr @_ZN8ImVectorIP10ImDrawListE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %94)
  %96 = call noundef ptr @_ZN8ImVectorIP10ImDrawListE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %94)
  %.not6162 = icmp eq ptr %95, %96
  br i1 %.not6162, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %62
  call void @_ZN5ImGui7TreePopEv()
  br label %99

.lr.ph:                                           ; preds = %62, %.lr.ph
  %.063 = phi ptr [ %98, %.lr.ph ], [ %95, %62 ]
  %97 = load ptr, ptr %.063, align 8, !tbaa !60
  call void @_ZN5ImGui17DebugNodeDrawListEP11ImGuiWindowP14ImGuiViewportPPK10ImDrawListPKc(ptr noundef null, ptr noundef nonnull %0, ptr noundef %97, ptr noundef nonnull @.str.488)
  %98 = getelementptr inbounds i8, ptr %.063, i64 8
  %.not61 = icmp eq ptr %98, %96
  br i1 %.not61, label %._crit_edge, label %.lr.ph

99:                                               ; preds = %._crit_edge, %15
  ret void
}

declare noundef zeroext i1 @_ZN5ImGui11SmallButtonEPKc(ptr noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef, ptr noundef, ...) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { "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 = { 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 = !{!"_ZTS13ImGuiViewport", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !7, i64 44, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !13, i64 88, !13, i64 89, !13, i64 90, !13, i64 91}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!15, !7, i64 104}
!15 = !{!"_ZTS14ImGuiViewportP", !6, i64 0, !12, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !10, i64 120, !11, i64 128, !11, i64 132, !13, i64 136, !16, i64 138, !8, i64 140, !8, i64 152, !17, i64 168, !19, i64 232, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312}
!16 = !{!"short", !8, i64 0}
!17 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !18, i64 16, !10, i64 32, !10, i64 40, !10, i64 48, !12, i64 56}
!18 = !{!"_ZTS8ImVectorIP10ImDrawListE", !7, i64 0, !7, i64 4, !12, i64 8}
!19 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0, !18, i64 16}
!20 = !{!6, !7, i64 44}
!21 = !{!15, !12, i64 96}
!22 = !{!23, !12, i64 8}
!23 = !{!"_ZTS11ImGuiWindow", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !24, i64 32, !12, i64 64, !7, i64 72, !10, i64 76, !7, i64 84, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !13, i64 240, !13, i64 241, !13, i64 242, !13, i64 243, !13, i64 244, !13, i64 245, !13, i64 246, !13, i64 247, !13, i64 248, !13, i64 249, !13, i64 250, !13, i64 251, !13, i64 252, !13, i64 253, !8, i64 254, !8, i64 255, !16, i64 256, !16, i64 258, !16, i64 260, !16, i64 262, !16, i64 264, !7, i64 268, !8, i64 272, !8, i64 273, !13, i64 274, !7, i64 276, !8, i64 280, !8, i64 281, !8, i64 282, !8, i64 283, !7, i64 284, !7, i64 285, !7, i64 286, !7, i64 287, !10, i64 288, !10, i64 296, !25, i64 304, !26, i64 320, !32, i64 552, !32, i64 568, !32, i64 584, !32, i64 600, !32, i64 616, !32, i64 632, !32, i64 648, !33, i64 664, !33, i64 668, !7, i64 672, !7, i64 676, !11, i64 680, !11, i64 684, !34, i64 688, !36, i64 704, !11, i64 720, !11, i64 724, !7, i64 728, !12, i64 736, !37, i64 744, !12, i64 944, !12, i64 952, !12, i64 960, !12, i64 968, !12, i64 976, !12, i64 984, !12, i64 992, !12, i64 1000, !12, i64 1008, !8, i64 1016, !8, i64 1024, !8, i64 1056, !7, i64 1072, !7, i64 1076, !7, i64 1080, !13, i64 1084, !13, i64 1085, !13, i64 1085, !13, i64 1085, !13, i64 1085, !16, i64 1086, !48, i64 1088, !12, i64 1112, !12, i64 1120, !7, i64 1128, !7, i64 1132, !32, i64 1136}
!24 = !{!"_ZTS16ImGuiWindowClass", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !13, i64 28, !13, i64 29}
!25 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !12, i64 8}
!26 = !{!"_ZTS19ImGuiWindowTempData", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56, !11, i64 60, !13, i64 64, !13, i64 65, !27, i64 68, !27, i64 72, !27, i64 76, !10, i64 80, !28, i64 88, !16, i64 92, !16, i64 94, !13, i64 96, !13, i64 97, !13, i64 98, !13, i64 99, !10, i64 100, !29, i64 108, !7, i64 136, !7, i64 140, !30, i64 144, !12, i64 160, !12, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !11, i64 188, !11, i64 192, !31, i64 200, !31, i64 216}
!27 = !{!"_ZTS6ImVec1", !11, i64 0}
!28 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!29 = !{!"_ZTS16ImGuiMenuColumns", !7, i64 0, !7, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !8, i64 18}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !12, i64 8}
!31 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !12, i64 8}
!32 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!33 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!34 = !{!"_ZTS12ImGuiStorage", !35, i64 0}
!35 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !12, i64 8}
!36 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !7, i64 0, !7, i64 4, !12, i64 8}
!37 = !{!"_ZTS10ImDrawList", !38, i64 0, !39, i64 16, !40, i64 32, !7, i64 48, !7, i64 52, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !41, i64 88, !42, i64 104, !43, i64 120, !44, i64 136, !46, i64 168, !11, i64 192}
!38 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !7, i64 0, !7, i64 4, !12, i64 8}
!39 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !12, i64 8}
!40 = !{!"_ZTS8ImVectorI10ImDrawVertE", !7, i64 0, !7, i64 4, !12, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec4E", !7, i64 0, !7, i64 4, !12, i64 8}
!42 = !{!"_ZTS8ImVectorIPvE", !7, i64 0, !7, i64 4, !12, i64 8}
!43 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !12, i64 8}
!44 = !{!"_ZTS15ImDrawCmdHeader", !45, i64 0, !12, i64 16, !7, i64 24}
!45 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!46 = !{!"_ZTS18ImDrawListSplitter", !7, i64 0, !7, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !12, i64 8}
!48 = !{!"_ZTS20ImGuiWindowDockStyle", !8, i64 0}
!49 = !{!6, !7, i64 4}
!50 = !{!6, !11, i64 8}
!51 = !{!6, !11, i64 12}
!52 = !{!6, !11, i64 16}
!53 = !{!6, !11, i64 20}
!54 = !{!15, !11, i64 288}
!55 = !{!15, !11, i64 292}
!56 = !{!15, !11, i64 296}
!57 = !{!15, !11, i64 300}
!58 = !{!15, !16, i64 138}
!59 = !{!6, !11, i64 40}
!60 = !{!12, !12, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass