; LLVM IR from drohmer/cgp :: library/third_party/src/imgui/imgui_widgets.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, i8, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiWindowTempData, %class.ImVector.3, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %class.ImVector.5, float, i32, ptr, %struct.ImDrawList, 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, %struct.ImVec2, float, %struct.ImVec2, 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.0, %class.ImVector.1, %class.ImVector.1, %class.ImVector.2, [6 x i32], %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, ptr }
%class.ImVector = type { i32, i32, ptr }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.1 = type { i32, i32, ptr }
%class.ImVector.2 = type { i32, i32, ptr }
%struct.ImVec1 = type { float }
%class.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%struct.ImGuiStorage = type { %class.ImVector.4 }
%class.ImVector.4 = type { i32, i32, ptr }
%class.ImVector.5 = 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, i8, [5 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %class.ImVector, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, float, i32, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, %struct.ImVec2, ptr, ptr, i32, i32, float, [4 x i8], ptr, %class.ImVector.13, %class.ImVector.14, %class.ImVector.15, %class.ImVector.16, %class.ImVector.16, %struct.ImGuiNextWindowData, i8, [3 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, i32, i8, i8, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.18, [8 x i8], %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, %struct.ImVec4, i8, [3 x i8], float, float, %struct.ImVec2, i32, %class.ImVector.19, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %class.ImVector.21, %class.ImVector.22, 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, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x 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, [43 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%class.ImVector.13 = type { i32, i32, ptr }
%class.ImVector.14 = type { i32, i32, ptr }
%class.ImVector.15 = type { i32, i32, ptr }
%class.ImVector.16 = 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.17] }
%class.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%class.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, %class.ImVector.7, %class.ImVector.19, %class.ImVector.19, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"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.20, %class.ImVector.1, %class.ImVector.7, ptr, float, i16, i16, ptr, ptr, float, float, i8, i32 }
%class.ImVector.20 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.19 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %class.ImVector.19 }

@GImGui = external 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.120 = 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #1

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

; 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) #4

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #6

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

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #6

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef) #6

declare void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #6

declare 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) #6

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

declare void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float>) #6

; 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

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #6

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #6

declare void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float>, <2 x float>, i32 noundef, i1 noundef zeroext, float noundef) #6

declare void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float>, i32 noundef, float noundef) #6

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

declare void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) #6

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #6

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr 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) #9
  %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 !36, !noundef !37
  %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 %580

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

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

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

168:                                              ; preds = %162
  %169 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %170 = load float, ptr %169, align 4, !tbaa !76
  %171 = fmul float %170, 3.000000e+00
  br label %176

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

176:                                              ; preds = %172, %168
  %177 = phi float [ %171, %168 ], [ %175, %172 ]
  %178 = fadd float %165, %177
  store float %178, ptr %22, align 4, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %179 = load ptr, ptr %12, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.ImGuiContext, ptr %179, i32 0, i32 7
  %181 = load float, ptr %180, align 8, !tbaa !46
  %182 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %183 = load float, ptr %182, align 4, !tbaa !76
  %184 = fcmp ogt float %183, 0.000000e+00
  br i1 %184, label %185, label %191

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

191:                                              ; preds = %176
  br label %192

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

200:                                              ; preds = %192
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !81
  br label %221

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

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

228:                                              ; preds = %221
  %229 = load ptr, ptr %12, align 8, !tbaa !9
  %230 = getelementptr inbounds %struct.ImGuiContext, ptr %229, i32 0, i32 80
  %231 = load i8, ptr %230, align 4, !tbaa !85, !range !36, !noundef !37
  %232 = trunc i8 %231 to i1
  br i1 %232, label %252, label %233

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

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

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

252:                                              ; preds = %241, %237, %233, %228, %221
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  %253 = load i32, ptr %6, align 4, !tbaa !5
  %254 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %25, i32 noundef %253, ptr noundef null)
  %255 = zext i1 %254 to i8
  store i8 %255, ptr %27, align 1, !tbaa !38
  %256 = load ptr, ptr %10, align 8, !tbaa !9
  %257 = getelementptr inbounds %struct.ImGuiWindow, ptr %256, i32 0, i32 45
  %258 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %257, i32 0, i32 12
  %259 = load i32, ptr %258, align 8, !tbaa !88
  %260 = or i32 %259, 2
  store i32 %260, ptr %258, align 8, !tbaa !88
  %261 = load ptr, ptr %10, align 8, !tbaa !9
  %262 = getelementptr inbounds %struct.ImGuiWindow, ptr %261, i32 0, i32 45
  %263 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %262, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %263, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !81
  %264 = load i8, ptr %27, align 1, !tbaa !38, !range !36, !noundef !37
  %265 = trunc i8 %264 to i1
  br i1 %265, label %278, label %266

