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

; 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, 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.8, %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.28, 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.ImVector.8 = type { i32, i32, ptr }
%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.3, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.17, %struct.ImVector.17 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.29, %struct.ImVector, %struct.ImVector.30, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.31, %struct.ImVector.32, %struct.ImVector.33, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.18 }
%struct.ImVector.18 = type { i32, i32, ptr }
%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.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.4, %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.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.11, i32, [4 x i8], %struct.ImVector.12, 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.13, [16 x i8], i32, [4 x i8], %struct.ImVector.14, ptr, i32, [4 x i8], %struct.ImVector.15, %struct.ImPool, %struct.ImVector.17, %struct.ImVector.18, ptr, %struct.ImPool.19, %struct.ImVector.21, %struct.ImVector.22, %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.2, %struct.ImVector.8, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, %struct.ImChunkStream.25, %struct.ImVector.26, 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 }
%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.4 = 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.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = 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.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.16, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool.19 = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, 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.17, float, float, %struct.ImVector, %struct.ImVector.23, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.25 = type { %struct.ImVector.2 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.27 }
%struct.ImVector.27 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti = external hidden unnamed_addr constant [78 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [90 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

; Function Attrs: mustprogress 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: mustprogress uwtable
declare hidden <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2) #6 {
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %struct.ImRect, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImRect, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %26 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %26, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %27, i32 0, i32 56
  %29 = getelementptr inbounds %struct.ImRect, ptr %28, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %30 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %30, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiWindow, ptr %31, i32 0, i32 56
  %33 = getelementptr inbounds %struct.ImRect, ptr %32, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %34 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %34, ptr %12, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = and i32 %35, 21
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %42, label %38

38:                                               ; preds = %3
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = and i32 %39, 21
  %41 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %40)
  br label %42

42:                                               ; preds = %38, %3
  %43 = phi i1 [ true, %3 ], [ %41, %38 ]
  br i1 %43, label %44, label %45

44:                                               ; preds = %42
  br label %47

45:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.188, ptr noundef @.str.3, i32 noundef 8246, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti) #9
  unreachable

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %44
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = and i32 %48, 42
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %55, label %51

51:                                               ; preds = %47
  %52 = load i32, ptr %7, align 4, !tbaa !9
  %53 = and i32 %52, 42
  %54 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %53)
  br label %55

55:                                               ; preds = %51, %47
  %56 = phi i1 [ true, %47 ], [ %54, %51 ]
  br i1 %56, label %57, label %58

57:                                               ; preds = %55
  br label %60

58:                                               ; preds = %55
  call void @__assert_fail(ptr noundef @.str.189, ptr noundef @.str.3, i32 noundef 8247, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti) #9
  unreachable

59:                                               ; No predecessors!
  br label %60

60:                                               ; preds = %59, %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %61 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %61, ptr %14, align 4, !tbaa !9
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = and i32 %62, 21
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %73

65:                                               ; preds = %60
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiWindow, ptr %66, i32 0, i32 21
  %68 = load i8, ptr %67, align 4, !tbaa !11, !range !40, !noundef !41
  %69 = trunc i8 %68 to i1
  br i1 %69, label %70, label %73

70:                                               ; preds = %65
  %71 = load i32, ptr %7, align 4, !tbaa !9
  %72 = or i32 %71, 1
  store i32 %72, ptr %7, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %70, %65, %60
  %74 = load i32, ptr %7, align 4, !tbaa !9
  %75 = and i32 %74, 42
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %86

77:                                               ; preds = %73
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiWindow, ptr %78, i32 0, i32 29
  %80 = load i8, ptr %79, align 4, !tbaa !42, !range !40, !noundef !41
  %81 = trunc i8 %80 to i1
  %82 = zext i1 %81 to i64
  %83 = select i1 %81, i32 32, i32 2
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = or i32 %84, %83
  store i32 %85, ptr %7, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %77, %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImRect, ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds %struct.ImVec2, ptr %88, i32 0, i32 0
  %90 = load float, ptr %89, align 4, !tbaa !43
  %91 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %92 = getelementptr inbounds %struct.ImVec2, ptr %91, i32 0, i32 0
  %93 = load float, ptr %92, align 4, !tbaa !43
  %94 = fcmp oge float %90, %93
  br i1 %94, label %95, label %104

95:                                               ; preds = %86
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImRect, ptr %96, i32 0, i32 1
  %98 = getelementptr inbounds %struct.ImVec2, ptr %97, i32 0, i32 0
  %99 = load float, ptr %98, align 4, !tbaa !44
  %100 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %101 = getelementptr inbounds %struct.ImVec2, ptr %100, i32 0, i32 0
  %102 = load float, ptr %101, align 4, !tbaa !44
  %103 = fcmp ole float %99, %102
  br label %104

104:                                              ; preds = %95, %86
  %105 = phi i1 [ false, %86 ], [ %103, %95 ]
  %106 = zext i1 %105 to i8
  store i8 %106, ptr %15, align 1, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImRect, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %struct.ImVec2, ptr %108, i32 0, i32 1
  %110 = load float, ptr %109, align 4, !tbaa !46
  %111 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %112 = getelementptr inbounds %struct.ImVec2, ptr %111, i32 0, i32 1
  %113 = load float, ptr %112, align 4, !tbaa !46
  %114 = fcmp oge float %110, %113
  br i1 %114, label %115, label %124

