; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/imgui (imgui_widgets)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.11, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, i32, [4 x i8], %struct.ImVector.18, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.19, [16 x i8], i32, [4 x i8], %struct.ImVector.20, ptr, i32, [4 x i8], %struct.ImVector.21, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.27, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.29, %struct.ImChunkStream, %struct.ImChunkStream.30, %struct.ImVector.31, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [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], [20 x float], [20 x float], float, i8, i16, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.27, %struct.ImVector.27, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.28, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.30 = type { %struct.ImVector.27 }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.32 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11ScrollbarExERK6ImRectj9ImGuiAxisPxxxi = external hidden unnamed_addr constant [96 x i8], align 1

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

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

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

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

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

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

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

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6ImVec2ixEm(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #1 align 2

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

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

53:                                               ; preds = %7
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %372

54:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %55)
  store float %56, ptr %19, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %57)
  store float %58, ptr %20, align 4, !tbaa !91
  %59 = load float, ptr %19, align 4, !tbaa !91
  %60 = fcmp ole float %59, 0.000000e+00
  br i1 %60, label %64, label %61

61:                                               ; preds = %54
  %62 = load float, ptr %20, align 4, !tbaa !91
  %63 = fcmp ole float %62, 0.000000e+00
  br i1 %63, label %64, label %65

64:                                               ; preds = %61, %54
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %371

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store float 1.000000e+00, ptr %21, align 4, !tbaa !91
  %66 = load i32, ptr %11, align 4, !tbaa !11
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %68, label %94

68:                                               ; preds = %65
  %69 = load float, ptr %20, align 4, !tbaa !91
  %70 = load ptr, ptr %16, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 6
  %72 = load float, ptr %71, align 8, !tbaa !92
  %73 = load ptr, ptr %16, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImGuiContext, ptr %73, i32 0, i32 4
  %75 = getelementptr inbounds %struct.ImGuiStyle, ptr %74, i32 0, i32 12
  %76 = getelementptr inbounds %struct.ImVec2, ptr %75, i32 0, i32 1
  %77 = load float, ptr %76, align 4, !tbaa !93
  %78 = call float @llvm.fmuladd.f32(float %77, float 2.000000e+00, float %72)
  %79 = fcmp olt float %69, %78
  br i1 %79, label %80, label %94

80:                                               ; preds = %68
  %81 = load float, ptr %20, align 4, !tbaa !91
  %82 = load ptr, ptr %16, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiContext, ptr %82, i32 0, i32 6
  %84 = load float, ptr %83, align 8, !tbaa !92
  %85 = fsub float %81, %84
  %86 = load ptr, ptr %16, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiContext, ptr %86, i32 0, i32 4
  %88 = getelementptr inbounds %struct.ImGuiStyle, ptr %87, i32 0, i32 12
  %89 = getelementptr inbounds %struct.ImVec2, ptr %88, i32 0, i32 1
  %90 = load float, ptr %89, align 4, !tbaa !93
  %91 = fmul float %90, 2.000000e+00
  %92 = fdiv float %85, %91
  %93 = call noundef float @_ZL10ImSaturatef(float noundef %92)
  store float %93, ptr %21, align 4, !tbaa !91
  br label %94

94:                                               ; preds = %80, %68, %65
  %95 = load float, ptr %21, align 4, !tbaa !91
  %96 = fcmp ole float %95, 0.000000e+00
  br i1 %96, label %97, label %98

97:                                               ; preds = %94
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %370

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %99 = load ptr, ptr %16, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ImGuiContext, ptr %99, i32 0, i32 4
  store ptr %100, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #9
  %101 = load float, ptr %21, align 4, !tbaa !91
  %102 = fcmp oge float %101, 1.000000e+00
  %103 = zext i1 %102 to i8
  store i8 %103, ptr %23, align 1, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %104, i64 16, i1 false), !tbaa.struct !95
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %105 = load float, ptr %19, align 4, !tbaa !91
  %106 = fsub float %105, 2.000000e+00
  %107 = fmul float %106, 5.000000e-01
  %108 = fptosi float %107 to i32
  %109 = sitofp i32 %108 to float
  %110 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %109, float noundef 0.000000e+00, float noundef 3.000000e+00)
  %111 = fneg float %110
  %112 = load float, ptr %20, align 4, !tbaa !91
  %113 = fsub float %112, 2.000000e+00
  %114 = fmul float %113, 5.000000e-01
  %115 = fptosi float %114 to i32
  %116 = sitofp i32 %115 to float
  %117 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %116, float noundef 0.000000e+00, float noundef 3.000000e+00)
  %118 = fneg float %117
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %111, float noundef %118)
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(8) %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %119 = load i32, ptr %11, align 4, !tbaa !11
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %123

121:                                              ; preds = %98
  %122 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %24)
  br label %125

123:                                              ; preds = %98
  %124 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %24)
  br label %125

125:                                              ; preds = %123, %121
  %126 = phi float [ %122, %121 ], [ %124, %123 ]
  store float %126, ptr %26, align 4, !tbaa !91
  %127 = load i64, ptr %14, align 8, !tbaa !13
  %128 = load i64, ptr %13, align 8, !tbaa !13
  %129 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef %127, i64 noundef %128)
  %130 = sitofp i64 %129 to float
  %131 = fcmp ogt float %130, 0.000000e+00
  br i1 %131, label %132, label %133

132:                                              ; preds = %125
  br label %135

133:                                              ; preds = %125
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 940, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11ScrollbarExERK6ImRectj9ImGuiAxisPxxxi) #10
  unreachable

134:                                              ; No predecessors!
  br label %135

135:                                              ; preds = %134, %132
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %136 = load i64, ptr %14, align 8, !tbaa !13
  %137 = load i64, ptr %13, align 8, !tbaa !13
  %138 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef %136, i64 noundef %137)
  %139 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef %138, i64 noundef 1)
  store i64 %139, ptr %27, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  %140 = load float, ptr %26, align 4, !tbaa !91
  %141 = load i64, ptr %13, align 8, !tbaa !13
  %142 = sitofp i64 %141 to float
  %143 = load i64, ptr %27, align 8, !tbaa !13
  %144 = sitofp i64 %143 to float
  %145 = fdiv float %142, %144
  %146 = fmul float %140, %145
  %147 = load ptr, ptr %22, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiStyle, ptr %147, i32 0, i32 23
  %149 = load float, ptr %148, align 4, !tbaa !96
  %150 = load float, ptr %26, align 4, !tbaa !91
  %151 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %146, float noundef %149, float noundef %150)
  store float %151, ptr %28, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %152 = load float, ptr %28, align 4, !tbaa !91
  %153 = load float, ptr %26, align 4, !tbaa !91
  %154 = fdiv float %152, %153
  store float %154, ptr %29, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  store i8 0, ptr %30, align 1, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #9
  store i8 0, ptr %31, align 1, !tbaa !94
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %155, ptr noundef %31, ptr noundef %30, i32 noundef 262144)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %157 = load i64, ptr %14, align 8, !tbaa !13
  %158 = load i64, ptr %13, align 8, !tbaa !13
  %159 = sub nsw i64 %157, %158
  %160 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef 1, i64 noundef %159)
  store i64 %160, ptr %32, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = load i64, ptr %161, align 8, !tbaa !13
  %163 = sitofp i64 %162 to float
  %164 = load i64, ptr %32, align 8, !tbaa !13
  %165 = sitofp i64 %164 to float
  %166 = fdiv float %163, %165
  %167 = call noundef float @_ZL10ImSaturatef(float noundef %166)
  store float %167, ptr %33, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %168 = load float, ptr %33, align 4, !tbaa !91
  %169 = load float, ptr %26, align 4, !tbaa !91
  %170 = load float, ptr %28, align 4, !tbaa !91
  %171 = fsub float %169, %170
  %172 = fmul float %168, %171
  %173 = load float, ptr %26, align 4, !tbaa !91
  %174 = fdiv float %172, %173
  store float %174, ptr %34, align 4, !tbaa !91
  %175 = load i8, ptr %30, align 1, !tbaa !94, !range !89, !noundef !90
  %176 = trunc i8 %175 to i1
  br i1 %176, label %177, label %280

177:                                              ; preds = %135
  %178 = load i8, ptr %23, align 1, !tbaa !94, !range !89, !noundef !90
  %179 = trunc i8 %178 to i1
  br i1 %179, label %180, label %280

180:                                              ; preds = %177
  %181 = load float, ptr %29, align 4, !tbaa !91
  %182 = fcmp olt float %181, 1.000000e+00
  br i1 %182, label %183, label %280

183:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  %184 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %185 = load i32, ptr %11, align 4, !tbaa !11
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6ImVec2ixEm(ptr noundef nonnull align 4 dereferenceable(8) %184, i64 noundef %186)
  %188 = load float, ptr %187, align 4, !tbaa !91
  store float %188, ptr %35, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %189 = load ptr, ptr %16, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiContext, ptr %189, i32 0, i32 3
  %191 = getelementptr inbounds %struct.ImGuiIO, ptr %190, i32 0, i32 36
  %192 = load i32, ptr %11, align 4, !tbaa !11
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6ImVec2ixEm(ptr noundef nonnull align 4 dereferenceable(8) %191, i64 noundef %193)
  %195 = load float, ptr %194, align 4, !tbaa !91
  store float %195, ptr %36, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %196 = load float, ptr %36, align 4, !tbaa !91
  %197 = load float, ptr %35, align 4, !tbaa !91
  %198 = fsub float %196, %197
  %199 = load float, ptr %26, align 4, !tbaa !91
  %200 = fdiv float %198, %199
  %201 = call noundef float @_ZL10ImSaturatef(float noundef %200)
  store float %201, ptr %37, align 4, !tbaa !91
  %202 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %202)
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #9
  store i8 0, ptr %38, align 1, !tbaa !94
  %203 = load ptr, ptr %16, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiContext, ptr %203, i32 0, i32 47
  %205 = load i8, ptr %204, align 8, !tbaa !97, !range !89, !noundef !90
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %235

207:                                              ; preds = %183
  %208 = load float, ptr %37, align 4, !tbaa !91
  %209 = load float, ptr %34, align 4, !tbaa !91
  %210 = fcmp olt float %208, %209
  br i1 %210, label %217, label %211

211:                                              ; preds = %207
  %212 = load float, ptr %37, align 4, !tbaa !91
  %213 = load float, ptr %34, align 4, !tbaa !91
  %214 = load float, ptr %29, align 4, !tbaa !91
  %215 = fadd float %213, %214
  %216 = fcmp ogt float %212, %215
  br label %217

217:                                              ; preds = %211, %207
  %218 = phi i1 [ true, %207 ], [ %216, %211 ]
  %219 = zext i1 %218 to i8
  store i8 %219, ptr %38, align 1, !tbaa !94
  %220 = load i8, ptr %38, align 1, !tbaa !94, !range !89, !noundef !90
  %221 = trunc i8 %220 to i1
  br i1 %221, label %222, label %225

222:                                              ; preds = %217
  %223 = load ptr, ptr %16, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImGuiContext, ptr %223, i32 0, i32 189
  store float 0.000000e+00, ptr %224, align 4, !tbaa !98
  br label %234

225:                                              ; preds = %217
  %226 = load float, ptr %37, align 4, !tbaa !91
  %227 = load float, ptr %34, align 4, !tbaa !91
  %228 = fsub float %226, %227
  %229 = load float, ptr %29, align 4, !tbaa !91
  %230 = fneg float %229
  %231 = call float @llvm.fmuladd.f32(float %230, float 5.000000e-01, float %228)
  %232 = load ptr, ptr %16, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiContext, ptr %232, i32 0, i32 189
  store float %231, ptr %233, align 4, !tbaa !98
  br label %234

234:                                              ; preds = %225, %222
  br label %235

235:                                              ; preds = %234, %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  %236 = load float, ptr %37, align 4, !tbaa !91
  %237 = load ptr, ptr %16, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImGuiContext, ptr %237, i32 0, i32 189
  %239 = load float, ptr %238, align 4, !tbaa !98
  %240 = fsub float %236, %239
  %241 = load float, ptr %29, align 4, !tbaa !91
  %242 = fneg float %241
  %243 = call float @llvm.fmuladd.f32(float %242, float 5.000000e-01, float %240)
  %244 = load float, ptr %29, align 4, !tbaa !91
  %245 = fsub float 1.000000e+00, %244
  %246 = fdiv float %243, %245
  %247 = call noundef float @_ZL10ImSaturatef(float noundef %246)
  store float %247, ptr %39, align 4, !tbaa !91
  %248 = load float, ptr %39, align 4, !tbaa !91
  %249 = load i64, ptr %32, align 8, !tbaa !13
  %250 = sitofp i64 %249 to float
  %251 = fmul float %248, %250
  %252 = fptosi float %251 to i64
  %253 = load ptr, ptr %12, align 8, !tbaa !5
  store i64 %252, ptr %253, align 8, !tbaa !13
  %254 = load ptr, ptr %12, align 8, !tbaa !5
  %255 = load i64, ptr %254, align 8, !tbaa !13
  %256 = sitofp i64 %255 to float
  %257 = load i64, ptr %32, align 8, !tbaa !13
  %258 = sitofp i64 %257 to float
  %259 = fdiv float %256, %258
  %260 = call noundef float @_ZL10ImSaturatef(float noundef %259)
  store float %260, ptr %33, align 4, !tbaa !91
  %261 = load float, ptr %33, align 4, !tbaa !91
  %262 = load float, ptr %26, align 4, !tbaa !91
  %263 = load float, ptr %28, align 4, !tbaa !91
  %264 = fsub float %262, %263
  %265 = fmul float %261, %264
  %266 = load float, ptr %26, align 4, !tbaa !91
  %267 = fdiv float %265, %266
  store float %267, ptr %34, align 4, !tbaa !91
  %268 = load i8, ptr %38, align 1, !tbaa !94, !range !89, !noundef !90
  %269 = trunc i8 %268 to i1
  br i1 %269, label %270, label %279

270:                                              ; preds = %235
  %271 = load float, ptr %37, align 4, !tbaa !91
  %272 = load float, ptr %34, align 4, !tbaa !91
  %273 = fsub float %271, %272
  %274 = load float, ptr %29, align 4, !tbaa !91
  %275 = fneg float %274
  %276 = call float @llvm.fmuladd.f32(float %275, float 5.000000e-01, float %273)
  %277 = load ptr, ptr %16, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 189
  store float %276, ptr %278, align 4, !tbaa !98
  br label %279

279:                                              ; preds = %270, %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  br label %280

280:                                              ; preds = %279, %180, %177, %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %281 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 14, float noundef 1.000000e+00)
  store i32 %281, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %282 = load i8, ptr %30, align 1, !tbaa !94, !range !89, !noundef !90
  %283 = trunc i8 %282 to i1
  br i1 %283, label %284, label %285

284:                                              ; preds = %280
  br label %290

285:                                              ; preds = %280
  %286 = load i8, ptr %31, align 1, !tbaa !94, !range !89, !noundef !90
  %287 = trunc i8 %286 to i1
  %288 = zext i1 %287 to i64
  %289 = select i1 %287, i32 16, i32 15
  br label %290

290:                                              ; preds = %285, %284
  %291 = phi i32 [ 17, %284 ], [ %289, %285 ]
  %292 = load float, ptr %21, align 4, !tbaa !91
  %293 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %291, float noundef %292)
  store i32 %293, ptr %41, align 4, !tbaa !9
  %294 = load ptr, ptr %17, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.ImGuiWindow, ptr %294, i32 0, i32 72
  %296 = load ptr, ptr %295, align 8, !tbaa !99
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ImRect, ptr %297, i32 0, i32 0
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.ImRect, ptr %299, i32 0, i32 1
  %301 = load i32, ptr %40, align 4, !tbaa !9
  %302 = load ptr, ptr %17, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiWindow, ptr %302, i32 0, i32 10
  %304 = load float, ptr %303, align 8, !tbaa !100
  %305 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %296, ptr noundef nonnull align 4 dereferenceable(8) %298, ptr noundef nonnull align 4 dereferenceable(8) %300, i32 noundef %301, float noundef %304, i32 noundef %305)
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %42)
  %306 = load i32, ptr %11, align 4, !tbaa !11
  %307 = icmp eq i32 %306, 0
  br i1 %307, label %308, label %333

308:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #9
  %309 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %310 = getelementptr inbounds %struct.ImVec2, ptr %309, i32 0, i32 0
  %311 = load float, ptr %310, align 4, !tbaa !101
  %312 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %313 = getelementptr inbounds %struct.ImVec2, ptr %312, i32 0, i32 0
  %314 = load float, ptr %313, align 4, !tbaa !102
  %315 = load float, ptr %34, align 4, !tbaa !91
  %316 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %311, float noundef %314, float noundef %315)
  %317 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %318 = getelementptr inbounds %struct.ImVec2, ptr %317, i32 0, i32 1
  %319 = load float, ptr %318, align 4, !tbaa !103
  %320 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %321 = getelementptr inbounds %struct.ImVec2, ptr %320, i32 0, i32 0
  %322 = load float, ptr %321, align 4, !tbaa !101
  %323 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %324 = getelementptr inbounds %struct.ImVec2, ptr %323, i32 0, i32 0
  %325 = load float, ptr %324, align 4, !tbaa !102
  %326 = load float, ptr %34, align 4, !tbaa !91
  %327 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %322, float noundef %325, float noundef %326)
  %328 = load float, ptr %28, align 4, !tbaa !91
  %329 = fadd float %327, %328
  %330 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %331 = getelementptr inbounds %struct.ImVec2, ptr %330, i32 0, i32 1
  %332 = load float, ptr %331, align 4, !tbaa !104
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %43, float noundef %316, float noundef %319, float noundef %329, float noundef %332)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %43, i64 16, i1 false), !tbaa.struct !95
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #9
  br label %358

333:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #9
  %334 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %335 = getelementptr inbounds %struct.ImVec2, ptr %334, i32 0, i32 0
  %336 = load float, ptr %335, align 4, !tbaa !101
  %337 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %338 = getelementptr inbounds %struct.ImVec2, ptr %337, i32 0, i32 1
  %339 = load float, ptr %338, align 4, !tbaa !103
  %340 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %341 = getelementptr inbounds %struct.ImVec2, ptr %340, i32 0, i32 1
  %342 = load float, ptr %341, align 4, !tbaa !104
  %343 = load float, ptr %34, align 4, !tbaa !91
  %344 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %339, float noundef %342, float noundef %343)
  %345 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %346 = getelementptr inbounds %struct.ImVec2, ptr %345, i32 0, i32 0
  %347 = load float, ptr %346, align 4, !tbaa !102
  %348 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %349 = getelementptr inbounds %struct.ImVec2, ptr %348, i32 0, i32 1
  %350 = load float, ptr %349, align 4, !tbaa !103
  %351 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %352 = getelementptr inbounds %struct.ImVec2, ptr %351, i32 0, i32 1
  %353 = load float, ptr %352, align 4, !tbaa !104
  %354 = load float, ptr %34, align 4, !tbaa !91
  %355 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %350, float noundef %353, float noundef %354)
  %356 = load float, ptr %28, align 4, !tbaa !91
  %357 = fadd float %355, %356
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %44, float noundef %336, float noundef %344, float noundef %347, float noundef %357)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %44, i64 16, i1 false), !tbaa.struct !95
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #9
  br label %358

358:                                              ; preds = %333, %308
  %359 = load ptr, ptr %17, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.ImGuiWindow, ptr %359, i32 0, i32 72
  %361 = load ptr, ptr %360, align 8, !tbaa !99
  %362 = getelementptr inbounds %struct.ImRect, ptr %42, i32 0, i32 0
  %363 = getelementptr inbounds %struct.ImRect, ptr %42, i32 0, i32 1
  %364 = load i32, ptr %41, align 4, !tbaa !9
  %365 = load ptr, ptr %22, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.ImGuiStyle, ptr %365, i32 0, i32 22
  %367 = load float, ptr %366, align 4, !tbaa !105
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %361, ptr noundef nonnull align 4 dereferenceable(8) %362, ptr noundef nonnull align 4 dereferenceable(8) %363, i32 noundef %364, float noundef %367, i32 noundef 0)
  %368 = load i8, ptr %30, align 1, !tbaa !94, !range !89, !noundef !90
  %369 = trunc i8 %368 to i1
  store i1 %369, ptr %8, align 1
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #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 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %370

370:                                              ; preds = %358, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %371

371:                                              ; preds = %370, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %372

372:                                              ; preds = %371, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  %373 = load i1, ptr %8, align 1
  ret i1 %373
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL10ImSaturatef(float noundef) #8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef, i64 noundef) #8

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) #4

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!16, !6, i64 7200}
!16 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !18, i64 8, !23, i64 5488, !6, i64 6536, !20, i64 6544, !20, i64 6548, !24, i64 6552, !26, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !17, i64 7084, !17, i64 7085, !17, i64 7086, !17, i64 7087, !17, i64 7088, !6, i64 7096, !27, i64 7104, !27, i64 7120, !27, i64 7136, !28, i64 7152, !29, i64 7168, !10, i64 7184, !19, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !19, i64 7240, !20, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !17, i64 7264, !17, i64 7265, !17, i64 7266, !17, i64 7267, !20, i64 7268, !20, i64 7272, !10, i64 7276, !10, i64 7280, !20, i64 7284, !17, i64 7288, !17, i64 7289, !17, i64 7290, !17, i64 7291, !17, i64 7292, !17, i64 7293, !17, i64 7294, !10, i64 7296, !10, i64 7300, !14, i64 7304, !19, i64 7312, !6, i64 7320, !31, i64 7328, !10, i64 7332, !10, i64 7336, !17, i64 7340, !17, i64 7341, !6, i64 7344, !10, i64 7352, !20, i64 7356, !10, i64 7360, !32, i64 7364, !33, i64 7384, !35, i64 7448, !36, i64 7560, !37, i64 7576, !38, i64 7592, !39, i64 7608, !40, i64 7624, !41, i64 7640, !42, i64 7656, !42, i64 7672, !10, i64 7688, !43, i64 7696, !6, i64 7712, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !10, i64 7748, !10, i64 7752, !10, i64 7756, !10, i64 7760, !10, i64 7764, !31, i64 7768, !44, i64 7772, !17, i64 7776, !17, i64 7777, !17, i64 7778, !17, i64 7779, !17, i64 7780, !17, i64 7781, !17, i64 7782, !10, i64 7784, !34, i64 7788, !17, i64 7804, !17, i64 7805, !17, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !34, i64 7832, !34, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !45, i64 7880, !45, i64 7928, !45, i64 7976, !45, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !20, i64 8096, !20, i64 8100, !17, i64 8104, !20, i64 8108, !10, i64 8112, !17, i64 8116, !17, i64 8117, !17, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !46, i64 8136, !34, i64 8200, !10, i64 8216, !10, i64 8220, !20, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !47, i64 8248, !7, i64 8264, !10, i64 8280, !48, i64 8288, !6, i64 8304, !10, i64 8312, !49, i64 8320, !50, i64 8336, !52, i64 8376, !53, i64 8392, !6, i64 8408, !54, i64 8416, !56, i64 8456, !57, i64 8472, !19, i64 8488, !58, i64 8496, !62, i64 12216, !10, i64 12328, !10, i64 12332, !20, i64 12336, !20, i64 12340, !10, i64 12344, !25, i64 12348, !64, i64 12364, !20, i64 12412, !17, i64 12416, !17, i64 12417, !20, i64 12420, !20, i64 12424, !20, i64 12428, !20, i64 12432, !21, i64 12436, !21, i64 12438, !20, i64 12440, !59, i64 12448, !39, i64 12464, !19, i64 12480, !19, i64 12488, !7, i64 12496, !17, i64 12497, !20, i64 12500, !65, i64 12504, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !10, i64 12584, !17, i64 12588, !70, i64 12592, !6, i64 12600, !65, i64 12608, !6, i64 12624, !6, i64 12632, !20, i64 12640, !17, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !17, i64 12660, !10, i64 12664, !71, i64 12668, !72, i64 12688, !7, i64 12720, !10, i64 13200, !10, i64 13204, !20, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !7, i64 13224}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !19, i64 8, !20, i64 16, !20, i64 20, !6, i64 24, !6, i64 32, !20, i64 40, !20, i64 44, !20, i64 48, !7, i64 52, !20, i64 140, !20, i64 144, !6, i64 152, !6, i64 160, !20, i64 168, !17, i64 172, !6, i64 176, !19, i64 184, !17, i64 192, !17, i64 193, !17, i64 194, !17, i64 195, !17, i64 196, !17, i64 197, !20, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !19, i64 288, !7, i64 296, !20, i64 304, !20, i64 308, !17, i64 312, !17, i64 313, !17, i64 314, !17, i64 315, !7, i64 316, !7, i64 828, !17, i64 908, !17, i64 909, !17, i64 910, !17, i64 911, !17, i64 912, !17, i64 913, !17, i64 914, !20, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !19, i64 940, !17, i64 948, !10, i64 952, !10, i64 956, !19, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !20, i64 5452, !17, i64 5456, !21, i64 5458, !22, i64 5464}
!19 = !{!"_ZTS6ImVec2", !20, i64 0, !20, i64 4}
!20 = !{!"float", !7, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS10ImGuiStyle", !20, i64 0, !20, i64 4, !19, i64 8, !20, i64 16, !20, i64 20, !19, i64 24, !19, i64 32, !10, i64 40, !20, i64 44, !20, i64 48, !20, i64 52, !20, i64 56, !19, i64 60, !20, i64 68, !20, i64 72, !19, i64 76, !19, i64 84, !19, i64 92, !19, i64 100, !20, i64 108, !20, i64 112, !20, i64 116, !20, i64 120, !20, i64 124, !20, i64 128, !20, i64 132, !20, i64 136, !20, i64 140, !20, i64 144, !10, i64 148, !19, i64 152, !19, i64 160, !19, i64 168, !19, i64 176, !20, i64 184, !17, i64 188, !17, i64 189, !17, i64 190, !20, i64 192, !20, i64 196, !7, i64 200}
!24 = !{!"_ZTS20ImDrawListSharedData", !19, i64 0, !6, i64 8, !20, i64 16, !20, i64 20, !20, i64 24, !25, i64 28, !10, i64 44, !7, i64 48, !20, i64 432, !7, i64 436, !6, i64 504}
!25 = !{!"_ZTS6ImVec4", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!32 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !20, i64 4, !10, i64 8, !10, i64 12, !17, i64 16}
!33 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !34, i64 12, !34, i64 28, !34, i64 44}
!34 = !{!"_ZTS6ImRect", !19, i64 0, !19, i64 8}
!35 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !17, i64 56, !34, i64 60, !6, i64 80, !6, i64 88, !20, i64 96, !19, i64 100}
!36 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !34, i64 16, !10, i64 32, !20, i64 36, !20, i64 40, !20, i64 44}
!46 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!47 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI10ImGuiTableE", !51, i64 0, !29, i64 16, !10, i64 32, !10, i64 36}
!51 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !55, i64 0, !29, i64 16, !10, i64 32, !10, i64 36}
!55 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 16, !59, i64 32, !59, i64 48, !17, i64 64, !10, i64 68, !20, i64 72, !60, i64 76, !20, i64 3704, !17, i64 3708, !17, i64 3709, !17, i64 3710, !10, i64 3712}
!59 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !20, i64 28, !61, i64 32}
!61 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !21, i64 3582, !21, i64 3584, !10, i64 3588, !10, i64 3592}
!62 = !{!"_ZTS6ImFont", !52, i64 0, !20, i64 16, !20, i64 20, !22, i64 24, !63, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !21, i64 80, !21, i64 82, !21, i64 84, !21, i64 86, !17, i64 88, !20, i64 92, !20, i64 96, !20, i64 100, !10, i64 104, !7, i64 108}
!63 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS21ImGuiComboPreviewData", !34, i64 0, !19, i64 16, !19, i64 24, !19, i64 32, !20, i64 40, !10, i64 44}
!65 = !{!"_ZTS15ImGuiTextBuffer", !59, i64 0}
!66 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !59, i64 0}
!68 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !59, i64 0}
!69 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!71 = !{!"_ZTS18ImGuiMetricsConfig", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3, !17, i64 4, !17, i64 5, !10, i64 8, !10, i64 12}
!72 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !73, i64 16}
!73 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!75, !17, i64 147}
!75 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !20, i64 72, !20, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !19, i64 92, !19, i64 100, !19, i64 108, !19, i64 116, !19, i64 124, !19, i64 132, !17, i64 140, !17, i64 141, !17, i64 142, !17, i64 143, !17, i64 144, !17, i64 145, !17, i64 146, !17, i64 147, !17, i64 148, !17, i64 149, !17, i64 150, !17, i64 151, !17, i64 152, !7, i64 153, !21, i64 154, !21, i64 156, !21, i64 158, !21, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !17, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !19, i64 184, !19, i64 192, !39, i64 200, !76, i64 216, !34, i64 448, !34, i64 464, !34, i64 480, !34, i64 496, !34, i64 512, !34, i64 528, !34, i64 544, !79, i64 560, !79, i64 564, !10, i64 568, !20, i64 572, !20, i64 576, !29, i64 584, !80, i64 600, !20, i64 616, !10, i64 620, !6, i64 624, !81, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !17, i64 936}
!76 = !{!"_ZTS19ImGuiWindowTempData", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !20, i64 56, !20, i64 60, !77, i64 64, !77, i64 68, !77, i64 72, !19, i64 76, !44, i64 84, !21, i64 88, !21, i64 90, !10, i64 92, !17, i64 96, !17, i64 97, !17, i64 98, !19, i64 100, !78, i64 108, !10, i64 136, !10, i64 140, !27, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !20, i64 188, !20, i64 192, !52, i64 200, !52, i64 216}
!77 = !{!"_ZTS6ImVec1", !20, i64 0}
!78 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !21, i64 8, !21, i64 10, !21, i64 12, !21, i64 14, !21, i64 16, !7, i64 18}
!79 = !{!"_ZTS8ImVec2ih", !21, i64 0, !21, i64 2}
!80 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTS10ImDrawList", !82, i64 0, !22, i64 16, !83, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !84, i64 88, !85, i64 104, !86, i64 120, !87, i64 136, !88, i64 168, !20, i64 192}
!82 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS15ImDrawCmdHeader", !25, i64 0, !6, i64 16, !10, i64 24}
!88 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !53, i64 8}
!89 = !{i8 0, i8 2}
!90 = !{}
!91 = !{!20, !20, i64 0}
!92 = !{!16, !20, i64 6544}
!93 = !{!16, !20, i64 5552}
!94 = !{!17, !17, i64 0}
!95 = !{i64 0, i64 4, !91, i64 4, i64 4, !91, i64 8, i64 4, !91, i64 12, i64 4, !91}
!96 = !{!23, !20, i64 124}
!97 = !{!16, !17, i64 7288}
!98 = !{!16, !20, i64 12428}
!99 = !{!75, !6, i64 624}
!100 = !{!75, !20, i64 72}
!101 = !{!34, !20, i64 0}
!102 = !{!34, !20, i64 8}
!103 = !{!34, !20, i64 4}
!104 = !{!34, !20, i64 12}
!105 = !{!23, !20, i64 120}


; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11ScrollbarExERK6ImRectj9ImGuiAxisPxxxi = external hidden unnamed_addr constant [96 x i8], align 1

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

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

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

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

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

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

; 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 #5

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6ImVec2ixEm(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11ScrollbarExERK6ImRectj9ImGuiAxisPxxxi(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %6) local_unnamed_addr #7 {
  %8 = alloca %struct.ImRect, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca %struct.ImRect, align 4
  %15 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 7200
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %17, i64 147
  %19 = load i8, ptr %18, align 1, !tbaa !70, !range !85, !noundef !86
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %180, label %21

21:                                               ; preds = %7
  %22 = tail call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %0)
  %23 = tail call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %0)
  %24 = fcmp ole float %22, 0.000000e+00
  %25 = fcmp ole float %23, 0.000000e+00
  %or.cond = or i1 %24, %25
  br i1 %or.cond, label %180, label %26

26:                                               ; preds = %21
  %27 = icmp eq i32 %2, 1
  br i1 %27, label %28, label %.thread

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %15, i64 6544
  %30 = load float, ptr %29, align 8, !tbaa !87
  %31 = getelementptr inbounds i8, ptr %15, i64 5552
  %32 = load float, ptr %31, align 4, !tbaa !88
  %33 = tail call float @llvm.fmuladd.f32(float %32, float 2.000000e+00, float %30)
  %34 = fcmp olt float %23, %33
  br i1 %34, label %35, label %.thread

35:                                               ; preds = %28
  %36 = fsub float %23, %30
  %37 = fmul float %32, 2.000000e+00
  %38 = fdiv float %36, %37
  %39 = tail call noundef float @_ZL10ImSaturatef(float noundef %38)
  %40 = fcmp ugt float %39, 0.000000e+00
  br i1 %40, label %.thread, label %180

.thread:                                          ; preds = %26, %28, %35
  %.099109 = phi float [ %39, %35 ], [ 1.000000e+00, %28 ], [ 1.000000e+00, %26 ]
  %41 = fcmp oge float %.099109, 1.000000e+00
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %42 = fadd float %22, -2.000000e+00
  %43 = fmul float %42, 5.000000e-01
  %44 = fptosi float %43 to i32
  %45 = sitofp i32 %44 to float
  %46 = tail call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %45, float noundef 0.000000e+00, float noundef 3.000000e+00)
  %47 = fneg float %46
  %48 = fadd float %23, -2.000000e+00
  %49 = fmul float %48, 5.000000e-01
  %50 = fptosi float %49 to i32
  %51 = sitofp i32 %50 to float
  %52 = tail call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %51, float noundef 0.000000e+00, float noundef 3.000000e+00)
  %53 = fneg float %52
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %47, float noundef %53)
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %54 = icmp eq i32 %2, 0
  br i1 %54, label %55, label %57

55:                                               ; preds = %.thread
  %56 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %8)
  br label %59

57:                                               ; preds = %.thread
  %58 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %8)
  br label %59

59:                                               ; preds = %57, %55
  %60 = phi float [ %56, %55 ], [ %58, %57 ]
  %61 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef %5, i64 noundef %4)
  %62 = icmp sgt i64 %61, 0
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 940, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11ScrollbarExERK6ImRectj9ImGuiAxisPxxxi) #10
  unreachable

64:                                               ; preds = %59
  %65 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef %5, i64 noundef %4)
  %66 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef %65, i64 noundef 1)
  %67 = sitofp i64 %4 to float
  %68 = sitofp i64 %66 to float
  %69 = fdiv float %67, %68
  %70 = fmul float %60, %69
  %71 = getelementptr inbounds i8, ptr %15, i64 5612
  %72 = load float, ptr %71, align 4, !tbaa !91
  %73 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %70, float noundef %72, float noundef %60)
  %74 = fdiv float %73, %60
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #9
  store i8 0, ptr %10, align 1, !tbaa !92
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #9
  store i8 0, ptr %11, align 1, !tbaa !92
  %75 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %1, ptr noundef nonnull %11, ptr noundef nonnull %10, i32 noundef 262144)
  %76 = sub nsw i64 %5, %4
  %77 = call noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef 1, i64 noundef %76)
  %78 = load i64, ptr %3, align 8, !tbaa !93
  %79 = sitofp i64 %78 to float
  %80 = sitofp i64 %77 to float
  %81 = fdiv float %79, %80
  %82 = call noundef float @_ZL10ImSaturatef(float noundef %81)
  %83 = fsub float %60, %73
  %84 = fmul float %83, %82
  %85 = fdiv float %84, %60
  %86 = load i8, ptr %10, align 1, !tbaa !92, !range !85, !noundef !86
  %87 = trunc nuw i8 %86 to i1
  %88 = fcmp olt float %74, 1.000000e+00
  %or.cond3 = and i1 %41, %88
  %or.cond107 = and i1 %or.cond3, %87
  br i1 %or.cond107, label %89, label %133

89:                                               ; preds = %64
  %90 = sext i32 %2 to i64
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6ImVec2ixEm(ptr noundef nonnull align 4 dereferenceable(8) %8, i64 noundef %90)
  %92 = load float, ptr %91, align 4, !tbaa !90
  %93 = getelementptr inbounds i8, ptr %15, i64 296
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6ImVec2ixEm(ptr noundef nonnull align 4 dereferenceable(8) %93, i64 noundef %90)
  %95 = load float, ptr %94, align 4, !tbaa !90
  %96 = fsub float %95, %92
  %97 = fdiv float %96, %60
  %98 = call noundef float @_ZL10ImSaturatef(float noundef %97)
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %1)
  %99 = getelementptr inbounds i8, ptr %15, i64 7288
  %100 = load i8, ptr %99, align 8, !tbaa !94, !range !85, !noundef !86
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %102, label %._crit_edge

._crit_edge:                                      ; preds = %89
  %.phi.trans.insert = getelementptr inbounds i8, ptr %15, i64 12428
  %.pre = load float, ptr %.phi.trans.insert, align 4, !tbaa !95
  br label %114

102:                                              ; preds = %89
  %103 = fcmp olt float %98, %85
  %104 = fadd float %74, %85
  %105 = fcmp ogt float %98, %104
  %106 = or i1 %103, %105
  br i1 %106, label %107, label %109

107:                                              ; preds = %102
  %108 = getelementptr inbounds i8, ptr %15, i64 12428
  store float 0.000000e+00, ptr %108, align 4, !tbaa !95
  br label %114

109:                                              ; preds = %102
  %110 = fsub float %98, %85
  %111 = fneg float %74
  %112 = call float @llvm.fmuladd.f32(float %111, float 5.000000e-01, float %110)
  %113 = getelementptr inbounds i8, ptr %15, i64 12428
  store float %112, ptr %113, align 4, !tbaa !95
  br label %114

114:                                              ; preds = %._crit_edge, %107, %109
  %115 = phi float [ 0.000000e+00, %107 ], [ %112, %109 ], [ %.pre, %._crit_edge ]
  %.0100.shrunk = phi i1 [ true, %107 ], [ false, %109 ], [ false, %._crit_edge ]
  %116 = fsub float %98, %115
  %117 = fneg float %74
  %118 = call float @llvm.fmuladd.f32(float %117, float 5.000000e-01, float %116)
  %119 = fsub float 1.000000e+00, %74
  %120 = fdiv float %118, %119
  %121 = call noundef float @_ZL10ImSaturatef(float noundef %120)
  %122 = fmul float %121, %80
  %123 = fptosi float %122 to i64
  store i64 %123, ptr %3, align 8, !tbaa !93
  %124 = sitofp i64 %123 to float
  %125 = fdiv float %124, %80
  %126 = call noundef float @_ZL10ImSaturatef(float noundef %125)
  %127 = fmul float %83, %126
  %128 = fdiv float %127, %60
  br i1 %.0100.shrunk, label %129, label %133

129:                                              ; preds = %114
  %130 = getelementptr inbounds i8, ptr %15, i64 12428
  %131 = fsub float %98, %128
  %132 = call float @llvm.fmuladd.f32(float %117, float 5.000000e-01, float %131)
  store float %132, ptr %130, align 4, !tbaa !95
  br label %133

133:                                              ; preds = %114, %129, %64
  %.0101 = phi float [ %85, %64 ], [ %128, %129 ], [ %128, %114 ]
  %134 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 14, float noundef 1.000000e+00)
  %135 = load i8, ptr %10, align 1, !tbaa !92, !range !85, !noundef !86
  %136 = trunc nuw i8 %135 to i1
  %137 = load i8, ptr %11, align 1, !range !85
  %138 = trunc nuw i8 %137 to i1
  %139 = select i1 %138, i32 16, i32 15
  %140 = select i1 %136, i32 17, i32 %139
  %141 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %140, float noundef %.099109)
  %142 = getelementptr inbounds i8, ptr %17, i64 624
  %143 = load ptr, ptr %142, align 8, !tbaa !96
  %144 = getelementptr inbounds i8, ptr %0, i64 8
  %145 = getelementptr inbounds i8, ptr %17, i64 72
  %146 = load float, ptr %145, align 8, !tbaa !97
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %143, ptr noundef nonnull align 4 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(8) %144, i32 noundef %134, float noundef %146, i32 noundef %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12)
  br i1 %54, label %147, label %160

147:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %148 = load float, ptr %8, align 4, !tbaa !98
  %149 = getelementptr inbounds i8, ptr %8, i64 8
  %150 = load float, ptr %149, align 4, !tbaa !99
  %151 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %148, float noundef %150, float noundef %.0101)
  %152 = getelementptr inbounds i8, ptr %8, i64 4
  %153 = load float, ptr %152, align 4, !tbaa !100
  %154 = load float, ptr %8, align 4, !tbaa !98
  %155 = load float, ptr %149, align 4, !tbaa !99
  %156 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %154, float noundef %155, float noundef %.0101)
  %157 = fadd float %73, %156
  %158 = getelementptr inbounds i8, ptr %8, i64 12
  %159 = load float, ptr %158, align 4, !tbaa !101
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %151, float noundef %153, float noundef %157, float noundef %159)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !89
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %173

160:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  %161 = load float, ptr %8, align 4, !tbaa !98
  %162 = getelementptr inbounds i8, ptr %8, i64 4
  %163 = load float, ptr %162, align 4, !tbaa !100
  %164 = getelementptr inbounds i8, ptr %8, i64 8
  %165 = getelementptr inbounds i8, ptr %8, i64 12
  %166 = load float, ptr %165, align 4, !tbaa !101
  %167 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %163, float noundef %166, float noundef %.0101)
  %168 = load float, ptr %164, align 4, !tbaa !99
  %169 = load float, ptr %162, align 4, !tbaa !100
  %170 = load float, ptr %165, align 4, !tbaa !101
  %171 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %169, float noundef %170, float noundef %.0101)
  %172 = fadd float %73, %171
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef %161, float noundef %167, float noundef %168, float noundef %172)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !89
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %173

173:                                              ; preds = %160, %147
  %174 = load ptr, ptr %142, align 8, !tbaa !96
  %175 = getelementptr inbounds i8, ptr %12, i64 8
  %176 = getelementptr inbounds i8, ptr %15, i64 5608
  %177 = load float, ptr %176, align 4, !tbaa !102
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %174, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %175, i32 noundef %141, float noundef %177, i32 noundef 0)
  %178 = load i8, ptr %10, align 1, !tbaa !92, !range !85, !noundef !86
  %179 = trunc nuw i8 %178 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  br label %180

180:                                              ; preds = %21, %35, %173, %7
  %.2 = phi i1 [ false, %7 ], [ false, %21 ], [ %179, %173 ], [ false, %35 ]
  ret i1 %.2
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL10ImSaturatef(float noundef) local_unnamed_addr #8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZL5ImMaxIxET_S0_S0_(i64 noundef, i64 noundef) local_unnamed_addr #8

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) local_unnamed_addr #4

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 7200}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5488, !6, i64 6536, !15, i64 6544, !15, i64 6548, !19, i64 6552, !21, i64 7064, !13, i64 7072, !13, i64 7076, !13, i64 7080, !11, i64 7084, !11, i64 7085, !11, i64 7086, !11, i64 7087, !11, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !23, i64 7152, !24, i64 7168, !13, i64 7184, !14, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !14, i64 7240, !15, i64 7248, !13, i64 7252, !13, i64 7256, !13, i64 7260, !11, i64 7264, !11, i64 7265, !11, i64 7266, !11, i64 7267, !15, i64 7268, !15, i64 7272, !13, i64 7276, !13, i64 7280, !15, i64 7284, !11, i64 7288, !11, i64 7289, !11, i64 7290, !11, i64 7291, !11, i64 7292, !11, i64 7293, !11, i64 7294, !13, i64 7296, !13, i64 7300, !26, i64 7304, !14, i64 7312, !6, i64 7320, !27, i64 7328, !13, i64 7332, !13, i64 7336, !11, i64 7340, !11, i64 7341, !6, i64 7344, !13, i64 7352, !15, i64 7356, !13, i64 7360, !28, i64 7364, !29, i64 7384, !31, i64 7448, !32, i64 7560, !33, i64 7576, !34, i64 7592, !35, i64 7608, !36, i64 7624, !37, i64 7640, !38, i64 7656, !38, i64 7672, !13, i64 7688, !39, i64 7696, !6, i64 7712, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !13, i64 7748, !13, i64 7752, !13, i64 7756, !13, i64 7760, !13, i64 7764, !27, i64 7768, !40, i64 7772, !11, i64 7776, !11, i64 7777, !11, i64 7778, !11, i64 7779, !11, i64 7780, !11, i64 7781, !11, i64 7782, !13, i64 7784, !30, i64 7788, !11, i64 7804, !11, i64 7805, !11, i64 7806, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !13, i64 7824, !13, i64 7828, !30, i64 7832, !30, i64 7848, !13, i64 7864, !13, i64 7868, !13, i64 7872, !41, i64 7880, !41, i64 7928, !41, i64 7976, !41, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !15, i64 8096, !15, i64 8100, !11, i64 8104, !15, i64 8108, !13, i64 8112, !11, i64 8116, !11, i64 8117, !11, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !42, i64 8136, !30, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !43, i64 8248, !7, i64 8264, !13, i64 8280, !44, i64 8288, !6, i64 8304, !13, i64 8312, !45, i64 8320, !46, i64 8336, !48, i64 8376, !49, i64 8392, !6, i64 8408, !50, i64 8416, !52, i64 8456, !53, i64 8472, !14, i64 8488, !54, i64 8496, !58, i64 12216, !13, i64 12328, !13, i64 12332, !15, i64 12336, !15, i64 12340, !13, i64 12344, !20, i64 12348, !60, i64 12364, !15, i64 12412, !11, i64 12416, !11, i64 12417, !15, i64 12420, !15, i64 12424, !15, i64 12428, !15, i64 12432, !16, i64 12436, !16, i64 12438, !15, i64 12440, !55, i64 12448, !35, i64 12464, !14, i64 12480, !14, i64 12488, !7, i64 12496, !11, i64 12497, !15, i64 12500, !61, i64 12504, !62, i64 12520, !63, i64 12536, !64, i64 12552, !65, i64 12568, !13, i64 12584, !11, i64 12588, !66, i64 12592, !6, i64 12600, !61, i64 12608, !6, i64 12624, !6, i64 12632, !15, i64 12640, !11, i64 12644, !13, i64 12648, !13, i64 12652, !13, i64 12656, !11, i64 12660, !13, i64 12664, !67, i64 12668, !68, i64 12688, !7, i64 12720, !13, i64 13200, !13, i64 13204, !15, i64 13208, !13, i64 13212, !13, i64 13216, !13, i64 13220, !7, i64 13224}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 908, !11, i64 909, !11, i64 910, !11, i64 911, !11, i64 912, !11, i64 913, !11, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !11, i64 948, !13, i64 952, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !15, i64 5452, !11, i64 5456, !16, i64 5458, !17, i64 5464}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!29 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !30, i64 12, !30, i64 28, !30, i64 44}
!30 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!31 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !30, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!32 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !30, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!42 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !59, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !13, i64 8, !13, i64 12}
!68 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !69, i64 16}
!69 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!71, !11, i64 147}
!71 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !11, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !13, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !11, i64 171, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !14, i64 184, !14, i64 192, !35, i64 200, !72, i64 216, !30, i64 448, !30, i64 464, !30, i64 480, !30, i64 496, !30, i64 512, !30, i64 528, !30, i64 544, !75, i64 560, !75, i64 564, !13, i64 568, !15, i64 572, !15, i64 576, !24, i64 584, !76, i64 600, !15, i64 616, !13, i64 620, !6, i64 624, !77, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !11, i64 936}
!72 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !73, i64 64, !73, i64 68, !73, i64 72, !14, i64 76, !40, i64 84, !16, i64 88, !16, i64 90, !13, i64 92, !11, i64 96, !11, i64 97, !11, i64 98, !14, i64 100, !74, i64 108, !13, i64 136, !13, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !48, i64 200, !48, i64 216}
!73 = !{!"_ZTS6ImVec1", !15, i64 0}
!74 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!75 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!76 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS10ImDrawList", !78, i64 0, !17, i64 16, !79, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !80, i64 88, !81, i64 104, !82, i64 120, !83, i64 136, !84, i64 168, !15, i64 192}
!78 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!84 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !49, i64 8}
!85 = !{i8 0, i8 2}
!86 = !{}
!87 = !{!10, !15, i64 6544}
!88 = !{!10, !15, i64 5552}
!89 = !{i64 0, i64 4, !90, i64 4, i64 4, !90, i64 8, i64 4, !90, i64 12, i64 4, !90}
!90 = !{!15, !15, i64 0}
!91 = !{!18, !15, i64 124}
!92 = !{!11, !11, i64 0}
!93 = !{!26, !26, i64 0}
!94 = !{!10, !11, i64 7288}
!95 = !{!10, !15, i64 12428}
!96 = !{!71, !6, i64 624}
!97 = !{!71, !15, i64 72}
!98 = !{!30, !15, i64 0}
!99 = !{!30, !15, i64 8}
!100 = !{!30, !15, i64 4}
!101 = !{!30, !15, i64 12}
!102 = !{!18, !15, i64 120}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass