; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/juce_gui_basics.ll (ZN4juce8TreeView11moveByPagesEi)

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

%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197)) #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8TreeView15moveSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(313), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce8TreeView11moveByPagesEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.juce::Rectangle", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.juce::Rectangle", align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %15 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %16 = call noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313) %15, i32 noundef 0) #4
  store ptr %16, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %72

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %6, ptr noundef nonnull align 8 dereferenceable(73) %20, i1 noundef zeroext false) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %21 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #4
  %22 = load i32, ptr %4, align 4, !tbaa !9
  %23 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %15) #4
  %24 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #4
  %25 = sub nsw i32 %23, %24
  %26 = mul nsw i32 %22, %25
  %27 = add nsw i32 %21, %26
  store i32 %27, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %28) #4
  store i32 %29, ptr %8, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %70, %19
  %31 = load i32, ptr %4, align 4, !tbaa !9
  invoke void @_ZN4juce8TreeView15moveSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(313) %15, i32 noundef %31)
          to label %32 unwind label %37

32:                                               ; preds = %30
  %33 = call noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313) %15, i32 noundef 0) #4
  store ptr %33, ptr %5, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %41

36:                                               ; preds = %32
  br label %71

37:                                               ; preds = %30
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %9, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %73

41:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %12, ptr noundef nonnull align 8 dereferenceable(73) %42, i1 noundef zeroext false) #4
  %43 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %12) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  store i32 %43, ptr %11, align 4, !tbaa !9
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = icmp slt i32 %44, 0
  br i1 %45, label %46, label %50

46:                                               ; preds = %41
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = icmp sle i32 %47, %48
  br i1 %49, label %57, label %50

50:                                               ; preds = %46, %41
  %51 = load i32, ptr %4, align 4, !tbaa !9
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %53, label %58

53:                                               ; preds = %50
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !9
  %56 = icmp sge i32 %54, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %53, %46
  store i32 2, ptr %13, align 4
  br label %68

58:                                               ; preds = %53, %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %59) #4
  store i32 %60, ptr %14, align 4, !tbaa !9
  %61 = load i32, ptr %14, align 4, !tbaa !9
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = icmp eq i32 %61, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %58
  store i32 2, ptr %13, align 4
  br label %67

65:                                               ; preds = %58
  %66 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %66, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %13, align 4
  br label %67

67:                                               ; preds = %65, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %68

68:                                               ; preds = %67, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %69 = load i32, ptr %13, align 4
  switch i32 %69, label %78 [
    i32 0, label %70
    i32 2, label %71
  ]

70:                                               ; preds = %68
  br label %30, !llvm.loop !11

71:                                               ; preds = %68, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  br label %72

72:                                               ; preds = %71, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void

73:                                               ; preds = %37
  %74 = load ptr, ptr %9, align 8
  %75 = load i32, ptr %10, align 4
  %76 = insertvalue { ptr, i32 } poison, ptr %74, 0
  %77 = insertvalue { ptr, i32 } %76, i32 %75, 1
  resume { ptr, i32 } %77

78:                                               ; preds = %68
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(73), i1 noundef zeroext) #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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

%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8TreeView15moveSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(313), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce8TreeView11moveByPagesEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Rectangle", align 4
  %4 = alloca %"class.juce::Rectangle", align 4
  %5 = tail call noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef 0) #4
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %42, label %6

6:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  call void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %3, ptr noundef nonnull align 8 dereferenceable(73) %5, i1 noundef zeroext false) #4
  %7 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %3) #4
  %8 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  %9 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %3) #4
  %10 = sub nsw i32 %8, %9
  %11 = mul nsw i32 %10, %1
  %12 = add nsw i32 %11, %7
  %13 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %5) #4
  %14 = icmp sgt i32 %1, -1
  br i1 %14, label %.split.us, label %.split.split.us

.split.us:                                        ; preds = %6
  %15 = icmp eq i32 %1, 0
  br i1 %15, label %.split.us.split.us, label %.split.us.split

.split.us.split.us:                               ; preds = %.split.us, %19
  %.020.us.us = phi i32 [ %21, %19 ], [ %13, %.split.us ]
  invoke void @_ZN4juce8TreeView15moveSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef %1)
          to label %16 unwind label %.split32.us.split.us

16:                                               ; preds = %.split.us.split.us
  %17 = call noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef 0) #4
  %18 = icmp eq ptr %17, null
  br i1 %18, label %.thread, label %19

19:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %4, ptr noundef nonnull align 8 dereferenceable(73) %17, i1 noundef zeroext false) #4
  %20 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %4) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  %21 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %17) #4
  %22 = icmp eq i32 %21, %.020.us.us
  br i1 %22, label %.thread, label %.split.us.split.us

.split32.us.split.us:                             ; preds = %.split.us.split.us
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %.split32.us

.split.us.split:                                  ; preds = %.split.us, %29
  %.020.us = phi i32 [ %30, %29 ], [ %13, %.split.us ]
  invoke void @_ZN4juce8TreeView15moveSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef %1)
          to label %24 unwind label %.split32.us.split

24:                                               ; preds = %.split.us.split
  %25 = call noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef 0) #4
  %26 = icmp eq ptr %25, null
  br i1 %26, label %.thread, label %27

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %4, ptr noundef nonnull align 8 dereferenceable(73) %25, i1 noundef zeroext false) #4
  %28 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %4) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  %.not26.us = icmp slt i32 %28, %12
  br i1 %.not26.us, label %29, label %.thread

29:                                               ; preds = %27
  %30 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %25) #4
  %31 = icmp eq i32 %30, %.020.us
  br i1 %31, label %.thread, label %.split.us.split

.split32.us.split:                                ; preds = %.split.us.split
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %.split32.us

.split.split.us:                                  ; preds = %6, %38
  %.020.us33 = phi i32 [ %39, %38 ], [ %13, %6 ]
  invoke void @_ZN4juce8TreeView15moveSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef %1)
          to label %33 unwind label %.split32.split.us

33:                                               ; preds = %.split.split.us
  %34 = call noundef ptr @_ZNK4juce8TreeView15getSelectedItemEi(ptr noundef nonnull align 8 dereferenceable(313) %0, i32 noundef 0) #4
  %35 = icmp eq ptr %34, null
  br i1 %35, label %.thread, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %4, ptr noundef nonnull align 8 dereferenceable(73) %34, i1 noundef zeroext false) #4
  %37 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %4) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  %.not25.us = icmp sgt i32 %37, %12
  br i1 %.not25.us, label %38, label %.thread

38:                                               ; preds = %36
  %39 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %34) #4
  %40 = icmp eq i32 %39, %.020.us33
  br i1 %40, label %.thread, label %.split.split.us

.split32.split.us:                                ; preds = %.split.split.us
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %.split32.us

.split32.us:                                      ; preds = %.split32.us.split, %.split32.us.split.us, %.split32.split.us
  %.us-phi = phi { ptr, i32 } [ %41, %.split32.split.us ], [ %32, %.split32.us.split ], [ %23, %.split32.us.split.us ]
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  resume { ptr, i32 } %.us-phi

.thread:                                          ; preds = %38, %36, %33, %29, %27, %24, %19, %16
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  br label %42

42:                                               ; preds = %.thread, %2
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce12TreeViewItem15getItemPositionEb(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(73), i1 noundef zeroext) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { 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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass