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

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

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

@GImGui = external dso_local global ptr, align 8
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix = external hidden unnamed_addr constant [3 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui19GetContentRegionMaxEv() #7

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float>) #7

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef, i32 noundef) #6

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

57:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %579

58:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %59 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %59, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %60 = load ptr, ptr %12, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 4
  store ptr %61, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  %62 = load i32, ptr %7, align 4, !tbaa !5
  %63 = and i32 %62, 2
  %64 = icmp ne i32 %63, 0
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %14, align 1, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %66 = load i8, ptr %14, align 1, !tbaa !37, !range !35, !noundef !36
  %67 = trunc i8 %66 to i1
  br i1 %67, label %72, label %68

68:                                               ; preds = %58
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = and i32 %69, 1024
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %75

72:                                               ; preds = %68, %58
  %73 = load ptr, ptr %13, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.ImGuiStyle, ptr %73, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %74, i64 8, i1 false), !tbaa.struct !38
  br label %80

75:                                               ; preds = %68
  %76 = load ptr, ptr %13, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.ImGuiStyle, ptr %76, i32 0, i32 10
  %78 = getelementptr inbounds %struct.ImVec2, ptr %77, i32 0, i32 0
  %79 = load float, ptr %78, align 4, !tbaa !40
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %79, float noundef 0.000000e+00)
  br label %80

80:                                               ; preds = %75, %72
  %81 = load ptr, ptr %9, align 8, !tbaa !9
  %82 = icmp ne ptr %81, null
  br i1 %82, label %86, label %83

83:                                               ; preds = %80
  %84 = load ptr, ptr %8, align 8, !tbaa !9
  %85 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %84, ptr noundef null)
  store ptr %85, ptr %9, align 8, !tbaa !9
  br label %86

86:                                               ; preds = %83, %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %87 = load ptr, ptr %8, align 8, !tbaa !9
  %88 = load ptr, ptr %9, align 8, !tbaa !9
  %89 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %87, ptr noundef %88, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %89, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %90 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %91 = load float, ptr %90, align 4, !tbaa !42
  %92 = load ptr, ptr %10, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.ImGuiWindow, ptr %92, i32 0, i32 43
  %94 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %93, i32 0, i32 5
  %95 = load float, ptr %94, align 4, !tbaa !43
  %96 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %91, float noundef %95)
  store float %96, ptr %17, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %97 = load ptr, ptr %10, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.ImGuiWindow, ptr %97, i32 0, i32 43
  %99 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %98, i32 0, i32 4
  %100 = load float, ptr %99, align 8, !tbaa !44
  %101 = load ptr, ptr %12, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.ImGuiContext, ptr %101, i32 0, i32 6
  %103 = load float, ptr %102, align 8, !tbaa !45
  %104 = load ptr, ptr %13, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.ImGuiStyle, ptr %104, i32 0, i32 10
  %106 = getelementptr inbounds %struct.ImVec2, ptr %105, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !72
  %108 = call float @llvm.fmuladd.f32(float %107, float 2.000000e+00, float %103)
  %109 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %100, float noundef %108)
  %110 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !42
  %112 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %113 = load float, ptr %112, align 4, !tbaa !42
  %114 = call float @llvm.fmuladd.f32(float %113, float 2.000000e+00, float %111)
  %115 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %109, float noundef %114)
  store float %115, ptr %18, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %116 = load ptr, ptr %10, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct.ImGuiWindow, ptr %116, i32 0, i32 43
  %118 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %117, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %119 = load ptr, ptr %10, align 8, !tbaa !9
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 3
  %121 = getelementptr inbounds %struct.ImVec2, ptr %120, i32 0, i32 0
  %122 = load float, ptr %121, align 8, !tbaa !73
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %123 = call <2 x float> @_ZN5ImGui19GetContentRegionMaxEv()
  store <2 x float> %123, ptr %21, align 4
  %124 = getelementptr inbounds %struct.ImVec2, ptr %21, i32 0, i32 0
  %125 = load float, ptr %124, align 4, !tbaa !74
  %126 = fadd float %122, %125
  %127 = load ptr, ptr %10, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.ImGuiWindow, ptr %127, i32 0, i32 43
  %129 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !75
  %132 = load float, ptr %18, align 4, !tbaa !39
  %133 = fadd float %131, %132
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %126, float noundef %133)
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(8) %118, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  %134 = load i8, ptr %14, align 1, !tbaa !37, !range !35, !noundef !36
  %135 = trunc i8 %134 to i1
  br i1 %135, label %136, label %161

136:                                              ; preds = %86
  %137 = load ptr, ptr %10, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.ImGuiWindow, ptr %137, i32 0, i32 9
  %139 = getelementptr inbounds %struct.ImVec2, ptr %138, i32 0, i32 0
  %140 = load float, ptr %139, align 8, !tbaa !76
  %141 = fmul float %140, 5.000000e-01
  %142 = fptosi float %141 to i32
  %143 = sitofp i32 %142 to float
  %144 = fsub float %143, 1.000000e+00
  %145 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  %146 = getelementptr inbounds %struct.ImVec2, ptr %145, i32 0, i32 0
  %147 = load float, ptr %146, align 4, !tbaa !77
  %148 = fsub float %147, %144
  store float %148, ptr %146, align 4, !tbaa !77
  %149 = load ptr, ptr %10, align 8, !tbaa !9
  %150 = getelementptr inbounds %struct.ImGuiWindow, ptr %149, i32 0, i32 9
  %151 = getelementptr inbounds %struct.ImVec2, ptr %150, i32 0, i32 0
  %152 = load float, ptr %151, align 8, !tbaa !76
  %153 = fmul float %152, 5.000000e-01
  %154 = fptosi float %153 to i32
  %155 = sitofp i32 %154 to float
  %156 = fsub float %155, 1.000000e+00
  %157 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  %158 = getelementptr inbounds %struct.ImVec2, ptr %157, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !78
  %160 = fadd float %159, %156
  store float %160, ptr %158, align 4, !tbaa !78
  br label %161

161:                                              ; preds = %136, %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %162 = load ptr, ptr %12, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.ImGuiContext, ptr %162, i32 0, i32 6
  %164 = load float, ptr %163, align 8, !tbaa !45
  %165 = load i8, ptr %14, align 1, !tbaa !37, !range !35, !noundef !36
  %166 = trunc i8 %165 to i1
  br i1 %166, label %167, label %171

167:                                              ; preds = %161
  %168 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %169 = load float, ptr %168, align 4, !tbaa !74
  %170 = fmul float %169, 3.000000e+00
  br label %175

171:                                              ; preds = %161
  %172 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %173 = load float, ptr %172, align 4, !tbaa !74
  %174 = fmul float %173, 2.000000e+00
  br label %175

175:                                              ; preds = %171, %167
  %176 = phi float [ %170, %167 ], [ %174, %171 ]
  %177 = fadd float %164, %176
  store float %177, ptr %22, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %178 = load ptr, ptr %12, align 8, !tbaa !9
  %179 = getelementptr inbounds %struct.ImGuiContext, ptr %178, i32 0, i32 6
  %180 = load float, ptr %179, align 8, !tbaa !45
  %181 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %182 = load float, ptr %181, align 4, !tbaa !74
  %183 = fcmp ogt float %182, 0.000000e+00
  br i1 %183, label %184, label %190

184:                                              ; preds = %175
  %185 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %186 = load float, ptr %185, align 4, !tbaa !74
  %187 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %188 = load float, ptr %187, align 4, !tbaa !74
  %189 = call float @llvm.fmuladd.f32(float %188, float 2.000000e+00, float %186)
  br label %191

190:                                              ; preds = %175
  br label %191

191:                                              ; preds = %190, %184
  %192 = phi float [ %189, %184 ], [ 0.000000e+00, %190 ]
  %193 = fadd float %180, %192
  store float %193, ptr %23, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %194 = load float, ptr %23, align 4, !tbaa !39
  %195 = load float, ptr %18, align 4, !tbaa !39
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %194, float noundef %195)
  %196 = load float, ptr %17, align 4, !tbaa !39
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %196)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %197 = load i8, ptr %14, align 1, !tbaa !37, !range !35, !noundef !36
  %198 = trunc i8 %197 to i1
  br i1 %198, label %199, label %200

199:                                              ; preds = %191
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !79
  br label %220

200:                                              ; preds = %191
  %201 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  %202 = getelementptr inbounds %struct.ImVec2, ptr %201, i32 0, i32 0
  %203 = load float, ptr %202, align 4, !tbaa !77
  %204 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  %205 = getelementptr inbounds %struct.ImVec2, ptr %204, i32 0, i32 1
  %206 = load float, ptr %205, align 4, !tbaa !80
  %207 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  %208 = getelementptr inbounds %struct.ImVec2, ptr %207, i32 0, i32 0
  %209 = load float, ptr %208, align 4, !tbaa !77
  %210 = load float, ptr %23, align 4, !tbaa !39
  %211 = fadd float %209, %210
  %212 = load ptr, ptr %13, align 8, !tbaa !9
  %213 = getelementptr inbounds %struct.ImGuiStyle, ptr %212, i32 0, i32 13
  %214 = getelementptr inbounds %struct.ImVec2, ptr %213, i32 0, i32 0
  %215 = load float, ptr %214, align 4, !tbaa !81
  %216 = call float @llvm.fmuladd.f32(float %215, float 2.000000e+00, float %211)
  %217 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  %218 = getelementptr inbounds %struct.ImVec2, ptr %217, i32 0, i32 1
  %219 = load float, ptr %218, align 4, !tbaa !82
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef %203, float noundef %206, float noundef %216, float noundef %219)
  br label %220

220:                                              ; preds = %200, %199
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  %221 = load i32, ptr %6, align 4, !tbaa !5
  %222 = load i32, ptr %7, align 4, !tbaa !5
  %223 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %221, i32 noundef %222)
  %224 = zext i1 %223 to i8
  store i8 %224, ptr %26, align 1, !tbaa !37
  %225 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %226 = trunc i8 %225 to i1
  br i1 %226, label %227, label %251

227:                                              ; preds = %220
  %228 = load ptr, ptr %12, align 8, !tbaa !9
  %229 = getelementptr inbounds %struct.ImGuiContext, ptr %228, i32 0, i32 74
  %230 = load i8, ptr %229, align 4, !tbaa !83, !range !35, !noundef !36
  %231 = trunc i8 %230 to i1
  br i1 %231, label %251, label %232

232:                                              ; preds = %227
  %233 = load i32, ptr %7, align 4, !tbaa !5
  %234 = and i32 %233, 8192
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %251

236:                                              ; preds = %232
  %237 = load i32, ptr %7, align 4, !tbaa !5
  %238 = and i32 %237, 8
  %239 = icmp ne i32 %238, 0
  br i1 %239, label %251, label %240

240:                                              ; preds = %236
  %241 = load ptr, ptr %10, align 8, !tbaa !9
  %242 = getelementptr inbounds %struct.ImGuiWindow, ptr %241, i32 0, i32 43
  %243 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %242, i32 0, i32 9
  %244 = load i32, ptr %243, align 4, !tbaa !84
  %245 = shl i32 1, %244
  %246 = load ptr, ptr %10, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.ImGuiWindow, ptr %246, i32 0, i32 43
  %248 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %247, i32 0, i32 10
  %249 = load i32, ptr %248, align 8, !tbaa !85
  %250 = or i32 %249, %245
  store i32 %250, ptr %248, align 8, !tbaa !85
  br label %251

251:                                              ; preds = %240, %236, %232, %227, %220
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  %252 = load i32, ptr %6, align 4, !tbaa !5
  %253 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %25, i32 noundef %252, ptr noundef null)
  %254 = zext i1 %253 to i8
  store i8 %254, ptr %27, align 1, !tbaa !37
  %255 = load ptr, ptr %10, align 8, !tbaa !9
  %256 = getelementptr inbounds %struct.ImGuiWindow, ptr %255, i32 0, i32 43
  %257 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %256, i32 0, i32 12
  %258 = load i32, ptr %257, align 8, !tbaa !86
  %259 = or i32 %258, 2
  store i32 %259, ptr %257, align 8, !tbaa !86
  %260 = load ptr, ptr %10, align 8, !tbaa !9
  %261 = getelementptr inbounds %struct.ImGuiWindow, ptr %260, i32 0, i32 43
  %262 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %261, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %262, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !79
  %263 = load i8, ptr %27, align 1, !tbaa !37, !range !35, !noundef !36
  %264 = trunc i8 %263 to i1
  br i1 %264, label %277, label %265

265:                                              ; preds = %251
  %266 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %267 = trunc i8 %266 to i1
  br i1 %267, label %268, label %274

268:                                              ; preds = %265
  %269 = load i32, ptr %7, align 4, !tbaa !5
  %270 = and i32 %269, 8
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %274, label %272

272:                                              ; preds = %268
  %273 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui13TreePushRawIDEj(i32 noundef %273)
  br label %274

274:                                              ; preds = %272, %268, %265
  %275 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %276 = trunc i8 %275 to i1
  store i1 %276, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %578

277:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %278 = load i32, ptr %7, align 4, !tbaa !5
  %279 = and i32 %278, 4
  %280 = icmp ne i32 %279, 0
  %281 = zext i1 %280 to i64
  %282 = select i1 %280, i32 64, i32 0
  %283 = or i32 1024, %282
  store i32 %283, ptr %28, align 4, !tbaa !5
  %284 = load i32, ptr %7, align 4, !tbaa !5
  %285 = and i32 %284, 256
  %286 = icmp ne i32 %285, 0
  br i1 %286, label %290, label %287

287:                                              ; preds = %277
  %288 = load i32, ptr %28, align 4, !tbaa !5
  %289 = or i32 %288, 4096
  store i32 %289, ptr %28, align 4, !tbaa !5
  br label %290

290:                                              ; preds = %287, %277
  %291 = load i32, ptr %7, align 4, !tbaa !5
  %292 = and i32 %291, 64
  %293 = icmp ne i32 %292, 0
  br i1 %293, label %294, label %303

294:                                              ; preds = %290
  %295 = load i32, ptr %7, align 4, !tbaa !5
  %296 = and i32 %295, 128
  %297 = icmp ne i32 %296, 0
  %298 = zext i1 %297 to i64
  %299 = select i1 %297, i32 2, i32 0
  %300 = or i32 16, %299
  %301 = load i32, ptr %28, align 4, !tbaa !5
  %302 = or i32 %301, %300
  store i32 %302, ptr %28, align 4, !tbaa !5
  br label %303

303:                                              ; preds = %294, %290
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  %304 = load i32, ptr %6, align 4, !tbaa !5
  %305 = load i32, ptr %28, align 4, !tbaa !5
  %306 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %25, i32 noundef %304, ptr noundef %29, ptr noundef %30, i32 noundef %305)
  %307 = zext i1 %306 to i8
  store i8 %307, ptr %31, align 1, !tbaa !37
  %308 = load i32, ptr %7, align 4, !tbaa !5
  %309 = and i32 %308, 256
  %310 = icmp ne i32 %309, 0
  br i1 %310, label %441, label %311

311:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #8
  store i8 0, ptr %32, align 1, !tbaa !37
  %312 = load i8, ptr %31, align 1, !tbaa !37, !range !35, !noundef !36
  %313 = trunc i8 %312 to i1
  br i1 %313, label %314, label %384

314:                                              ; preds = %311
  %315 = load i32, ptr %7, align 4, !tbaa !5
  %316 = and i32 %315, 192
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %324

318:                                              ; preds = %314
  %319 = load ptr, ptr %12, align 8, !tbaa !9
  %320 = getelementptr inbounds %struct.ImGuiContext, ptr %319, i32 0, i32 57
  %321 = load i32, ptr %320, align 4, !tbaa !87
  %322 = load i32, ptr %6, align 4, !tbaa !5
  %323 = icmp eq i32 %321, %322
  br label %324

324:                                              ; preds = %318, %314
  %325 = phi i1 [ true, %314 ], [ %323, %318 ]
  %326 = zext i1 %325 to i8
  store i8 %326, ptr %32, align 1, !tbaa !37
  %327 = load i32, ptr %7, align 4, !tbaa !5
  %328 = and i32 %327, 128
  %329 = icmp ne i32 %328, 0
  br i1 %329, label %330, label %356

330:                                              ; preds = %324
  %331 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %332 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 0
  %333 = getelementptr inbounds %struct.ImVec2, ptr %332, i32 0, i32 0
  %334 = load float, ptr %333, align 4, !tbaa !77
  %335 = load float, ptr %22, align 4, !tbaa !39
  %336 = fadd float %334, %335
  %337 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %338 = getelementptr inbounds %struct.ImVec2, ptr %337, i32 0, i32 1
  %339 = load float, ptr %338, align 4, !tbaa !82
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %336, float noundef %339)
  %340 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %331, ptr noundef nonnull align 4 dereferenceable(8) %33, i1 noundef zeroext true)
  br i1 %340, label %341, label %347

341:                                              ; preds = %330
  %342 = load ptr, ptr %12, align 8, !tbaa !9
  %343 = getelementptr inbounds %struct.ImGuiContext, ptr %342, i32 0, i32 77
  %344 = load i8, ptr %343, align 1, !tbaa !88, !range !35, !noundef !36
  %345 = trunc i8 %344 to i1
  %346 = xor i1 %345, true
  br label %347

347:                                              ; preds = %341, %330
  %348 = phi i1 [ false, %330 ], [ %346, %341 ]
  %349 = zext i1 %348 to i32
  %350 = load i8, ptr %32, align 1, !tbaa !37, !range !35, !noundef !36
  %351 = trunc i8 %350 to i1
  %352 = zext i1 %351 to i32
  %353 = or i32 %352, %349
  %354 = icmp ne i32 %353, 0
  %355 = zext i1 %354 to i8
  store i8 %355, ptr %32, align 1, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %356

356:                                              ; preds = %347, %324
  %357 = load i32, ptr %7, align 4, !tbaa !5
  %358 = and i32 %357, 64
  %359 = icmp ne i32 %358, 0
  br i1 %359, label %360, label %374

360:                                              ; preds = %356
  %361 = load ptr, ptr %12, align 8, !tbaa !9
  %362 = getelementptr inbounds %struct.ImGuiContext, ptr %361, i32 0, i32 3
  %363 = getelementptr inbounds %struct.ImGuiIO, ptr %362, i32 0, i32 57
  %364 = getelementptr inbounds [5 x i8], ptr %363, i64 0, i64 0
  %365 = load i8, ptr %364, align 1, !tbaa !37, !range !35, !noundef !36
  %366 = trunc i8 %365 to i1
  %367 = zext i1 %366 to i32
  %368 = load i8, ptr %32, align 1, !tbaa !37, !range !35, !noundef !36
  %369 = trunc i8 %368 to i1
  %370 = zext i1 %369 to i32
  %371 = or i32 %370, %367
  %372 = icmp ne i32 %371, 0
  %373 = zext i1 %372 to i8
  store i8 %373, ptr %32, align 1, !tbaa !37
  br label %374

374:                                              ; preds = %360, %356
  %375 = load ptr, ptr %12, align 8, !tbaa !9
  %376 = getelementptr inbounds %struct.ImGuiContext, ptr %375, i32 0, i32 101
  %377 = load i8, ptr %376, align 4, !tbaa !89, !range !35, !noundef !36
  %378 = trunc i8 %377 to i1
  br i1 %378, label %379, label %383

379:                                              ; preds = %374
  %380 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %381 = trunc i8 %380 to i1
  br i1 %381, label %382, label %383

382:                                              ; preds = %379
  store i8 0, ptr %32, align 1, !tbaa !37
  br label %383

383:                                              ; preds = %382, %379, %374
  br label %384

384:                                              ; preds = %383, %311
  %385 = load ptr, ptr %12, align 8, !tbaa !9
  %386 = getelementptr inbounds %struct.ImGuiContext, ptr %385, i32 0, i32 56
  %387 = load i32, ptr %386, align 8, !tbaa !90
  %388 = load i32, ptr %6, align 4, !tbaa !5
  %389 = icmp eq i32 %387, %388
  br i1 %389, label %390, label %404

390:                                              ; preds = %384
  %391 = load ptr, ptr %12, align 8, !tbaa !9
  %392 = getelementptr inbounds %struct.ImGuiContext, ptr %391, i32 0, i32 85
  %393 = load i8, ptr %392, align 1, !tbaa !91, !range !35, !noundef !36
  %394 = trunc i8 %393 to i1
  br i1 %394, label %395, label %404

395:                                              ; preds = %390
  %396 = load ptr, ptr %12, align 8, !tbaa !9
  %397 = getelementptr inbounds %struct.ImGuiContext, ptr %396, i32 0, i32 89
  %398 = load i32, ptr %397, align 4, !tbaa !92
  %399 = icmp eq i32 %398, 0
  br i1 %399, label %400, label %404

400:                                              ; preds = %395
  %401 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %402 = trunc i8 %401 to i1
  br i1 %402, label %403, label %404

403:                                              ; preds = %400
  store i8 1, ptr %32, align 1, !tbaa !37
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %404

404:                                              ; preds = %403, %400, %395, %390, %384
  %405 = load ptr, ptr %12, align 8, !tbaa !9
  %406 = getelementptr inbounds %struct.ImGuiContext, ptr %405, i32 0, i32 56
  %407 = load i32, ptr %406, align 8, !tbaa !90
  %408 = load i32, ptr %6, align 4, !tbaa !5
  %409 = icmp eq i32 %407, %408
  br i1 %409, label %410, label %424

410:                                              ; preds = %404
  %411 = load ptr, ptr %12, align 8, !tbaa !9
  %412 = getelementptr inbounds %struct.ImGuiContext, ptr %411, i32 0, i32 85
  %413 = load i8, ptr %412, align 1, !tbaa !91, !range !35, !noundef !36
  %414 = trunc i8 %413 to i1
  br i1 %414, label %415, label %424

415:                                              ; preds = %410
  %416 = load ptr, ptr %12, align 8, !tbaa !9
  %417 = getelementptr inbounds %struct.ImGuiContext, ptr %416, i32 0, i32 89
  %418 = load i32, ptr %417, align 4, !tbaa !92
  %419 = icmp eq i32 %418, 1
  br i1 %419, label %420, label %424

420:                                              ; preds = %415
  %421 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %422 = trunc i8 %421 to i1
  br i1 %422, label %424, label %423

423:                                              ; preds = %420
  store i8 1, ptr %32, align 1, !tbaa !37
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %424

424:                                              ; preds = %423, %420, %415, %410, %404
  %425 = load i8, ptr %32, align 1, !tbaa !37, !range !35, !noundef !36
  %426 = trunc i8 %425 to i1
  br i1 %426, label %427, label %440

427:                                              ; preds = %424
  %428 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %429 = trunc i8 %428 to i1
  %430 = xor i1 %429, true
  %431 = zext i1 %430 to i8
  store i8 %431, ptr %26, align 1, !tbaa !37
  %432 = load ptr, ptr %10, align 8, !tbaa !9
  %433 = getelementptr inbounds %struct.ImGuiWindow, ptr %432, i32 0, i32 43
  %434 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %433, i32 0, i32 24
  %435 = load ptr, ptr %434, align 8, !tbaa !93
  %436 = load i32, ptr %6, align 4, !tbaa !5
  %437 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %438 = trunc i8 %437 to i1
  %439 = zext i1 %438 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %435, i32 noundef %436, i32 noundef %439)
  br label %440

440:                                              ; preds = %427, %424
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  br label %441

441:                                              ; preds = %440, %303
  %442 = load i32, ptr %7, align 4, !tbaa !5
  %443 = and i32 %442, 4
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %445, label %446

445:                                              ; preds = %441
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %446

446:                                              ; preds = %445, %441
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %447 = load i8, ptr %30, align 1, !tbaa !37, !range !35, !noundef !36
  %448 = trunc i8 %447 to i1
  br i1 %448, label %449, label %453

449:                                              ; preds = %446
  %450 = load i8, ptr %29, align 1, !tbaa !37, !range !35, !noundef !36
  %451 = trunc i8 %450 to i1
  br i1 %451, label %452, label %453

452:                                              ; preds = %449
  br label %458

453:                                              ; preds = %449, %446
  %454 = load i8, ptr %29, align 1, !tbaa !37, !range !35, !noundef !36
  %455 = trunc i8 %454 to i1
  %456 = zext i1 %455 to i64
  %457 = select i1 %455, i32 25, i32 24
  br label %458

458:                                              ; preds = %453, %452
  %459 = phi i32 [ 26, %452 ], [ %457, %453 ]
  %460 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %459, float noundef 1.000000e+00)
  store i32 %460, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %461 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %462 = load float, ptr %22, align 4, !tbaa !39
  %463 = load float, ptr %17, align 4, !tbaa !39
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %462, float noundef %463)
  %464 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %461, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store <2 x float> %464, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  %465 = load i8, ptr %14, align 1, !tbaa !37, !range !35, !noundef !36
  %466 = trunc i8 %465 to i1
  br i1 %466, label %467, label %507

467:                                              ; preds = %458
  %468 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %468, i64 8, i1 false), !tbaa.struct !38
  %469 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %469, i64 8, i1 false), !tbaa.struct !38
  %470 = load i32, ptr %34, align 4, !tbaa !5
  %471 = load ptr, ptr %13, align 8, !tbaa !9
  %472 = getelementptr inbounds %struct.ImGuiStyle, ptr %471, i32 0, i32 11
  %473 = load float, ptr %472, align 4, !tbaa !94
  %474 = load <2 x float>, ptr %37, align 4
  %475 = load <2 x float>, ptr %38, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %474, <2 x float> %475, i32 noundef %470, i1 noundef zeroext true, float noundef %473)
  %476 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef %476, i32 noundef 2)
  %477 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %478 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %479 = load float, ptr %478, align 4, !tbaa !74
  %480 = load float, ptr %17, align 4, !tbaa !39
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %479, float noundef %480)
  %481 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %477, ptr noundef nonnull align 4 dereferenceable(8) %40)
  store <2 x float> %481, ptr %39, align 4
  %482 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %483 = trunc i8 %482 to i1
  %484 = zext i1 %483 to i64
  %485 = select i1 %483, i32 3, i32 1
  %486 = load <2 x float>, ptr %39, align 4
  call void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float> %486, i32 noundef %485, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  %487 = load ptr, ptr %12, align 8, !tbaa !9
  %488 = getelementptr inbounds %struct.ImGuiContext, ptr %487, i32 0, i32 135
  %489 = load i8, ptr %488, align 8, !tbaa !95, !range !35, !noundef !36
  %490 = trunc i8 %489 to i1
  br i1 %490, label %491, label %502

491:                                              ; preds = %467
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %41, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 3, ptr %42) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %42, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %492 = getelementptr inbounds [4 x i8], ptr %41, i64 0, i64 0
  %493 = getelementptr inbounds [4 x i8], ptr %41, i64 0, i64 0
  %494 = getelementptr inbounds i8, ptr %493, i64 3
  call void @_ZL15LogRenderedTextPK6ImVec2PKcS3_(ptr noundef %35, ptr noundef %492, ptr noundef %494)
  %495 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  %496 = load ptr, ptr %8, align 8, !tbaa !9
  %497 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %495, ptr noundef %496, ptr noundef %497, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  %498 = getelementptr inbounds [3 x i8], ptr %42, i64 0, i64 0
  %499 = getelementptr inbounds i8, ptr %498, i64 1
  %500 = getelementptr inbounds [3 x i8], ptr %42, i64 0, i64 0
  %501 = getelementptr inbounds i8, ptr %500, i64 3
  call void @_ZL15LogRenderedTextPK6ImVec2PKcS3_(ptr noundef %35, ptr noundef %499, ptr noundef %501)
  call void @llvm.lifetime.end.p0(i64 3, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %506

502:                                              ; preds = %467
  %503 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  %504 = load ptr, ptr %8, align 8, !tbaa !9
  %505 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %503, ptr noundef %504, ptr noundef %505, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %506

506:                                              ; preds = %502, %491
  br label %566

507:                                              ; preds = %458
  %508 = load i8, ptr %29, align 1, !tbaa !37, !range !35, !noundef !36
  %509 = trunc i8 %508 to i1
  br i1 %509, label %514, label %510

510:                                              ; preds = %507
  %511 = load i32, ptr %7, align 4, !tbaa !5
  %512 = and i32 %511, 1
  %513 = icmp ne i32 %512, 0
  br i1 %513, label %514, label %521

514:                                              ; preds = %510, %507
  %515 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 4 %515, i64 8, i1 false), !tbaa.struct !38
  %516 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %516, i64 8, i1 false), !tbaa.struct !38
  %517 = load i32, ptr %34, align 4, !tbaa !5
  %518 = load <2 x float>, ptr %45, align 4
  %519 = load <2 x float>, ptr %46, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %518, <2 x float> %519, i32 noundef %517, i1 noundef zeroext false, float noundef 0.000000e+00)
  %520 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef %520, i32 noundef 2)
  br label %521

521:                                              ; preds = %514, %510
  %522 = load i32, ptr %7, align 4, !tbaa !5
  %523 = and i32 %522, 512
  %524 = icmp ne i32 %523, 0
  br i1 %524, label %525, label %536

525:                                              ; preds = %521
  %526 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %527 = load float, ptr %22, align 4, !tbaa !39
  %528 = fmul float %527, 5.000000e-01
  %529 = load ptr, ptr %12, align 8, !tbaa !9
  %530 = getelementptr inbounds %struct.ImGuiContext, ptr %529, i32 0, i32 6
  %531 = load float, ptr %530, align 8, !tbaa !45
  %532 = load float, ptr %17, align 4, !tbaa !39
  %533 = call float @llvm.fmuladd.f32(float %531, float 5.000000e-01, float %532)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef %528, float noundef %533)
  %534 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %526, ptr noundef nonnull align 4 dereferenceable(8) %48)
  store <2 x float> %534, ptr %47, align 4
  %535 = load <2 x float>, ptr %47, align 4
  call void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float> %535)
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %556

536:                                              ; preds = %521
  %537 = load i32, ptr %7, align 4, !tbaa !5
  %538 = and i32 %537, 256
  %539 = icmp ne i32 %538, 0
  br i1 %539, label %555, label %540

540:                                              ; preds = %536
  %541 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %542 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %543 = load float, ptr %542, align 4, !tbaa !74
  %544 = load ptr, ptr %12, align 8, !tbaa !9
  %545 = getelementptr inbounds %struct.ImGuiContext, ptr %544, i32 0, i32 6
  %546 = load float, ptr %545, align 8, !tbaa !45
  %547 = load float, ptr %17, align 4, !tbaa !39
  %548 = call float @llvm.fmuladd.f32(float %546, float 0x3FC3333340000000, float %547)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %50, float noundef %543, float noundef %548)
  %549 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %541, ptr noundef nonnull align 4 dereferenceable(8) %50)
  store <2 x float> %549, ptr %49, align 4
  %550 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %551 = trunc i8 %550 to i1
  %552 = zext i1 %551 to i64
  %553 = select i1 %551, i32 3, i32 1
  %554 = load <2 x float>, ptr %49, align 4
  call void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float> %554, i32 noundef %553, float noundef 0x3FE6666660000000)
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %555

555:                                              ; preds = %540, %536
  br label %556

556:                                              ; preds = %555, %525
  %557 = load ptr, ptr %12, align 8, !tbaa !9
  %558 = getelementptr inbounds %struct.ImGuiContext, ptr %557, i32 0, i32 135
  %559 = load i8, ptr %558, align 8, !tbaa !95, !range !35, !noundef !36
  %560 = trunc i8 %559 to i1
  br i1 %560, label %561, label %562

561:                                              ; preds = %556
  call void @_ZL15LogRenderedTextPK6ImVec2PKcS3_(ptr noundef %35, ptr noundef @.str.142, ptr noundef null)
  br label %562

562:                                              ; preds = %561, %556
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !38
  %563 = load ptr, ptr %8, align 8, !tbaa !9
  %564 = load ptr, ptr %9, align 8, !tbaa !9
  %565 = load <2 x float>, ptr %51, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %565, ptr noundef %563, ptr noundef %564, i1 noundef zeroext false)
  br label %566

566:                                              ; preds = %562, %506
  %567 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %568 = trunc i8 %567 to i1
  br i1 %568, label %569, label %575

569:                                              ; preds = %566
  %570 = load i32, ptr %7, align 4, !tbaa !5
  %571 = and i32 %570, 8
  %572 = icmp ne i32 %571, 0
  br i1 %572, label %575, label %573

573:                                              ; preds = %569
  %574 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui13TreePushRawIDEj(i32 noundef %574)
  br label %575