266:                                              ; preds = %252
  %267 = load i8, ptr %26, align 1, !tbaa !38, !range !36, !noundef !37
  %268 = trunc i8 %267 to i1
  br i1 %268, label %269, label %275

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

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

275:                                              ; preds = %273, %269, %266
  %276 = load i8, ptr %26, align 1, !tbaa !38, !range !36, !noundef !37
  %277 = trunc i8 %276 to i1
  store i1 %277, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %579

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

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

291:                                              ; preds = %288, %278
  %292 = load i32, ptr %7, align 4, !tbaa !5
  %293 = and i32 %292, 64
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %304

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

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

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

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

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

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

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

342:                                              ; preds = %331
  %343 = load ptr, ptr %12, align 8, !tbaa !9
  %344 = getelementptr inbounds %struct.ImGuiContext, ptr %343, i32 0, i32 83
  %345 = load i8, ptr %344, align 1, !tbaa !90, !range !36, !noundef !37
  %346 = trunc i8 %345 to i1
  %347 = xor i1 %346, true
  br label %348

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

357:                                              ; preds = %348, %325
  %358 = load i32, ptr %7, align 4, !tbaa !5
  %359 = and i32 %358, 64
  %360 = icmp ne i32 %359, 0
  br i1 %360, label %361, label %375

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

375:                                              ; preds = %361, %357
  %376 = load ptr, ptr %12, align 8, !tbaa !9
  %377 = getelementptr inbounds %struct.ImGuiContext, ptr %376, i32 0, i32 107
  %378 = load i8, ptr %377, align 4, !tbaa !91, !range !36, !noundef !37
  %379 = trunc i8 %378 to i1
  br i1 %379, label %380, label %384

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

383:                                              ; preds = %380
  store i8 0, ptr %32, align 1, !tbaa !38
  br label %384

384:                                              ; preds = %383, %380, %375
  br label %385

385:                                              ; preds = %384, %312
  %386 = load ptr, ptr %12, align 8, !tbaa !9
  %387 = getelementptr inbounds %struct.ImGuiContext, ptr %386, i32 0, i32 60
  %388 = load i32, ptr %387, align 8, !tbaa !92
  %389 = load i32, ptr %6, align 4, !tbaa !5
  %390 = icmp eq i32 %388, %389
  br i1 %390, label %391, label %405

391:                                              ; preds = %385
  %392 = load ptr, ptr %12, align 8, !tbaa !9
  %393 = getelementptr inbounds %struct.ImGuiContext, ptr %392, i32 0, i32 91
  %394 = load i8, ptr %393, align 1, !tbaa !93, !range !36, !noundef !37
  %395 = trunc i8 %394 to i1
  br i1 %395, label %396, label %405

396:                                              ; preds = %391
  %397 = load ptr, ptr %12, align 8, !tbaa !9
  %398 = getelementptr inbounds %struct.ImGuiContext, ptr %397, i32 0, i32 95
  %399 = load i32, ptr %398, align 4, !tbaa !94
  %400 = icmp eq i32 %399, 0
  br i1 %400, label %401, label %405

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

404:                                              ; preds = %401
  store i8 1, ptr %32, align 1, !tbaa !38
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %405

405:                                              ; preds = %404, %401, %396, %391, %385
  %406 = load ptr, ptr %12, align 8, !tbaa !9
  %407 = getelementptr inbounds %struct.ImGuiContext, ptr %406, i32 0, i32 60
  %408 = load i32, ptr %407, align 8, !tbaa !92
  %409 = load i32, ptr %6, align 4, !tbaa !5
  %410 = icmp eq i32 %408, %409
  br i1 %410, label %411, label %425

411:                                              ; preds = %405
  %412 = load ptr, ptr %12, align 8, !tbaa !9
  %413 = getelementptr inbounds %struct.ImGuiContext, ptr %412, i32 0, i32 91
  %414 = load i8, ptr %413, align 1, !tbaa !93, !range !36, !noundef !37
  %415 = trunc i8 %414 to i1
  br i1 %415, label %416, label %425

416:                                              ; preds = %411
  %417 = load ptr, ptr %12, align 8, !tbaa !9
  %418 = getelementptr inbounds %struct.ImGuiContext, ptr %417, i32 0, i32 95
  %419 = load i32, ptr %418, align 4, !tbaa !94
  %420 = icmp eq i32 %419, 1
  br i1 %420, label %421, label %425

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

424:                                              ; preds = %421
  store i8 1, ptr %32, align 1, !tbaa !38
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %425

425:                                              ; preds = %424, %421, %416, %411, %405
  %426 = load i8, ptr %32, align 1, !tbaa !38, !range !36, !noundef !37
  %427 = trunc i8 %426 to i1
  br i1 %427, label %428, label %441

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

441:                                              ; preds = %428, %425
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  br label %442

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

446:                                              ; preds = %442
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %447

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

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

453:                                              ; preds = %450
  br label %459

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

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

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

492:                                              ; preds = %468
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  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) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %42, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %493 = getelementptr inbounds [4 x i8], ptr %41, i64 0, i64 0
  %494 = getelementptr inbounds [4 x i8], ptr %41, i64 0, i64 0
  %495 = getelementptr inbounds i8, ptr %494, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %35, ptr noundef %493, ptr noundef %495)
  %496 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  %497 = load ptr, ptr %8, align 8, !tbaa !9
  %498 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #9
  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) %496, ptr noundef %497, ptr noundef %498, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  %499 = getelementptr inbounds [3 x i8], ptr %42, i64 0, i64 0
  %500 = getelementptr inbounds i8, ptr %499, i64 1
  %501 = getelementptr inbounds [3 x i8], ptr %42, i64 0, i64 0
  %502 = getelementptr inbounds i8, ptr %501, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %35, ptr noundef %500, ptr noundef %502)
  call void @llvm.lifetime.end.p0(i64 3, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %507

503:                                              ; preds = %468
  %504 = getelementptr inbounds %struct.ImRect, ptr %19, i32 0, i32 1
  %505 = load ptr, ptr %8, align 8, !tbaa !9
  %506 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  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) %504, ptr noundef %505, ptr noundef %506, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %507

507:                                              ; preds = %503, %492
  br label %567

508:                                              ; preds = %459
  %509 = load i8, ptr %29, align 1, !tbaa !38, !range !36, !noundef !37
  %510 = trunc i8 %509 to i1
  br i1 %510, label %515, label %511

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

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

522:                                              ; preds = %515, %511
  %523 = load i32, ptr %7, align 4, !tbaa !5
  %524 = and i32 %523, 512
  %525 = icmp ne i32 %524, 0
  br i1 %525, label %526, label %537

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

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

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

556:                                              ; preds = %541, %537
  br label %557

557:                                              ; preds = %556, %526
  %558 = load ptr, ptr %12, align 8, !tbaa !9
  %559 = getelementptr inbounds %struct.ImGuiContext, ptr %558, i32 0, i32 144
  %560 = load i8, ptr %559, align 8, !tbaa !97, !range !36, !noundef !37
  %561 = trunc i8 %560 to i1
  br i1 %561, label %562, label %563

562:                                              ; preds = %557
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %35, ptr noundef @.str.120, ptr noundef null)
  br label %563

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

567:                                              ; preds = %563, %507
  %568 = load i8, ptr %26, align 1, !tbaa !38, !range !36, !noundef !37
  %569 = trunc i8 %568 to i1
  br i1 %569, label %570, label %576

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

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

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

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

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

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

declare void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) #6

declare <2 x float> @_ZN5ImGui19GetContentRegionMaxEv() #6

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

declare noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #6

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { 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 #9 = { 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, !15, i64 130, !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, !6, i64 184, !13, i64 188, !13, i64 196, !16, i64 208, !23, i64 512, !17, i64 528, !17, i64 544, !17, i64 560, !17, i64 576, !17, i64 592, !6, i64 608, !14, i64 612, !24, i64 616, !25, i64 664, !27, i64 680, !14, i64 696, !6, i64 700, !10, i64 704, !28, i64 712, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !7, i64 920, !7, i64 928, !6, i64 960, !6, i64 964, !6, i64 968, !6, i64 972, !6, i64 976, !6, i64 980}
!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, !13, i64 32, !14, i64 40, !13, i64 44, !14, i64 52, !14, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !17, i64 76, !17, i64 92, !15, i64 108, !15, i64 109, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !15, i64 128, !13, i64 132, !18, i64 144, !10, i64 160, !6, i64 168, !6, i64 172, !6, i64 176, !14, i64 180, !14, i64 184, !19, i64 192, !20, i64 208, !20, i64 224, !21, i64 240, !7, i64 256, !22, i64 280, !22, i64 284, !22, i64 288, !10, i64 296}
!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 = !{!"_ZTS6ImVec1", !14, i64 0}
!23 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!24 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !7, i64 16, !7, i64 32}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!27 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !6, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 88, !32, i64 96, !33, i64 112, !34, i64 128, !6, i64 144, !6, i64 148, !35, i64 152}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!15, !15, i64 0}
!39 = !{i64 0, i64 4, !40, i64 4, i64 4, !40}
!40 = !{!14, !14, i64 0}
!41 = !{!42, !14, i64 52}
!42 = !{!"_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}
!43 = !{!13, !14, i64 4}
!44 = !{!12, !14, i64 248}
!45 = !{!12, !14, i64 244}
!46 = !{!47, !14, i64 6288}
!47 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !15, i64 2, !48, i64 8, !42, i64 5440, !10, i64 6280, !14, i64 6288, !14, i64 6292, !49, i64 6296, !51, i64 6432, !6, i64 6440, !6, i64 6444, !6, i64 6448, !18, i64 6456, !18, i64 6472, !18, i64 6488, !18, i64 6504, !25, i64 6520, !6, i64 6536, !10, i64 6544, !10, i64 6552, !10, i64 6560, !6, i64 6568, !15, i64 6572, !6, i64 6576, !14, i64 6580, !14, i64 6584, !6, i64 6588, !6, i64 6592, !6, i64 6596, !14, i64 6600, !15, i64 6604, !15, i64 6605, !15, i64 6606, !15, i64 6607, !15, i64 6608, !6, i64 6612, !13, i64 6616, !10, i64 6624, !10, i64 6632, !52, i64 6640, !6, i64 6644, !14, i64 6648, !10, i64 6656, !53, i64 6664, !54, i64 6680, !55, i64 6696, !56, i64 6712, !56, i64 6728, !57, i64 6744, !15, i64 6856, !6, i64 6860, !10, i64 6864, !6, i64 6872, !6, i64 6876, !6, i64 6880, !6, i64 6884, !6, i64 6888, !6, i64 6892, !6, i64 6896, !6, i64 6900, !52, i64 6904, !17, i64 6908, !6, i64 6924, !10, i64 6928, !10, i64 6936, !10, i64 6944, !14, i64 6952, !14, i64 6956, !15, i64 6960, !6, i64 6964, !6, i64 6968, !15, i64 6972, !15, i64 6973, !15, i64 6974, !15, i64 6975, !15, i64 6976, !15, i64 6977, !15, i64 6978, !6, i64 6980, !17, i64 6984, !15, i64 7000, !15, i64 7001, !6, i64 7004, !58, i64 7008, !6, i64 7012, !6, i64 7016, !6, i64 7020, !59, i64 7024, !59, i64 7072, !59, i64 7120, !60, i64 7168, !61, i64 7216, !14, i64 7248, !28, i64 7256, !6, i64 7424, !15, i64 7428, !15, i64 7429, !6, i64 7432, !6, i64 7436, !6, i64 7440, !62, i64 7448, !17, i64 7512, !6, i64 7528, !6, i64 7532, !14, i64 7536, !6, i64 7540, !6, i64 7544, !6, i64 7548, !63, i64 7552, !7, i64 7568, !64, i64 7576, !69, i64 11296, !6, i64 11408, !6, i64 11412, !50, i64 11416, !15, i64 11432, !14, i64 11436, !14, i64 11440, !13, i64 11444, !6, i64 11452, !65, i64 11456, !13, i64 11472, !13, i64 11480, !15, i64 11488, !14, i64 11492, !71, i64 11496, !72, i64 11512, !73, i64 11528, !15, i64 11544, !10, i64 11552, !71, i64 11560, !6, i64 11576, !6, i64 11580, !7, i64 11584, !6, i64 12064, !14, i64 12068, !6, i64 12072, !6, i64 12076, !6, i64 12080, !7, i64 12084}
!48 = !{!"_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, !15, i64 202, !15, i64 203, !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, !7, i64 284, !7, i64 796, !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, !6, i64 940, !6, i64 944, !13, i64 948, !13, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1088, !7, i64 1108, !7, i64 1148, !7, i64 1168, !7, i64 3216, !7, i64 5264, !7, i64 5348}
!49 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !10, i64 8, !14, i64 16, !14, i64 20, !50, i64 24, !7, i64 40}
!50 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!51 = !{!"double", !7, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!53 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !6, i64 0, !6, i64 4, !10, i64 8}
!57 = !{!"_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}
!58 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!59 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !17, i64 28}
!60 = !{!"_ZTS10ImDrawData", !15, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !13, i64 28, !13, i64 36}
!61 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!62 = !{!"_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}
!63 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!64 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !30, i64 8, !65, i64 24, !65, i64 40, !6, i64 56, !6, i64 60, !6, i64 64, !14, i64 68, !66, i64 72, !14, i64 3692, !15, i64 3696, !15, i64 3697, !6, i64 3700, !10, i64 3704, !10, i64 3712}
!65 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!66 = !{!"_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, !67, i64 24}
!67 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !68, i64 3582, !68, i64 3584, !6, i64 3588, !6, i64 3592}
!68 = !{!"short", !7, i64 0}
!69 = !{!"_ZTS6ImFont", !14, i64 0, !14, i64 4, !13, i64 8, !70, i64 16, !20, i64 32, !30, i64 48, !10, i64 64, !14, i64 72, !68, i64 76, !68, i64 78, !10, i64 80, !10, i64 88, !14, i64 96, !14, i64 100, !15, i64 104, !6, i64 108}
!70 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!71 = !{!"_ZTS15ImGuiTextBuffer", !65, i64 0}
!72 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !6, i64 0, !6, i64 4, !10, i64 8}
!74 = !{!42, !14, i64 56}
!75 = !{!12, !14, i64 16}
!76 = !{!13, !14, i64 0}
!77 = !{!12, !14, i64 212}
!78 = !{!12, !14, i64 64}
!79 = !{!17, !14, i64 0}
!80 = !{!17, !14, i64 8}
!81 = !{i64 0, i64 4, !40, i64 4, i64 4, !40, i64 8, i64 4, !40, i64 12, i64 4, !40}
!82 = !{!17, !14, i64 4}
!83 = !{!42, !14, i64 68}
!84 = !{!17, !14, i64 12}
!85 = !{!47, !15, i64 6972}
!86 = !{!12, !6, i64 268}
!87 = !{!12, !6, i64 272}
!88 = !{!12, !6, i64 280}
!89 = !{!47, !6, i64 6876}
!90 = !{!47, !15, i64 6975}
!91 = !{!47, !15, i64 7428}
!92 = !{!47, !6, i64 6872}
!93 = !{!47, !15, i64 7001}
!94 = !{!47, !6, i64 7012}
!95 = !{!12, !10, i64 368}
!96 = !{!42, !14, i64 60}
!97 = !{!47, !15, i64 11544}


; 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 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.120 = 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #1

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

; 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) #4

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #6

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

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #6

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef) local_unnamed_addr #6

declare void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #6

declare 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 #6

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

declare void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float>) local_unnamed_addr #6

; 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

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #6

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #6

declare void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float>, <2 x float>, i32 noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #6

declare void @_ZN5ImGui11RenderArrowE6ImVec2if(<2 x float>, i32 noundef, float noundef) local_unnamed_addr #6

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

declare void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #6

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr 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 !34, !noundef !35
  %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 !36
  %29 = and i32 %1, 2
  %.not = icmp eq i32 %29, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %30 = and i32 %1, 1026
  %or.cond = icmp eq i32 %30, 0
  %31 = getelementptr inbounds i8, ptr %28, i64 5492
  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 !37
  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) #9
  %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 !39
  %43 = getelementptr inbounds i8, ptr %23, i64 208
  %44 = getelementptr inbounds i8, ptr %23, i64 248
  %45 = load float, ptr %44, align 8, !tbaa !40
  %46 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %42, float noundef %45)
  %47 = getelementptr inbounds i8, ptr %23, i64 244
  %48 = load float, ptr %47, align 4, !tbaa !41
  %49 = getelementptr inbounds i8, ptr %28, i64 6288
  %50 = load float, ptr %49, align 8, !tbaa !42
  %51 = getelementptr inbounds i8, ptr %28, i64 5496
  %52 = load float, ptr %51, align 4, !tbaa !70
  %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 !39
  %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) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %59 = getelementptr inbounds i8, ptr %23, i64 16
  %60 = load float, ptr %59, align 8, !tbaa !71
  %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 212
  %64 = load float, ptr %63, align 4, !tbaa !72
  %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) #9
  %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 !73
  %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 !74
  %75 = fsub float %74, %73
  store float %75, ptr %7, align 8, !tbaa !74
  %76 = getelementptr inbounds i8, ptr %7, i64 8
  %77 = load float, ptr %76, align 8, !tbaa !75
  %78 = fadd float %77, %73
  store float %78, ptr %76, align 8, !tbaa !75
  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 !42
  %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) #9
  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) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  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 !76
  br label %99

89:                                               ; preds = %79
  %90 = load float, ptr %7, align 8, !tbaa !74
  %91 = getelementptr inbounds i8, ptr %7, i64 4
  %92 = load float, ptr %91, align 4, !tbaa !78
  %93 = fadd float %87, %90
  %94 = getelementptr inbounds i8, ptr %28, i64 5508
  %95 = load float, ptr %94, align 4, !tbaa !79
  %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 !80
  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 6972
  %103 = load i8, ptr %102, align 4, !tbaa !81, !range !34, !noundef !35
  %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 268
  %109 = load i32, ptr %108, align 4, !tbaa !82
  %110 = shl nuw i32 1, %109
  %111 = getelementptr inbounds i8, ptr %23, i64 272
  %112 = load i32, ptr %111, align 8, !tbaa !83
  %113 = or i32 %112, %110
  store i32 %113, ptr %111, align 8, !tbaa !83
  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 280
  %117 = load i32, ptr %116, align 8, !tbaa !84
  %118 = or i32 %117, 2
  store i32 %118, ptr %116, align 8, !tbaa !84
  %119 = getelementptr inbounds i8, ptr %23, i64 300
  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 !76
  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) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  %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 6876
  %138 = load i32, ptr %137, align 4, !tbaa !85
  %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) #9
  %145 = load float, ptr %10, align 4, !tbaa !74
  %146 = fadd float %83, %145
  %147 = getelementptr inbounds i8, ptr %10, i64 12
  %148 = load float, ptr %147, align 4, !tbaa !80
  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 6975
  %152 = load i8, ptr %151, align 1, !tbaa !86, !range !34, !noundef !35
  %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) #9
  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 1061
  %160 = load i8, ptr %159, align 1, !tbaa !87, !range !34, !noundef !35
  %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 7428
  %164 = load i8, ptr %163, align 4, !tbaa !88, !range !34, !noundef !35
  %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 6872
  %169 = load i32, ptr %168, align 8, !tbaa !89
  %170 = icmp eq i32 %169, %0
  br i1 %170, label %171, label %180

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

175:                                              ; preds = %171
  %176 = getelementptr inbounds i8, ptr %28, i64 7012
  %177 = load i32, ptr %176, align 4, !tbaa !91
  %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 !89
  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 7001
  %184 = load i8, ptr %183, align 1, !tbaa !90, !range !34, !noundef !35
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %190

186:                                              ; preds = %.thread164
  %187 = getelementptr inbounds i8, ptr %28, i64 7012
  %188 = load i32, ptr %187, align 4, !tbaa !91
  %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 368
  %195 = load ptr, ptr %194, align 8, !tbaa !92
  %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 !87, !range !34, !noundef !35
  %201 = trunc nuw i8 %200 to i1
  %.pre160 = load i8, ptr %11, align 1, !tbaa !87, !range !34
  %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) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  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) #9
  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 5500
  %211 = load float, ptr %210, align 4, !tbaa !93
  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) #9
  %212 = load float, ptr %5, align 8, !tbaa !94
  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) #9
  %215 = getelementptr inbounds i8, ptr %28, i64 11544
  %216 = load i8, ptr %215, align 8, !tbaa !95, !range !34, !noundef !35
  %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) #9
  %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) #9
  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 @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %14, ptr noundef nonnull %17, ptr noundef nonnull %220)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  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) #9
  %221 = getelementptr inbounds i8, ptr %18, i64 1
  %222 = getelementptr inbounds i8, ptr %18, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %14, ptr noundef nonnull %221, ptr noundef nonnull %222)
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #9
  br label %250

223:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  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) #9
  br label %250

224:                                              ; preds = %199
  %225 = load i8, ptr %11, align 1, !tbaa !87, !range !34, !noundef !35
  %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) #9
  %233 = fmul float %83, 5.000000e-01
  %234 = load float, ptr %49, align 8, !tbaa !42
  %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) #9
  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) #9
  %239 = load float, ptr %5, align 8, !tbaa !94
  %240 = load float, ptr %49, align 8, !tbaa !42
  %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) #9
  br label %244

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

248:                                              ; preds = %244
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %14, ptr noundef nonnull @.str.120, 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) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  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) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %255

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

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

declare void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #6

declare <2 x float> @_ZN5ImGui19GetContentRegionMaxEv() local_unnamed_addr #6

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

declare 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 #6

declare void @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { 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 #9 = { 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, !13, i64 130, !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, !10, i64 184, !11, i64 188, !11, i64 196, !14, i64 208, !21, i64 512, !15, i64 528, !15, i64 544, !15, i64 560, !15, i64 576, !15, i64 592, !10, i64 608, !12, i64 612, !22, i64 616, !23, i64 664, !25, i64 680, !12, i64 696, !10, i64 700, !7, i64 704, !26, i64 712, !7, i64 880, !7, i64 888, !7, i64 896, !7, i64 904, !7, i64 912, !8, i64 920, !8, i64 928, !10, i64 960, !10, i64 964, !10, i64 968, !10, i64 972, !10, i64 976, !10, i64 980}
!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, !11, i64 32, !12, i64 40, !11, i64 44, !12, i64 52, !12, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !15, i64 76, !15, i64 92, !13, i64 108, !13, i64 109, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !13, i64 128, !11, i64 132, !16, i64 144, !7, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !12, i64 180, !12, i64 184, !17, i64 192, !18, i64 208, !18, i64 224, !19, i64 240, !8, i64 256, !20, i64 280, !20, i64 284, !20, i64 288, !7, i64 296}
!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 = !{!"_ZTS6ImVec1", !12, i64 0}
!21 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !8, i64 16, !8, i64 32}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!25 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !10, i64 0, !10, i64 4, !7, i64 8}
!26 = !{!"_ZTS10ImDrawList", !27, i64 0, !28, i64 16, !29, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !7, i64 88, !30, i64 96, !31, i64 112, !32, i64 128, !10, i64 144, !10, i64 148, !33, i64 152}
!27 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!7, !7, i64 0}
!37 = !{!38, !12, i64 52}
!38 = !{!"_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}
!39 = !{!11, !12, i64 4}
!40 = !{!6, !12, i64 248}
!41 = !{!6, !12, i64 244}
!42 = !{!43, !12, i64 6288}
!43 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !13, i64 2, !44, i64 8, !38, i64 5440, !7, i64 6280, !12, i64 6288, !12, i64 6292, !45, i64 6296, !47, i64 6432, !10, i64 6440, !10, i64 6444, !10, i64 6448, !16, i64 6456, !16, i64 6472, !16, i64 6488, !16, i64 6504, !23, i64 6520, !10, i64 6536, !7, i64 6544, !7, i64 6552, !7, i64 6560, !10, i64 6568, !13, i64 6572, !10, i64 6576, !12, i64 6580, !12, i64 6584, !10, i64 6588, !10, i64 6592, !10, i64 6596, !12, i64 6600, !13, i64 6604, !13, i64 6605, !13, i64 6606, !13, i64 6607, !13, i64 6608, !10, i64 6612, !11, i64 6616, !7, i64 6624, !7, i64 6632, !48, i64 6640, !10, i64 6644, !12, i64 6648, !7, i64 6656, !49, i64 6664, !50, i64 6680, !51, i64 6696, !52, i64 6712, !52, i64 6728, !53, i64 6744, !13, i64 6856, !10, i64 6860, !7, i64 6864, !10, i64 6872, !10, i64 6876, !10, i64 6880, !10, i64 6884, !10, i64 6888, !10, i64 6892, !10, i64 6896, !10, i64 6900, !48, i64 6904, !15, i64 6908, !10, i64 6924, !7, i64 6928, !7, i64 6936, !7, i64 6944, !12, i64 6952, !12, i64 6956, !13, i64 6960, !10, i64 6964, !10, i64 6968, !13, i64 6972, !13, i64 6973, !13, i64 6974, !13, i64 6975, !13, i64 6976, !13, i64 6977, !13, i64 6978, !10, i64 6980, !15, i64 6984, !13, i64 7000, !13, i64 7001, !10, i64 7004, !54, i64 7008, !10, i64 7012, !10, i64 7016, !10, i64 7020, !55, i64 7024, !55, i64 7072, !55, i64 7120, !56, i64 7168, !57, i64 7216, !12, i64 7248, !26, i64 7256, !10, i64 7424, !13, i64 7428, !13, i64 7429, !10, i64 7432, !10, i64 7436, !10, i64 7440, !58, i64 7448, !15, i64 7512, !10, i64 7528, !10, i64 7532, !12, i64 7536, !10, i64 7540, !10, i64 7544, !10, i64 7548, !59, i64 7552, !8, i64 7568, !60, i64 7576, !65, i64 11296, !10, i64 11408, !10, i64 11412, !46, i64 11416, !13, i64 11432, !12, i64 11436, !12, i64 11440, !11, i64 11444, !10, i64 11452, !61, i64 11456, !11, i64 11472, !11, i64 11480, !13, i64 11488, !12, i64 11492, !67, i64 11496, !68, i64 11512, !69, i64 11528, !13, i64 11544, !7, i64 11552, !67, i64 11560, !10, i64 11576, !10, i64 11580, !8, i64 11584, !10, i64 12064, !12, i64 12068, !10, i64 12072, !10, i64 12076, !10, i64 12080, !8, i64 12084}
!44 = !{!"_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, !13, i64 202, !13, i64 203, !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, !8, i64 284, !8, i64 796, !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, !10, i64 940, !10, i64 944, !11, i64 948, !11, i64 956, !8, i64 964, !8, i64 1008, !8, i64 1048, !8, i64 1053, !8, i64 1058, !8, i64 1063, !8, i64 1068, !8, i64 1088, !8, i64 1108, !8, i64 1148, !8, i64 1168, !8, i64 3216, !8, i64 5264, !8, i64 5348}
!45 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !46, i64 24, !8, i64 40}
!46 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!47 = !{!"double", !8, i64 0}
!48 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!49 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!51 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!52 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !10, i64 0, !10, i64 4, !7, i64 8}
!53 = !{!"_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}
!54 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!55 = !{!"_ZTS18ImGuiNavMoveResult", !10, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !15, i64 28}
!56 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36}
!57 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0}
!58 = !{!"_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}
!59 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !28, i64 8, !61, i64 24, !61, i64 40, !10, i64 56, !10, i64 60, !10, i64 64, !12, i64 68, !62, i64 72, !12, i64 3692, !13, i64 3696, !13, i64 3697, !10, i64 3700, !7, i64 3704, !7, i64 3712}
!61 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_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, !63, i64 24}
!63 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !64, i64 3582, !64, i64 3584, !10, i64 3588, !10, i64 3592}
!64 = !{!"short", !8, i64 0}
!65 = !{!"_ZTS6ImFont", !12, i64 0, !12, i64 4, !11, i64 8, !66, i64 16, !18, i64 32, !28, i64 48, !7, i64 64, !12, i64 72, !64, i64 76, !64, i64 78, !7, i64 80, !7, i64 88, !12, i64 96, !12, i64 100, !13, i64 104, !10, i64 108}
!66 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!38, !12, i64 56}
!71 = !{!6, !12, i64 16}
!72 = !{!6, !12, i64 212}
!73 = !{!6, !12, i64 64}
!74 = !{!15, !12, i64 0}
!75 = !{!15, !12, i64 8}
!76 = !{i64 0, i64 4, !77, i64 4, i64 4, !77, i64 8, i64 4, !77, i64 12, i64 4, !77}
!77 = !{!12, !12, i64 0}
!78 = !{!15, !12, i64 4}
!79 = !{!38, !12, i64 68}
!80 = !{!15, !12, i64 12}
!81 = !{!43, !13, i64 6972}
!82 = !{!6, !10, i64 268}
!83 = !{!6, !10, i64 272}
!84 = !{!6, !10, i64 280}
!85 = !{!43, !10, i64 6876}
!86 = !{!43, !13, i64 6975}
!87 = !{!13, !13, i64 0}
!88 = !{!43, !13, i64 7428}
!89 = !{!43, !10, i64 6872}
!90 = !{!43, !13, i64 7001}
!91 = !{!43, !10, i64 7012}
!92 = !{!6, !7, i64 368}
!93 = !{!38, !12, i64 60}
!94 = !{!11, !12, i64 0}
!95 = !{!43, !13, i64 11544}


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