115:                                              ; preds = %104
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImRect, ptr %116, i32 0, i32 1
  %118 = getelementptr inbounds %struct.ImVec2, ptr %117, i32 0, i32 1
  %119 = load float, ptr %118, align 4, !tbaa !47
  %120 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %121 = getelementptr inbounds %struct.ImVec2, ptr %120, i32 0, i32 1
  %122 = load float, ptr %121, align 4, !tbaa !47
  %123 = fcmp ole float %119, %122
  br label %124

124:                                              ; preds = %115, %104
  %125 = phi i1 [ false, %104 ], [ %123, %115 ]
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %16, align 1, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %127)
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 4
  %131 = getelementptr inbounds %struct.ImGuiStyle, ptr %130, i32 0, i32 15
  %132 = getelementptr inbounds %struct.ImVec2, ptr %131, i32 0, i32 0
  %133 = load float, ptr %132, align 4, !tbaa !48
  %134 = call float @llvm.fmuladd.f32(float %133, float 2.000000e+00, float %128)
  %135 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %136 = fcmp ole float %134, %135
  %137 = zext i1 %136 to i8
  store i8 %137, ptr %17, align 1, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %138)
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGuiContext, ptr %140, i32 0, i32 4
  %142 = getelementptr inbounds %struct.ImGuiStyle, ptr %141, i32 0, i32 15
  %143 = getelementptr inbounds %struct.ImVec2, ptr %142, i32 0, i32 1
  %144 = load float, ptr %143, align 4, !tbaa !94
  %145 = call float @llvm.fmuladd.f32(float %144, float 2.000000e+00, float %139)
  %146 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %147 = fcmp ole float %145, %146
  %148 = zext i1 %147 to i8
  store i8 %148, ptr %18, align 1, !tbaa !45
  %149 = load i32, ptr %7, align 4, !tbaa !9
  %150 = and i32 %149, 1
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %212

152:                                              ; preds = %124
  %153 = load i8, ptr %15, align 1, !tbaa !45, !range !40, !noundef !41
  %154 = trunc i8 %153 to i1
  br i1 %154, label %212, label %155

155:                                              ; preds = %152
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImRect, ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds %struct.ImVec2, ptr %157, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !43
  %160 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %161 = getelementptr inbounds %struct.ImVec2, ptr %160, i32 0, i32 0
  %162 = load float, ptr %161, align 4, !tbaa !43
  %163 = fcmp olt float %159, %162
  br i1 %163, label %167, label %164

164:                                              ; preds = %155
  %165 = load i8, ptr %17, align 1, !tbaa !45, !range !40, !noundef !41
  %166 = trunc i8 %165 to i1
  br i1 %166, label %184, label %167

167:                                              ; preds = %164, %155
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImRect, ptr %169, i32 0, i32 0
  %171 = getelementptr inbounds %struct.ImVec2, ptr %170, i32 0, i32 0
  %172 = load float, ptr %171, align 4, !tbaa !43
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiContext, ptr %173, i32 0, i32 4
  %175 = getelementptr inbounds %struct.ImGuiStyle, ptr %174, i32 0, i32 15
  %176 = getelementptr inbounds %struct.ImVec2, ptr %175, i32 0, i32 0
  %177 = load float, ptr %176, align 4, !tbaa !48
  %178 = fsub float %172, %177
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiWindow, ptr %179, i32 0, i32 3
  %181 = getelementptr inbounds %struct.ImVec2, ptr %180, i32 0, i32 0
  %182 = load float, ptr %181, align 8, !tbaa !95
  %183 = fsub float %178, %182
  call void @_ZN5ImGui17SetScrollFromPosXEP11ImGuiWindowff(ptr noundef %168, float noundef %183, float noundef 0.000000e+00)
  br label %211

184:                                              ; preds = %164
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImRect, ptr %185, i32 0, i32 1
  %187 = getelementptr inbounds %struct.ImVec2, ptr %186, i32 0, i32 0
  %188 = load float, ptr %187, align 4, !tbaa !44
  %189 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %190 = getelementptr inbounds %struct.ImVec2, ptr %189, i32 0, i32 0
  %191 = load float, ptr %190, align 4, !tbaa !44
  %192 = fcmp oge float %188, %191
  br i1 %192, label %193, label %210

193:                                              ; preds = %184
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImRect, ptr %195, i32 0, i32 1
  %197 = getelementptr inbounds %struct.ImVec2, ptr %196, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !44
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiContext, ptr %199, i32 0, i32 4
  %201 = getelementptr inbounds %struct.ImGuiStyle, ptr %200, i32 0, i32 15
  %202 = getelementptr inbounds %struct.ImVec2, ptr %201, i32 0, i32 0
  %203 = load float, ptr %202, align 4, !tbaa !48
  %204 = fadd float %198, %203
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.ImGuiWindow, ptr %205, i32 0, i32 3
  %207 = getelementptr inbounds %struct.ImVec2, ptr %206, i32 0, i32 0
  %208 = load float, ptr %207, align 8, !tbaa !95
  %209 = fsub float %204, %208
  call void @_ZN5ImGui17SetScrollFromPosXEP11ImGuiWindowff(ptr noundef %194, float noundef %209, float noundef 1.000000e+00)
  br label %210

210:                                              ; preds = %193, %184
  br label %211

211:                                              ; preds = %210, %167
  br label %257

212:                                              ; preds = %152, %124
  %213 = load i32, ptr %7, align 4, !tbaa !9
  %214 = and i32 %213, 4
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %219

216:                                              ; preds = %212
  %217 = load i8, ptr %15, align 1, !tbaa !45, !range !40, !noundef !41
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %223

219:                                              ; preds = %216, %212
  %220 = load i32, ptr %7, align 4, !tbaa !9
  %221 = and i32 %220, 16
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %256

223:                                              ; preds = %219, %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %224 = load i8, ptr %17, align 1, !tbaa !45, !range !40, !noundef !41
  %225 = trunc i8 %224 to i1
  br i1 %225, label %226, label %242

226:                                              ; preds = %223
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImRect, ptr %227, i32 0, i32 0
  %229 = getelementptr inbounds %struct.ImVec2, ptr %228, i32 0, i32 0
  %230 = load float, ptr %229, align 4, !tbaa !43
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImRect, ptr %231, i32 0, i32 1
  %233 = getelementptr inbounds %struct.ImVec2, ptr %232, i32 0, i32 0
  %234 = load float, ptr %233, align 4, !tbaa !44
  %235 = fadd float %230, %234
  %236 = load ptr, ptr %5, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.ImGuiWindow, ptr %236, i32 0, i32 56
  %238 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %237)
  %239 = fsub float %235, %238
  %240 = fmul float %239, 5.000000e-01
  %241 = call noundef float @_ZL7ImFloorf(float noundef %240)
  br label %247

242:                                              ; preds = %223
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImRect, ptr %243, i32 0, i32 0
  %245 = getelementptr inbounds %struct.ImVec2, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 4, !tbaa !43
  br label %247

247:                                              ; preds = %242, %226
  %248 = phi float [ %241, %226 ], [ %246, %242 ]
  store float %248, ptr %19, align 4, !tbaa !96
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = load float, ptr %19, align 4, !tbaa !96
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiWindow, ptr %251, i32 0, i32 3
  %253 = getelementptr inbounds %struct.ImVec2, ptr %252, i32 0, i32 0
  %254 = load float, ptr %253, align 8, !tbaa !95
  %255 = fsub float %250, %254
  call void @_ZN5ImGui17SetScrollFromPosXEP11ImGuiWindowff(ptr noundef %249, float noundef %255, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %256

256:                                              ; preds = %247, %219
  br label %257

257:                                              ; preds = %256, %211
  %258 = load i32, ptr %7, align 4, !tbaa !9
  %259 = and i32 %258, 2
  %260 = icmp ne i32 %259, 0
  br i1 %260, label %261, label %321

261:                                              ; preds = %257
  %262 = load i8, ptr %16, align 1, !tbaa !45, !range !40, !noundef !41
  %263 = trunc i8 %262 to i1
  br i1 %263, label %321, label %264

264:                                              ; preds = %261
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImRect, ptr %265, i32 0, i32 0
  %267 = getelementptr inbounds %struct.ImVec2, ptr %266, i32 0, i32 1
  %268 = load float, ptr %267, align 4, !tbaa !46
  %269 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %270 = getelementptr inbounds %struct.ImVec2, ptr %269, i32 0, i32 1
  %271 = load float, ptr %270, align 4, !tbaa !46
  %272 = fcmp olt float %268, %271
  br i1 %272, label %276, label %273

273:                                              ; preds = %264
  %274 = load i8, ptr %18, align 1, !tbaa !45, !range !40, !noundef !41
  %275 = trunc i8 %274 to i1
  br i1 %275, label %293, label %276

276:                                              ; preds = %273, %264
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ImRect, ptr %278, i32 0, i32 0
  %280 = getelementptr inbounds %struct.ImVec2, ptr %279, i32 0, i32 1
  %281 = load float, ptr %280, align 4, !tbaa !46
  %282 = load ptr, ptr %8, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiContext, ptr %282, i32 0, i32 4
  %284 = getelementptr inbounds %struct.ImGuiStyle, ptr %283, i32 0, i32 15
  %285 = getelementptr inbounds %struct.ImVec2, ptr %284, i32 0, i32 1
  %286 = load float, ptr %285, align 4, !tbaa !94
  %287 = fsub float %281, %286
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.ImGuiWindow, ptr %288, i32 0, i32 3
  %290 = getelementptr inbounds %struct.ImVec2, ptr %289, i32 0, i32 1
  %291 = load float, ptr %290, align 4, !tbaa !97
  %292 = fsub float %287, %291
  call void @_ZN5ImGui17SetScrollFromPosYEP11ImGuiWindowff(ptr noundef %277, float noundef %292, float noundef 0.000000e+00)
  br label %320

293:                                              ; preds = %273
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.ImRect, ptr %294, i32 0, i32 1
  %296 = getelementptr inbounds %struct.ImVec2, ptr %295, i32 0, i32 1
  %297 = load float, ptr %296, align 4, !tbaa !47
  %298 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %299 = getelementptr inbounds %struct.ImVec2, ptr %298, i32 0, i32 1
  %300 = load float, ptr %299, align 4, !tbaa !47
  %301 = fcmp oge float %297, %300
  br i1 %301, label %302, label %319

302:                                              ; preds = %293
  %303 = load ptr, ptr %5, align 8, !tbaa !5
  %304 = load ptr, ptr %6, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImRect, ptr %304, i32 0, i32 1
  %306 = getelementptr inbounds %struct.ImVec2, ptr %305, i32 0, i32 1
  %307 = load float, ptr %306, align 4, !tbaa !47
  %308 = load ptr, ptr %8, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiContext, ptr %308, i32 0, i32 4
  %310 = getelementptr inbounds %struct.ImGuiStyle, ptr %309, i32 0, i32 15
  %311 = getelementptr inbounds %struct.ImVec2, ptr %310, i32 0, i32 1
  %312 = load float, ptr %311, align 4, !tbaa !94
  %313 = fadd float %307, %312
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiWindow, ptr %314, i32 0, i32 3
  %316 = getelementptr inbounds %struct.ImVec2, ptr %315, i32 0, i32 1
  %317 = load float, ptr %316, align 4, !tbaa !97
  %318 = fsub float %313, %317
  call void @_ZN5ImGui17SetScrollFromPosYEP11ImGuiWindowff(ptr noundef %303, float noundef %318, float noundef 1.000000e+00)
  br label %319

319:                                              ; preds = %302, %293
  br label %320

320:                                              ; preds = %319, %276
  br label %366

321:                                              ; preds = %261, %257
  %322 = load i32, ptr %7, align 4, !tbaa !9
  %323 = and i32 %322, 8
  %324 = icmp ne i32 %323, 0
  br i1 %324, label %325, label %328

325:                                              ; preds = %321
  %326 = load i8, ptr %16, align 1, !tbaa !45, !range !40, !noundef !41
  %327 = trunc i8 %326 to i1
  br i1 %327, label %328, label %332

328:                                              ; preds = %325, %321
  %329 = load i32, ptr %7, align 4, !tbaa !9
  %330 = and i32 %329, 32
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %365

332:                                              ; preds = %328, %325
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %333 = load i8, ptr %18, align 1, !tbaa !45, !range !40, !noundef !41
  %334 = trunc i8 %333 to i1
  br i1 %334, label %335, label %351

335:                                              ; preds = %332
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImRect, ptr %336, i32 0, i32 0
  %338 = getelementptr inbounds %struct.ImVec2, ptr %337, i32 0, i32 1
  %339 = load float, ptr %338, align 4, !tbaa !46
  %340 = load ptr, ptr %6, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.ImRect, ptr %340, i32 0, i32 1
  %342 = getelementptr inbounds %struct.ImVec2, ptr %341, i32 0, i32 1
  %343 = load float, ptr %342, align 4, !tbaa !47
  %344 = fadd float %339, %343
  %345 = load ptr, ptr %5, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.ImGuiWindow, ptr %345, i32 0, i32 56
  %347 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %346)
  %348 = fsub float %344, %347
  %349 = fmul float %348, 5.000000e-01
  %350 = call noundef float @_ZL7ImFloorf(float noundef %349)
  br label %356

351:                                              ; preds = %332
  %352 = load ptr, ptr %6, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ImRect, ptr %352, i32 0, i32 0
  %354 = getelementptr inbounds %struct.ImVec2, ptr %353, i32 0, i32 1
  %355 = load float, ptr %354, align 4, !tbaa !46
  br label %356

356:                                              ; preds = %351, %335
  %357 = phi float [ %350, %335 ], [ %355, %351 ]
  store float %357, ptr %20, align 4, !tbaa !96
  %358 = load ptr, ptr %5, align 8, !tbaa !5
  %359 = load float, ptr %20, align 4, !tbaa !96
  %360 = load ptr, ptr %5, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiWindow, ptr %360, i32 0, i32 3
  %362 = getelementptr inbounds %struct.ImVec2, ptr %361, i32 0, i32 1
  %363 = load float, ptr %362, align 4, !tbaa !97
  %364 = fsub float %359, %363
  call void @_ZN5ImGui17SetScrollFromPosYEP11ImGuiWindowff(ptr noundef %358, float noundef %364, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %365

365:                                              ; preds = %356, %328
  br label %366

366:                                              ; preds = %365, %320
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %367 = load ptr, ptr %5, align 8, !tbaa !5
  %368 = call <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef %367)
  store <2 x float> %368, ptr %21, align 4
  %369 = load ptr, ptr %5, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiWindow, ptr %369, i32 0, i32 15
  %371 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %370)
  store <2 x float> %371, ptr %4, align 4
  %372 = load i32, ptr %7, align 4, !tbaa !9
  %373 = and i32 %372, 64
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %410, label %375

375:                                              ; preds = %366
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.ImGuiWindow, ptr %376, i32 0, i32 2
  %378 = load i32, ptr %377, align 4, !tbaa !98
  %379 = and i32 %378, 16777216
  %380 = icmp ne i32 %379, 0
  br i1 %380, label %381, label %410

381:                                              ; preds = %375
  %382 = load i32, ptr %14, align 4, !tbaa !9
  %383 = and i32 %382, 20
  %384 = icmp ne i32 %383, 0
  br i1 %384, label %385, label %389

385:                                              ; preds = %381
  %386 = load i32, ptr %14, align 4, !tbaa !9
  %387 = and i32 %386, -22
  %388 = or i32 %387, 1
  store i32 %388, ptr %14, align 4, !tbaa !9
  br label %389

389:                                              ; preds = %385, %381
  %390 = load i32, ptr %14, align 4, !tbaa !9
  %391 = and i32 %390, 40
  %392 = icmp ne i32 %391, 0
  br i1 %392, label %393, label %397

393:                                              ; preds = %389
  %394 = load i32, ptr %14, align 4, !tbaa !9
  %395 = and i32 %394, -43
  %396 = or i32 %395, 2
  store i32 %396, ptr %14, align 4, !tbaa !9
  br label %397

397:                                              ; preds = %393, %389
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %398 = load ptr, ptr %5, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.ImGuiWindow, ptr %398, i32 0, i32 74
  %400 = load ptr, ptr %399, align 8, !tbaa !99
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %401 = load ptr, ptr %6, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.ImRect, ptr %401, i32 0, i32 0
  %403 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %402, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %403, ptr %24, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %404 = load ptr, ptr %6, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.ImRect, ptr %404, i32 0, i32 1
  %406 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %405, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %406, ptr %25, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %407 = load i32, ptr %14, align 4, !tbaa !9
  %408 = call <2 x float> @_ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti(ptr noundef %400, ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef %407)
  store <2 x float> %408, ptr %22, align 4
  %409 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %410