575:                                              ; preds = %573, %569, %566
  %576 = load i8, ptr %26, align 1, !tbaa !37, !range !35, !noundef !36
  %577 = trunc i8 %576 to i1
  store i1 %577, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %578

578:                                              ; preds = %575, %274
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %579

579:                                              ; preds = %578, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %580 = load i1, ptr %5, align 1
  ret i1 %580
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13TreePushRawIDEj(i32 noundef) #6

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


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

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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix = external hidden unnamed_addr constant [3 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui19GetContentRegionMaxEv() local_unnamed_addr #7

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui16TreeNodeBehaviorEjiPKcS1_(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #7 {
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImRect, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca [4 x i8], align 4
  %18 = alloca [3 x i8], align 1
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %24 = getelementptr inbounds i8, ptr %23, i64 127
  %25 = load i8, ptr %24, align 1, !tbaa !5, !range !33, !noundef !34
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %255, label %27

27:                                               ; preds = %4
  %28 = load ptr, ptr @GImGui, align 8, !tbaa !35
  %29 = and i32 %1, 2
  %.not = icmp eq i32 %29, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %30 = and i32 %1, 1026
  %or.cond = icmp eq i32 %30, 0
  %31 = getelementptr inbounds i8, ptr %28, i64 5460
  br i1 %or.cond, label %34, label %32

32:                                               ; preds = %27
  %33 = load i64, ptr %31, align 4
  store i64 %33, ptr %5, align 8
  br label %36

34:                                               ; preds = %27
  %35 = load float, ptr %31, align 4, !tbaa !36
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %35, float noundef 0.000000e+00)
  br label %36

36:                                               ; preds = %34, %32
  %.not133 = icmp eq ptr %3, null
  br i1 %.not133, label %37, label %39

37:                                               ; preds = %36
  %38 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %2, ptr noundef null)
  br label %39

39:                                               ; preds = %37, %36
  %.0124 = phi ptr [ %3, %36 ], [ %38, %37 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %40 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %2, ptr noundef %.0124, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %40, ptr %6, align 8
  %41 = getelementptr inbounds i8, ptr %5, i64 4
  %42 = load float, ptr %41, align 4, !tbaa !38
  %43 = getelementptr inbounds i8, ptr %23, i64 200
  %44 = getelementptr inbounds i8, ptr %23, i64 236
  %45 = load float, ptr %44, align 4, !tbaa !39
  %46 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %42, float noundef %45)
  %47 = getelementptr inbounds i8, ptr %23, i64 232
  %48 = load float, ptr %47, align 8, !tbaa !40
  %49 = getelementptr inbounds i8, ptr %28, i64 6240
  %50 = load float, ptr %49, align 8, !tbaa !41
  %51 = getelementptr inbounds i8, ptr %28, i64 5464
  %52 = load float, ptr %51, align 4, !tbaa !68
  %53 = call float @llvm.fmuladd.f32(float %52, float 2.000000e+00, float %50)
  %54 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %48, float noundef %53)
  %55 = extractelement <2 x float> %40, i64 1
  %56 = load float, ptr %41, align 4, !tbaa !38
  %57 = call float @llvm.fmuladd.f32(float %56, float 2.000000e+00, float %55)
  %58 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %54, float noundef %57)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %59 = getelementptr inbounds i8, ptr %23, i64 16
  %60 = load float, ptr %59, align 8, !tbaa !69
  %61 = call <2 x float> @_ZN5ImGui19GetContentRegionMaxEv()
  %.sroa.033.0.vec.extract = extractelement <2 x float> %61, i64 0
  %62 = fadd float %60, %.sroa.033.0.vec.extract
  %63 = getelementptr inbounds i8, ptr %23, i64 204
  %64 = load float, ptr %63, align 4, !tbaa !70
  %65 = fadd float %58, %64
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %62, float noundef %65)
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %66 = extractelement <2 x float> %40, i64 0
  br i1 %.not, label %79, label %67

67:                                               ; preds = %39
  %68 = getelementptr inbounds i8, ptr %23, i64 64
  %69 = load float, ptr %68, align 8, !tbaa !71
  %70 = fmul float %69, 5.000000e-01
  %71 = fptosi float %70 to i32
  %72 = sitofp i32 %71 to float
  %73 = fadd float %72, -1.000000e+00
  %74 = load float, ptr %7, align 8, !tbaa !72
  %75 = fsub float %74, %73
  store float %75, ptr %7, align 8, !tbaa !72
  %76 = getelementptr inbounds i8, ptr %7, i64 8
  %77 = load float, ptr %76, align 8, !tbaa !73
  %78 = fadd float %77, %73
  store float %78, ptr %76, align 8, !tbaa !73
  br label %79

79:                                               ; preds = %67, %39
  %.v = phi float [ 3.000000e+00, %67 ], [ 2.000000e+00, %39 ]
  %80 = load float, ptr %49, align 8, !tbaa !41
  %81 = load float, ptr %5, align 8
  %82 = fmul float %.v, %81
  %83 = fadd float %80, %82
  %84 = fcmp ogt float %66, 0.000000e+00
  %85 = call float @llvm.fmuladd.f32(float %81, float 2.000000e+00, float %66)
  %86 = select i1 %84, float %85, float 0.000000e+00
  %87 = fadd float %80, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %87, float noundef %58)
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %46)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  br i1 %.not, label %89, label %88

88:                                               ; preds = %79
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !74
  br label %99

89:                                               ; preds = %79
  %90 = load float, ptr %7, align 8, !tbaa !72
  %91 = getelementptr inbounds i8, ptr %7, i64 4
  %92 = load float, ptr %91, align 4, !tbaa !76
  %93 = fadd float %87, %90
  %94 = getelementptr inbounds i8, ptr %28, i64 5476
  %95 = load float, ptr %94, align 4, !tbaa !77
  %96 = call float @llvm.fmuladd.f32(float %95, float 2.000000e+00, float %93)
  %97 = getelementptr inbounds i8, ptr %7, i64 12
  %98 = load float, ptr %97, align 4, !tbaa !78
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %90, float noundef %92, float noundef %96, float noundef %98)
  br label %99

99:                                               ; preds = %89, %88
  %100 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %0, i32 noundef %1)
  br i1 %100, label %101, label %114

101:                                              ; preds = %99
  %102 = getelementptr inbounds i8, ptr %28, i64 6876
  %103 = load i8, ptr %102, align 4, !tbaa !79, !range !33, !noundef !34
  %104 = trunc nuw i8 %103 to i1
  %105 = and i32 %1, 8200
  %106 = icmp ne i32 %105, 8192
  %or.cond147.not = or i1 %106, %104
  br i1 %or.cond147.not, label %114, label %107

107:                                              ; preds = %101
  %108 = getelementptr inbounds i8, ptr %23, i64 252
  %109 = load i32, ptr %108, align 4, !tbaa !80
  %110 = shl nuw i32 1, %109
  %111 = getelementptr inbounds i8, ptr %23, i64 256
  %112 = load i32, ptr %111, align 8, !tbaa !81
  %113 = or i32 %112, %110
  store i32 %113, ptr %111, align 8, !tbaa !81
  br label %114

114:                                              ; preds = %107, %101, %99
  %115 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %0, ptr noundef null)
  %116 = getelementptr inbounds i8, ptr %23, i64 264
  %117 = load i32, ptr %116, align 8, !tbaa !82
  %118 = or i32 %117, 2
  store i32 %118, ptr %116, align 8, !tbaa !82
  %119 = getelementptr inbounds i8, ptr %23, i64 284
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %119, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !74
  br i1 %115, label %123, label %120

120:                                              ; preds = %114
  %121 = and i32 %1, 8
  %.not136 = icmp eq i32 %121, 0
  %or.cond148 = and i1 %.not136, %100
  br i1 %or.cond148, label %122, label %254

122:                                              ; preds = %120
  call void @_ZN5ImGui13TreePushRawIDEj(i32 noundef %0)
  br label %254

123:                                              ; preds = %114
  %124 = and i32 %1, 4
  %.not137 = icmp eq i32 %124, 0
  %125 = shl nuw nsw i32 %124, 4
  %126 = and i32 %1, 256
  %.not138 = icmp eq i32 %126, 0
  %spec.select.v = select i1 %.not138, i32 5120, i32 1024
  %spec.select = or disjoint i32 %spec.select.v, %125
  %127 = and i32 %1, 64
  %.not139 = icmp eq i32 %127, 0
  %128 = lshr i32 %1, 6
  %129 = and i32 %128, 2
  %130 = or disjoint i32 %129, 16
  %131 = select i1 %.not139, i32 0, i32 %130
  %.1128 = or disjoint i32 %spec.select, %131
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  %132 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %.1128)
  br i1 %.not138, label %133, label %197

133:                                              ; preds = %123
  br i1 %132, label %134, label %167

134:                                              ; preds = %133
  %135 = and i32 %1, 192
  %.not141 = icmp eq i32 %135, 0
  br i1 %.not141, label %140, label %136

136:                                              ; preds = %134
  %137 = getelementptr inbounds i8, ptr %28, i64 6796
  %138 = load i32, ptr %137, align 4, !tbaa !83
  %139 = icmp eq i32 %138, %0
  br label %140

140:                                              ; preds = %136, %134
  %141 = phi i1 [ true, %134 ], [ %139, %136 ]
  %142 = zext i1 %141 to i8
  %143 = and i32 %1, 128
  %.not142 = icmp eq i32 %143, 0
  br i1 %.not142, label %157, label %144

144:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %145 = load float, ptr %10, align 4, !tbaa !72
  %146 = fadd float %83, %145
  %147 = getelementptr inbounds i8, ptr %10, i64 12
  %148 = load float, ptr %147, align 4, !tbaa !78
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %146, float noundef %148)
  %149 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %13, i1 noundef zeroext true)
  br i1 %149, label %150, label %154

150:                                              ; preds = %144
  %151 = getelementptr inbounds i8, ptr %28, i64 6879
  %152 = load i8, ptr %151, align 1, !tbaa !84, !range !33, !noundef !34
  %153 = xor i8 %152, 1
  br label %154

154:                                              ; preds = %150, %144
  %155 = phi i8 [ 0, %144 ], [ %153, %150 ]
  %156 = or i8 %155, %142
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %157

157:                                              ; preds = %154, %140
  %.0129 = phi i8 [ %156, %154 ], [ %142, %140 ]
  br i1 %.not139, label %162, label %158

158:                                              ; preds = %157
  %159 = getelementptr inbounds i8, ptr %28, i64 1029
  %160 = load i8, ptr %159, align 1, !tbaa !85, !range !33, !noundef !34
  %161 = or i8 %160, %.0129
  br label %162

162:                                              ; preds = %158, %157
  %.1130 = phi i8 [ %161, %158 ], [ %.0129, %157 ]
  %163 = getelementptr inbounds i8, ptr %28, i64 7332
  %164 = load i8, ptr %163, align 4, !tbaa !86, !range !33, !noundef !34
  %165 = trunc nuw i8 %164 to i1
  %166 = and i1 %100, %165
  %spec.select157 = select i1 %166, i8 0, i8 %.1130
  br label %167

167:                                              ; preds = %162, %133
  %.2 = phi i8 [ 0, %133 ], [ %spec.select157, %162 ]
  %168 = getelementptr inbounds i8, ptr %28, i64 6792
  %169 = load i32, ptr %168, align 8, !tbaa !87
  %170 = icmp eq i32 %169, %0
  br i1 %170, label %171, label %180

171:                                              ; preds = %167
  %172 = getelementptr inbounds i8, ptr %28, i64 6905
  %173 = load i8, ptr %172, align 1, !tbaa !88, !range !33, !noundef !34
  %174 = trunc nuw i8 %173 to i1
  br i1 %174, label %175, label %.thread164

175:                                              ; preds = %171
  %176 = getelementptr inbounds i8, ptr %28, i64 6916
  %177 = load i32, ptr %176, align 4, !tbaa !89
  %178 = icmp eq i32 %177, 0
  %brmerge.not = and i1 %100, %178
  br i1 %brmerge.not, label %179, label %.thread164

179:                                              ; preds = %175
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  %.pre = load i32, ptr %168, align 8, !tbaa !87
  br label %180

180:                                              ; preds = %179, %167
  %181 = phi i32 [ %.pre, %179 ], [ %169, %167 ]
  %.3 = phi i8 [ 1, %179 ], [ %.2, %167 ]
  %182 = icmp eq i32 %181, %0
  br i1 %182, label %.thread164, label %190

.thread164:                                       ; preds = %171, %175, %180
  %.3167 = phi i8 [ %.3, %180 ], [ %.2, %175 ], [ %.2, %171 ]
  %183 = getelementptr inbounds i8, ptr %28, i64 6905
  %184 = load i8, ptr %183, align 1, !tbaa !88, !range !33, !noundef !34
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %190

186:                                              ; preds = %.thread164
  %187 = getelementptr inbounds i8, ptr %28, i64 6916
  %188 = load i32, ptr %187, align 4, !tbaa !89
  %189 = icmp ne i32 %188, 1
  %brmerge153 = or i1 %100, %189
  br i1 %brmerge153, label %190, label %.thread

.thread:                                          ; preds = %186
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %192

190:                                              ; preds = %186, %.thread164, %180
  %.3166 = phi i8 [ %.3167, %186 ], [ %.3167, %.thread164 ], [ %.3, %180 ]
  %191 = trunc nuw i8 %.3166 to i1
  br i1 %191, label %192, label %197

192:                                              ; preds = %.thread, %190
  %193 = xor i1 %100, true
  %194 = getelementptr inbounds i8, ptr %23, i64 352
  %195 = load ptr, ptr %194, align 8, !tbaa !90
  %196 = zext i1 %193 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %195, i32 noundef %0, i32 noundef %196)
  br label %197

197:                                              ; preds = %190, %192, %123
  %.1126 = phi i1 [ %100, %123 ], [ %193, %192 ], [ %100, %190 ]
  br i1 %.not137, label %199, label %198

198:                                              ; preds = %197
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %199

199:                                              ; preds = %198, %197
  %200 = load i8, ptr %12, align 1, !tbaa !85, !range !33, !noundef !34
  %201 = trunc nuw i8 %200 to i1
  %.pre160 = load i8, ptr %11, align 1, !tbaa !85, !range !33
  %202 = trunc nuw i8 %.pre160 to i1
  %.not168 = xor i1 %201, true
  %203 = select i1 %201, i1 %202, i1 false
  %.mux = select i1 %.not168, i1 %202, i1 false
  %204 = select i1 %.mux, i32 25, i32 24
  %205 = select i1 %203, i32 26, i32 %204
  %206 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %205, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %83, float noundef %46)
  %207 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %207, ptr %14, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br i1 %.not, label %224, label %208

208:                                              ; preds = %199
  %.sroa.07.0.copyload = load <2 x float>, ptr %7, align 8
  %209 = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.06.0.copyload = load <2 x float>, ptr %209, align 8
  %210 = getelementptr inbounds i8, ptr %28, i64 5468
  %211 = load float, ptr %210, align 4, !tbaa !91
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.07.0.copyload, <2 x float> %.sroa.06.0.copyload, i32 noundef %206, i1 noundef zeroext true, float noundef %211)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %212 = load float, ptr %5, align 8, !tbaa !92
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %212, float noundef %46)
  %213 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %16)
  %214 = select i1 %.1126, i32 3, i32 1
  call void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float> %213, i32 noundef %214, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  %215 = getelementptr inbounds i8, ptr %28, i64 11424
  %216 = load i8, ptr %215, align 8, !tbaa !93, !range !33, !noundef !34
  %217 = trunc nuw i8 %216 to i1
  br i1 %217, label %218, label %223

218:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  %219 = load i32, ptr @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix, align 1
  store i32 %219, ptr %17, align 4
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %18) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %18, ptr noundef nonnull align 1 dereferenceable(3) @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %220 = getelementptr inbounds i8, ptr %17, i64 3
  call void @_ZL15LogRenderedTextPK6ImVec2PKcS3_(ptr noundef nonnull %14, ptr noundef nonnull %17, ptr noundef nonnull %220)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %209, ptr noundef %2, ptr noundef %.0124, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  %221 = getelementptr inbounds i8, ptr %18, i64 1
  %222 = getelementptr inbounds i8, ptr %18, i64 3
  call void @_ZL15LogRenderedTextPK6ImVec2PKcS3_(ptr noundef nonnull %14, ptr noundef nonnull %221, ptr noundef nonnull %222)
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  br label %250

223:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %209, ptr noundef %2, ptr noundef %.0124, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %250

224:                                              ; preds = %199
  %225 = load i8, ptr %11, align 1, !tbaa !85, !range !33, !noundef !34
  %226 = trunc nuw i8 %225 to i1
  %227 = and i32 %1, 1
  %.not143 = icmp ne i32 %227, 0
  %or.cond155.not = or i1 %.not143, %226
  br i1 %or.cond155.not, label %228, label %230

228:                                              ; preds = %224
  %.sroa.04.0.copyload = load <2 x float>, ptr %7, align 8
  %229 = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.03.0.copyload = load <2 x float>, ptr %229, align 8
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.04.0.copyload, <2 x float> %.sroa.03.0.copyload, i32 noundef %206, i1 noundef zeroext false, float noundef 0.000000e+00)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  br label %230

230:                                              ; preds = %224, %228
  %231 = and i32 %1, 512
  %.not144 = icmp eq i32 %231, 0
  br i1 %.not144, label %237, label %232

232:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %233 = fmul float %83, 5.000000e-01
  %234 = load float, ptr %49, align 8, !tbaa !41
  %235 = call float @llvm.fmuladd.f32(float %234, float 5.000000e-01, float %46)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %233, float noundef %235)
  %236 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float> %236)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %244

237:                                              ; preds = %230
  br i1 %.not138, label %238, label %244

238:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %239 = load float, ptr %5, align 8, !tbaa !92
  %240 = load float, ptr %49, align 8, !tbaa !41
  %241 = call float @llvm.fmuladd.f32(float %240, float 0x3FC3333340000000, float %46)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %239, float noundef %241)
  %242 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %22)
  %243 = select i1 %.1126, i32 3, i32 1
  call void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float> %242, i32 noundef %243, float noundef 0x3FE6666660000000)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %244

244:                                              ; preds = %237, %238, %232
  %245 = getelementptr inbounds i8, ptr %28, i64 11424
  %246 = load i8, ptr %245, align 8, !tbaa !93, !range !33, !noundef !34
  %247 = trunc nuw i8 %246 to i1
  br i1 %247, label %248, label %249

248:                                              ; preds = %244
  call void @_ZL15LogRenderedTextPK6ImVec2PKcS3_(ptr noundef nonnull %14, ptr noundef nonnull @.str.142, ptr noundef null)
  br label %249

249:                                              ; preds = %248, %244
  %.sroa.0.0.copyload = load <2 x float>, ptr %14, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.0.0.copyload, ptr noundef %2, ptr noundef %.0124, i1 noundef zeroext false)
  br label %250

250:                                              ; preds = %218, %223, %249
  %251 = and i32 %1, 8
  %.not145 = icmp eq i32 %251, 0
  %or.cond156 = and i1 %.not145, %.1126
  br i1 %or.cond156, label %252, label %253

252:                                              ; preds = %250
  call void @_ZN5ImGui13TreePushRawIDEj(i32 noundef %0)
  br label %253

253:                                              ; preds = %252, %250
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %254

254:                                              ; preds = %120, %122, %253
  %.0 = phi i1 [ %.1126, %253 ], [ true, %122 ], [ %100, %120 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  br label %255

255:                                              ; preds = %4, %254
  %.1 = phi i1 [ %.0, %254 ], [ false, %4 ]
  ret i1 %.1
}

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

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


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