410:                                              ; preds = %397, %375, %366
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  %411 = load <2 x float>, ptr %4, align 4
  ret <2 x float> %411
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17SetScrollFromPosYEP11ImGuiWindowff(ptr noundef, float noundef, float noundef) #7

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 = { 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 #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #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 = { nounwind }
attributes #9 = { 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, !15, i64 140}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, 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, !10, i64 80, !10, i64 84, !10, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !15, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !15, 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, !13, i64 184, !13, i64 192, !17, i64 200, !18, i64 216, !24, i64 448, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !25, i64 560, !25, i64 564, !10, i64 568, !14, i64 572, !14, i64 576, !26, i64 584, !28, i64 600, !14, i64 616, !10, i64 620, !6, i64 624, !29, 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, !15, i64 936}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !13, i64 76, !20, i64 84, !16, i64 88, !16, i64 90, !10, i64 92, !15, i64 96, !15, i64 97, !15, i64 98, !13, i64 100, !21, i64 108, !10, i64 136, !10, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !14, i64 188, !14, i64 192, !23, i64 200, !23, i64 216}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !14, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !10, i64 24}
!37 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!12, !15, i64 148}
!43 = !{!24, !14, i64 0}
!44 = !{!24, !14, i64 8}
!45 = !{!15, !15, i64 0}
!46 = !{!24, !14, i64 4}
!47 = !{!24, !14, i64 12}
!48 = !{!49, !14, i64 5564}
!49 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !50, i64 8, !51, i64 5488, !6, i64 6536, !14, i64 6544, !14, i64 6548, !52, i64 6552, !53, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !15, i64 7084, !15, i64 7085, !15, i64 7086, !15, i64 7087, !15, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !54, i64 7152, !26, i64 7168, !10, i64 7184, !13, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !13, i64 7240, !14, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !15, i64 7264, !15, i64 7265, !15, i64 7266, !15, i64 7267, !14, i64 7268, !14, i64 7272, !10, i64 7276, !10, i64 7280, !14, i64 7284, !15, i64 7288, !15, i64 7289, !15, i64 7290, !15, i64 7291, !15, i64 7292, !15, i64 7293, !15, i64 7294, !10, i64 7296, !10, i64 7300, !55, i64 7304, !13, i64 7312, !6, i64 7320, !56, i64 7328, !10, i64 7332, !10, i64 7336, !15, i64 7340, !15, i64 7341, !6, i64 7344, !10, i64 7352, !14, i64 7356, !10, i64 7360, !57, i64 7364, !58, i64 7384, !59, i64 7448, !60, i64 7560, !61, i64 7576, !62, i64 7592, !17, i64 7608, !63, i64 7624, !64, i64 7640, !65, i64 7656, !65, i64 7672, !10, i64 7688, !66, 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, !56, i64 7768, !20, i64 7772, !15, i64 7776, !15, i64 7777, !15, i64 7778, !15, i64 7779, !15, i64 7780, !15, i64 7781, !15, i64 7782, !10, i64 7784, !24, i64 7788, !15, i64 7804, !15, i64 7805, !15, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !24, i64 7832, !24, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !67, i64 7880, !67, i64 7928, !67, i64 7976, !67, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !14, i64 8096, !14, i64 8100, !15, i64 8104, !14, i64 8108, !10, i64 8112, !15, i64 8116, !15, i64 8117, !15, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !68, i64 8136, !24, i64 8200, !10, i64 8216, !10, i64 8220, !14, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !69, i64 8248, !7, i64 8264, !10, i64 8280, !70, i64 8288, !6, i64 8304, !10, i64 8312, !71, i64 8320, !72, i64 8336, !23, i64 8376, !39, i64 8392, !6, i64 8408, !74, i64 8416, !76, i64 8456, !77, i64 8472, !13, i64 8488, !78, i64 8496, !82, i64 12216, !10, i64 12328, !10, i64 12332, !14, i64 12336, !14, i64 12340, !10, i64 12344, !37, i64 12348, !84, i64 12364, !14, i64 12412, !15, i64 12416, !15, i64 12417, !14, i64 12420, !14, i64 12424, !14, i64 12428, !14, i64 12432, !16, i64 12436, !16, i64 12438, !14, i64 12440, !79, i64 12448, !17, i64 12464, !13, i64 12480, !13, i64 12488, !7, i64 12496, !15, i64 12497, !14, i64 12500, !85, i64 12504, !86, i64 12520, !87, i64 12536, !88, i64 12552, !89, i64 12568, !10, i64 12584, !15, i64 12588, !90, i64 12592, !6, i64 12600, !85, i64 12608, !6, i64 12624, !6, i64 12632, !14, i64 12640, !15, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !15, i64 12660, !10, i64 12664, !91, i64 12668, !92, i64 12688, !7, i64 12720, !10, i64 13200, !10, i64 13204, !14, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !7, i64 13224}
!50 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !6, i64 152, !6, i64 160, !14, i64 168, !15, i64 172, !6, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !15, i64 197, !14, 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, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !15, i64 312, !15, i64 313, !15, i64 314, !15, i64 315, !7, i64 316, !7, i64 828, !15, i64 908, !15, i64 909, !15, i64 910, !15, i64 911, !15, i64 912, !15, i64 913, !15, i64 914, !14, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !13, i64 940, !15, i64 948, !10, i64 952, !10, i64 956, !13, 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, !14, i64 5452, !15, i64 5456, !16, i64 5458, !31, i64 5464}
!51 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !10, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !10, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!52 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !37, i64 28, !10, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!53 = !{!"double", !7, i64 0}
!54 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"long long", !7, i64 0}
!56 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!57 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!58 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!59 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !24, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!60 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !24, i64 16, !10, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!68 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!69 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI10ImGuiTableE", !73, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!73 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !75, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!75 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !31, i64 16, !79, i64 32, !79, i64 48, !15, i64 64, !10, i64 68, !14, i64 72, !80, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !10, i64 3712}
!79 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_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, !14, i64 28, !81, i64 32}
!81 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !10, i64 3588, !10, i64 3592}
!82 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !31, i64 24, !83, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !10, i64 104, !7, i64 108}
!83 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !10, i64 44}
!85 = !{!"_ZTS15ImGuiTextBuffer", !79, i64 0}
!86 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !79, i64 0}
!88 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !79, i64 0}
!89 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!90 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!91 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !10, i64 8, !10, i64 12}
!92 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !93, i64 16}
!93 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!94 = !{!49, !14, i64 5568}
!95 = !{!12, !14, i64 16}
!96 = !{!14, !14, i64 0}
!97 = !{!12, !14, i64 20}
!98 = !{!12, !10, i64 12}
!99 = !{!12, !6, i64 832}


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

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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti = external hidden unnamed_addr constant [78 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [90 x i8], align 1

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress 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: mustprogress uwtable
declare hidden <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2) local_unnamed_addr #6 {
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = load ptr, ptr @GImGui, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %16 = getelementptr inbounds i8, ptr %0, i64 464
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %17 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %17, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 472
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %19 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %19, ptr %8, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %20 = and i32 %2, 21
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %.critedge, label %22

22:                                               ; preds = %3
  %23 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %20)
  br i1 %23, label %.critedge, label %24

24:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str.188, ptr noundef nonnull @.str.3, i32 noundef 8246, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti) #9
  unreachable

.critedge:                                        ; preds = %3, %22
  %25 = and i32 %2, 42
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %.critedge2, label %27

27:                                               ; preds = %.critedge
  %28 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %25)
  br i1 %28, label %.critedge2, label %29

29:                                               ; preds = %27
  call void @__assert_fail(ptr noundef nonnull @.str.189, ptr noundef nonnull @.str.3, i32 noundef 8247, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti) #9
  unreachable

.critedge2:                                       ; preds = %.critedge, %27
  br i1 %21, label %30, label %34

30:                                               ; preds = %.critedge2
  %31 = getelementptr inbounds i8, ptr %0, i64 140
  %32 = load i8, ptr %31, align 4, !tbaa !9, !range !39, !noundef !40
  %33 = zext nneg i8 %32 to i32
  %spec.select = or disjoint i32 %33, %2
  br label %34

34:                                               ; preds = %30, %.critedge2
  %.0 = phi i32 [ %2, %.critedge2 ], [ %spec.select, %30 ]
  %35 = and i32 %.0, 42
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %43

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %0, i64 148
  %39 = load i8, ptr %38, align 4, !tbaa !41, !range !39, !noundef !40
  %40 = trunc nuw i8 %39 to i1
  %41 = select i1 %40, i32 32, i32 2
  %42 = or disjoint i32 %41, %.0
  br label %43

43:                                               ; preds = %37, %34
  %.1 = phi i32 [ %42, %37 ], [ %.0, %34 ]
  %44 = load float, ptr %1, align 4, !tbaa !42
  %45 = load float, ptr %5, align 4, !tbaa !42
  %46 = fcmp oge float %44, %45
  %47 = getelementptr inbounds i8, ptr %1, i64 8
  %48 = load float, ptr %47, align 4
  %49 = getelementptr inbounds i8, ptr %5, i64 8
  %50 = load float, ptr %49, align 4
  %51 = fcmp ole float %48, %50
  %52 = select i1 %46, i1 %51, i1 false
  %53 = getelementptr inbounds i8, ptr %1, i64 4
  %54 = load float, ptr %53, align 4, !tbaa !43
  %55 = getelementptr inbounds i8, ptr %5, i64 4
  %56 = load float, ptr %55, align 4, !tbaa !43
  %57 = fcmp oge float %54, %56
  %58 = getelementptr inbounds i8, ptr %1, i64 12
  %59 = load float, ptr %58, align 4
  %60 = getelementptr inbounds i8, ptr %5, i64 12
  %61 = load float, ptr %60, align 4
  %62 = fcmp ole float %59, %61
  %63 = select i1 %57, i1 %62, i1 false
  %64 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %65 = getelementptr inbounds i8, ptr %15, i64 5564
  %66 = load float, ptr %65, align 4, !tbaa !44
  %67 = call float @llvm.fmuladd.f32(float %66, float 2.000000e+00, float %64)
  %68 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %69 = fcmp ugt float %67, %68
  %70 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %71 = getelementptr inbounds i8, ptr %15, i64 5568
  %72 = load float, ptr %71, align 4, !tbaa !90
  %73 = call float @llvm.fmuladd.f32(float %72, float 2.000000e+00, float %70)
  %74 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %75 = fcmp ugt float %73, %74
  %76 = and i32 %.1, 1
  %.not = icmp eq i32 %76, 0
  %brmerge = select i1 %.not, i1 true, i1 %52
  br i1 %brmerge, label %91, label %77

77:                                               ; preds = %43
  %78 = load float, ptr %1, align 4, !tbaa !42
  %79 = load float, ptr %5, align 4, !tbaa !42
  %80 = fcmp olt float %78, %79
  %brmerge98 = select i1 %80, i1 true, i1 %69
  br i1 %brmerge98, label %81, label %84

81:                                               ; preds = %77
  %82 = load float, ptr %65, align 4, !tbaa !44
  %83 = fsub float %78, %82
  br label %.sink.split

84:                                               ; preds = %77
  %85 = load float, ptr %47, align 4, !tbaa !91
  %86 = load float, ptr %49, align 4, !tbaa !91
  %87 = fcmp ult float %85, %86
  br i1 %87, label %106, label %88

88:                                               ; preds = %84
  %89 = load float, ptr %65, align 4, !tbaa !44
  %90 = fadd float %85, %89
  br label %.sink.split

91:                                               ; preds = %43
  %92 = and i32 %.1, 4
  %.not88 = icmp eq i32 %92, 0
  %brmerge99 = select i1 %.not88, i1 true, i1 %52
  %93 = and i32 %.1, 16
  %.not89 = icmp eq i32 %93, 0
  %or.cond = select i1 %brmerge99, i1 %.not89, i1 false
  br i1 %or.cond, label %106, label %94

94:                                               ; preds = %91
  %95 = load float, ptr %1, align 4, !tbaa !42
  br i1 %69, label %.sink.split, label %96

96:                                               ; preds = %94
  %97 = load float, ptr %47, align 4, !tbaa !91
  %98 = fadd float %95, %97
  %99 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %100 = fsub float %98, %99
  %101 = fmul float %100, 5.000000e-01
  %102 = call noundef float @_ZL7ImFloorf(float noundef %101)
  br label %.sink.split

.sink.split:                                      ; preds = %96, %94, %88, %81
  %.sink106 = phi float [ %83, %81 ], [ %90, %88 ], [ %102, %96 ], [ %95, %94 ]
  %.sink105 = phi float [ 0.000000e+00, %81 ], [ 1.000000e+00, %88 ], [ 0.000000e+00, %96 ], [ 0.000000e+00, %94 ]
  %103 = getelementptr inbounds i8, ptr %0, i64 16
  %104 = load float, ptr %103, align 8, !tbaa !92
  %105 = fsub float %.sink106, %104
  call void @_ZN5ImGui17SetScrollFromPosXEP11ImGuiWindowff(ptr noundef %0, float noundef %105, float noundef %.sink105)
  br label %106

106:                                              ; preds = %.sink.split, %91, %84
  %107 = and i32 %.1, 2
  %.not90 = icmp eq i32 %107, 0
  %brmerge100 = select i1 %.not90, i1 true, i1 %63
  br i1 %brmerge100, label %122, label %108

108:                                              ; preds = %106
  %109 = load float, ptr %53, align 4, !tbaa !43
  %110 = load float, ptr %55, align 4, !tbaa !43
  %111 = fcmp olt float %109, %110
  %brmerge102 = select i1 %111, i1 true, i1 %75
  br i1 %brmerge102, label %112, label %115

112:                                              ; preds = %108
  %113 = load float, ptr %71, align 4, !tbaa !90
  %114 = fsub float %109, %113
  br label %.sink.split108

115:                                              ; preds = %108
  %116 = load float, ptr %58, align 4, !tbaa !93
  %117 = load float, ptr %60, align 4, !tbaa !93
  %118 = fcmp ult float %116, %117
  br i1 %118, label %137, label %119

119:                                              ; preds = %115
  %120 = load float, ptr %71, align 4, !tbaa !90
  %121 = fadd float %116, %120
  br label %.sink.split108

122:                                              ; preds = %106
  %123 = and i32 %.1, 8
  %.not91 = icmp eq i32 %123, 0
  %brmerge103 = select i1 %.not91, i1 true, i1 %63
  %124 = and i32 %.1, 32
  %.not92 = icmp eq i32 %124, 0
  %or.cond104 = select i1 %brmerge103, i1 %.not92, i1 false
  br i1 %or.cond104, label %137, label %125

125:                                              ; preds = %122
  %126 = load float, ptr %53, align 4, !tbaa !43
  br i1 %75, label %.sink.split108, label %127

127:                                              ; preds = %125
  %128 = load float, ptr %58, align 4, !tbaa !93
  %129 = fadd float %126, %128
  %130 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %131 = fsub float %129, %130
  %132 = fmul float %131, 5.000000e-01
  %133 = call noundef float @_ZL7ImFloorf(float noundef %132)
  br label %.sink.split108

.sink.split108:                                   ; preds = %127, %125, %119, %112
  %.sink110 = phi float [ %114, %112 ], [ %121, %119 ], [ %133, %127 ], [ %126, %125 ]
  %.sink109 = phi float [ 0.000000e+00, %112 ], [ 1.000000e+00, %119 ], [ 0.000000e+00, %127 ], [ 0.000000e+00, %125 ]
  %134 = getelementptr inbounds i8, ptr %0, i64 20
  %135 = load float, ptr %134, align 4, !tbaa !94
  %136 = fsub float %.sink110, %135
  call void @_ZN5ImGui17SetScrollFromPosYEP11ImGuiWindowff(ptr noundef %0, float noundef %136, float noundef %.sink109)
  br label %137

137:                                              ; preds = %.sink.split108, %122, %115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %138 = call <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef %0)
  store <2 x float> %138, ptr %10, align 8
  %139 = getelementptr inbounds i8, ptr %0, i64 92
  %140 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %139)
  store <2 x float> %140, ptr %4, align 8
  %141 = and i32 %.1, 64
  %.not93 = icmp eq i32 %141, 0
  br i1 %.not93, label %142, label %159

142:                                              ; preds = %137
  %143 = getelementptr inbounds i8, ptr %0, i64 12
  %144 = load i32, ptr %143, align 4, !tbaa !95
  %145 = and i32 %144, 16777216
  %.not94 = icmp eq i32 %145, 0
  br i1 %.not94, label %159, label %146

146:                                              ; preds = %142
  %147 = and i32 %2, 20
  %.not95 = icmp eq i32 %147, 0
  %148 = and i32 %2, -22
  %149 = or disjoint i32 %148, 1
  %.082 = select i1 %.not95, i32 %2, i32 %149
  %150 = and i32 %.082, 40
  %.not96 = icmp eq i32 %150, 0
  %151 = and i32 %.082, -63
  %152 = or disjoint i32 %151, 2
  %.183 = select i1 %.not96, i32 %.082, i32 %152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %153 = getelementptr inbounds i8, ptr %0, i64 832
  %154 = load ptr, ptr %153, align 8, !tbaa !96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %155 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %155, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %156 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %156, ptr %14, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14)
  %157 = call <2 x float> @_ZN5ImGui14ScrollToRectExEP11ImGuiWindowRK6ImRecti(ptr noundef %154, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %.183)
  store <2 x float> %157, ptr %11, align 8
  %158 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %.pre = load <2 x float>, ptr %4, align 8
  br label %159

159:                                              ; preds = %146, %142, %137
  %160 = phi <2 x float> [ %.pre, %146 ], [ %140, %142 ], [ %140, %137 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  ret <2 x float> %160
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17SetScrollFromPosYEP11ImGuiWindowff(ptr noundef, float noundef, float noundef) local_unnamed_addr #7

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass