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

; 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Graphics::ScopedSaveState" = type { ptr }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Rectangle.148" = type { %"class.juce::Point.35", float, float }
%"class.juce::TreeViewItem" = type <{ ptr, ptr, ptr, %"class.juce::OwnedArray.338", i32, i32, i32, i32, i32, i32, i8, [7 x i8] }>
%"class.juce::OwnedArray.338" = type { %"class.juce::ArrayAllocationBase.339", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.339" = type <{ %"class.juce::HeapBlock.340", i32, [4 x i8] }>
%"class.juce::HeapBlock.340" = type { ptr }
%"class.juce::TreeView" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::FileDragAndDropTarget", %"class.juce::DragAndDropTarget", %"class.juce::ScopedPointer.283", %"class.juce::CriticalSection", ptr, %"class.juce::ScopedPointer.284", %"class.juce::ScopedPointer.285", i32, i8, i8, i8, i8, i8, [7 x i8] }>
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::FileDragAndDropTarget" = type { ptr }
%"class.juce::DragAndDropTarget" = type { ptr }
%"class.juce::ScopedPointer.283" = type { ptr }
%"class.juce::CriticalSection" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.juce::ScopedPointer.284" = type { ptr }
%"class.juce::ScopedPointer.285" = type { ptr }

@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1

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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

declare void @_ZNK4juce8Graphics13getClipBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(17)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i1 noundef zeroext) #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #5

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

declare void @_ZN4juce8Graphics15ScopedSaveStateC1ERS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

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

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

declare void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #3

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

declare noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

declare void @_ZN4juce8Graphics9setOriginEii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_8TreeView12TreeViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce8TreeView12TreeViewport14getContentCompEv(ptr noundef nonnull align 8 dereferenceable(1228)) #0 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12TreeViewItem6isOpenEv(ptr noundef nonnull align 8 dereferenceable(73)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12TreeViewItem16paintRecursivelyERNS_8GraphicsEi(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.juce::Graphics::ScopedSaveState", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca i1, align 1
  %15 = alloca i1, align 1
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca i8, align 1
  %21 = alloca %"class.juce::Line", align 4
  %22 = alloca %"class.juce::Line", align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.juce::Line", align 4
  %26 = alloca %"class.juce::Rectangle.148", align 4
  %27 = alloca %"class.juce::Colour", align 1
  %28 = alloca %"class.juce::Rectangle", align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.juce::Graphics::ScopedSaveState", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %34 = load ptr, ptr %4, align 8
  br label %35

35:                                               ; preds = %3
  br label %36

36:                                               ; preds = %35
  %37 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %41

40:                                               ; preds = %36
  br label %408

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %42 = call noundef i32 @_ZNK4juce12TreeViewItem10getIndentXEv(ptr noundef nonnull align 8 dereferenceable(73) %34) #6
  store i32 %42, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %43 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 7
  %44 = load i32, ptr %43, align 4, !tbaa !17
  %45 = icmp slt i32 %44, 0
  br i1 %45, label %52, label %46

46:                                               ; preds = %41
  %47 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 10
  %48 = load i8, ptr %47, align 8
  %49 = lshr i8 %48, 5
  %50 = and i8 %49, 1
  %51 = trunc i8 %50 to i1
  br i1 %51, label %52, label %56

52:                                               ; preds = %46, %41
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = load i32, ptr %7, align 4, !tbaa !9
  %55 = sub nsw i32 %53, %54
  br label %59

56:                                               ; preds = %46
  %57 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 7
  %58 = load i32, ptr %57, align 4, !tbaa !17
  br label %59

59:                                               ; preds = %56, %52
  %60 = phi i32 [ %55, %52 ], [ %58, %56 ]
  store i32 %60, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce8Graphics15ScopedSaveStateC1ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(17) %61)
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZN4juce8Graphics9setOriginEii(ptr noundef nonnull align 8 dereferenceable(17) %62, i32 noundef %63, i32 noundef 0)
          to label %64 unwind label %102

64:                                               ; preds = %59
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 10
  %67 = load i8, ptr %66, align 8
  %68 = lshr i8 %67, 4
  %69 = and i8 %68, 1
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %74

71:                                               ; preds = %64
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = sub nsw i32 0, %72
  br label %75

74:                                               ; preds = %64
  br label %75

75:                                               ; preds = %74, %71
  %76 = phi i32 [ %73, %71 ], [ 0, %74 ]
  %77 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 10
  %78 = load i8, ptr %77, align 8
  %79 = lshr i8 %78, 4
  %80 = and i8 %79, 1
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %86

82:                                               ; preds = %75
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = add nsw i32 %83, %84
  br label %88

86:                                               ; preds = %75
  %87 = load i32, ptr %8, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %86, %82
  %89 = phi i32 [ %85, %82 ], [ %87, %86 ]
  %90 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 5
  %91 = load i32, ptr %90, align 4, !tbaa !18
  %92 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %65, i32 noundef %76, i32 noundef 0, i32 noundef %89, i32 noundef %91)
          to label %93 unwind label %102

93:                                               ; preds = %88
  br i1 %92, label %94, label %166

94:                                               ; preds = %93
  %95 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem10isSelectedEv(ptr noundef nonnull align 8 dereferenceable(73) %34) #6
  br i1 %95, label %96, label %110

96:                                               ; preds = %94
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull align 8 dereferenceable(197) %99, i32 noundef 16778499, i1 noundef zeroext false)
          to label %100 unwind label %102

100:                                              ; preds = %96
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %97, ptr noundef %12)
          to label %101 unwind label %106

101:                                              ; preds = %100
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  br label %146

102:                                              ; preds = %158, %115, %96, %88, %59
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %10, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %11, align 4
  br label %224

106:                                              ; preds = %100
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %10, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %11, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  br label %224

110:                                              ; preds = %94
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %34) #6
  %113 = srem i32 %112, 2
  %114 = icmp eq i32 %113, 0
  store i1 false, ptr %14, align 1
  store i1 false, ptr %15, align 1
  br i1 %114, label %115, label %119

115:                                              ; preds = %110
  %116 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 8 dereferenceable(197) %117, i32 noundef 16778500, i1 noundef zeroext false)
          to label %118 unwind label %102

118:                                              ; preds = %115
  store i1 true, ptr %14, align 1
  br label %123

119:                                              ; preds = %110
  %120 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 8 dereferenceable(197) %121, i32 noundef 16778501, i1 noundef zeroext false)
          to label %122 unwind label %131

122:                                              ; preds = %119
  store i1 true, ptr %15, align 1
  br label %123

123:                                              ; preds = %122, %118
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %111, ptr noundef %13)
          to label %124 unwind label %135

124:                                              ; preds = %123
  %125 = load i1, ptr %15, align 1
  br i1 %125, label %126, label %127

126:                                              ; preds = %124
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %127

127:                                              ; preds = %126, %124
  %128 = load i1, ptr %14, align 1
  br i1 %128, label %129, label %130

129:                                              ; preds = %127
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %130

130:                                              ; preds = %129, %127
  br label %146

131:                                              ; preds = %119
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %10, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %11, align 4
  br label %142

135:                                              ; preds = %123
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %10, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %11, align 4
  %139 = load i1, ptr %15, align 1
  br i1 %139, label %140, label %141

140:                                              ; preds = %135
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %141

141:                                              ; preds = %140, %135
  br label %142

142:                                              ; preds = %141, %131
  %143 = load i1, ptr %14, align 1
  br i1 %143, label %144, label %145

144:                                              ; preds = %142
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %145

145:                                              ; preds = %144, %142
  br label %224

146:                                              ; preds = %130, %101
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 7
  %149 = load i32, ptr %148, align 4, !tbaa !17
  %150 = icmp slt i32 %149, 0
  br i1 %150, label %151, label %155

151:                                              ; preds = %146
  %152 = load i32, ptr %6, align 4, !tbaa !9
  %153 = load i32, ptr %7, align 4, !tbaa !9
  %154 = sub nsw i32 %152, %153
  br label %158

155:                                              ; preds = %146
  %156 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 7
  %157 = load i32, ptr %156, align 4, !tbaa !17
  br label %158

158:                                              ; preds = %155, %151
  %159 = phi i32 [ %154, %151 ], [ %157, %155 ]
  %160 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 5
  %161 = load i32, ptr %160, align 4, !tbaa !18
  %162 = load ptr, ptr %34, align 8, !tbaa !19
  %163 = getelementptr inbounds ptr, ptr %162, i64 9
  %164 = load ptr, ptr %163, align 8
  invoke void %164(ptr noundef nonnull align 8 dereferenceable(73) %34, ptr noundef nonnull align 8 dereferenceable(17) %147, i32 noundef %159, i32 noundef %161)
          to label %165 unwind label %102

165:                                              ; preds = %158
  br label %166

166:                                              ; preds = %165, %93
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %167 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 5
  %168 = load i32, ptr %167, align 4, !tbaa !18
  %169 = sitofp i32 %168 to float
  %170 = fmul float %169, 5.000000e-01
  store float %170, ptr %16, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %171 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %172 = load ptr, ptr %171, align 8, !tbaa !11
  %173 = call noundef i32 @_ZN4juce8TreeView13getIndentSizeEv(ptr noundef nonnull align 8 dereferenceable(313) %172) #6
  store i32 %173, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %174 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %175 = load ptr, ptr %174, align 8, !tbaa !11
  %176 = getelementptr inbounds %"class.juce::TreeView", ptr %175, i32 0, i32 13
  %177 = load i8, ptr %176, align 2, !tbaa !23, !range !58, !noundef !59
  %178 = trunc i8 %177 to i1
  %179 = call noundef i32 @_ZN4juce15TreeViewHelpersL14calculateDepthEPKNS_12TreeViewItemEb(ptr noundef %34, i1 noundef zeroext %178) #6
  store i32 %179, ptr %18, align 4, !tbaa !9
  %180 = load i32, ptr %18, align 4, !tbaa !9
  %181 = icmp sge i32 %180, 0
  br i1 %181, label %182, label %338

182:                                              ; preds = %166
  %183 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %184 = load ptr, ptr %183, align 8, !tbaa !11
  %185 = getelementptr inbounds %"class.juce::TreeView", ptr %184, i32 0, i32 15
  %186 = load i8, ptr %185, align 8, !tbaa !60, !range !58, !noundef !59
  %187 = trunc i8 %186 to i1
  br i1 %187, label %188, label %338

188:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %189 = load i32, ptr %18, align 4, !tbaa !9
  %190 = sitofp i32 %189 to float
  %191 = fadd float %190, 5.000000e-01
  %192 = load i32, ptr %17, align 4, !tbaa !9
  %193 = sitofp i32 %192 to float
  %194 = fmul float %191, %193
  store float %194, ptr %19, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %195 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 2
  %196 = load ptr, ptr %195, align 8, !tbaa !61
  %197 = icmp ne ptr %196, null
  br i1 %197, label %198, label %202

198:                                              ; preds = %188
  %199 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 2
  %200 = load ptr, ptr %199, align 8, !tbaa !61
  %201 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73) %200)
  br label %202

202:                                              ; preds = %198, %188
  %203 = phi i1 [ false, %188 ], [ %201, %198 ]
  %204 = zext i1 %203 to i8
  store i8 %204, ptr %20, align 1, !tbaa !62
  %205 = load i8, ptr %20, align 1, !tbaa !62, !range !58, !noundef !59
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %229

207:                                              ; preds = %202
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %209 = load float, ptr %19, align 4, !tbaa !21
  %210 = load float, ptr %19, align 4, !tbaa !21
  %211 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem16isLastOfSiblingsEv(ptr noundef nonnull align 8 dereferenceable(73) %34) #6
  br i1 %211, label %212, label %214

212:                                              ; preds = %207
  %213 = load float, ptr %16, align 4, !tbaa !21
  br label %218

214:                                              ; preds = %207
  %215 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 5
  %216 = load i32, ptr %215, align 4, !tbaa !18
  %217 = sitofp i32 %216 to float
  br label %218

218:                                              ; preds = %214, %212
  %219 = phi float [ %213, %212 ], [ %217, %214 ]
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef %209, float noundef 0.000000e+00, float noundef %210, float noundef %219) #6
  %220 = load ptr, ptr %34, align 8, !tbaa !19
  %221 = getelementptr inbounds ptr, ptr %220, i64 12
  %222 = load ptr, ptr %221, align 8
  invoke void %222(ptr noundef nonnull align 8 dereferenceable(73) %34, ptr noundef nonnull align 8 dereferenceable(17) %208, ptr noundef nonnull align 4 dereferenceable(16) %21)
          to label %223 unwind label %225

223:                                              ; preds = %218
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %229

224:                                              ; preds = %145, %106, %102
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %410

225:                                              ; preds = %218
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %10, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %11, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %337

229:                                              ; preds = %223, %202
  %230 = load i8, ptr %20, align 1, !tbaa !62, !range !58, !noundef !59
  %231 = trunc i8 %230 to i1
  br i1 %231, label %238, label %232

232:                                              ; preds = %229
  %233 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 2
  %234 = load ptr, ptr %233, align 8, !tbaa !61
  %235 = icmp eq ptr %234, null
  br i1 %235, label %236, label %256

236:                                              ; preds = %232
  %237 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73) %34)
  br i1 %237, label %238, label %256

238:                                              ; preds = %236, %229
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %240 = load float, ptr %19, align 4, !tbaa !21
  %241 = load float, ptr %16, align 4, !tbaa !21
  %242 = load float, ptr %19, align 4, !tbaa !21
  %243 = load i32, ptr %17, align 4, !tbaa !9
  %244 = sdiv i32 %243, 2
  %245 = sitofp i32 %244 to float
  %246 = fadd float %242, %245
  %247 = load float, ptr %16, align 4, !tbaa !21
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef %240, float noundef %241, float noundef %246, float noundef %247) #6
  %248 = load ptr, ptr %34, align 8, !tbaa !19
  %249 = getelementptr inbounds ptr, ptr %248, i64 11
  %250 = load ptr, ptr %249, align 8
  invoke void %250(ptr noundef nonnull align 8 dereferenceable(73) %34, ptr noundef nonnull align 8 dereferenceable(17) %239, ptr noundef nonnull align 4 dereferenceable(16) %22)
          to label %251 unwind label %252

251:                                              ; preds = %238
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %256

252:                                              ; preds = %238
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %10, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %11, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %337

256:                                              ; preds = %251, %236, %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %257 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 2
  %258 = load ptr, ptr %257, align 8, !tbaa !61
  store ptr %258, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %259 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %259, ptr %24, align 4, !tbaa !9
  br label %260

260:                                              ; preds = %302, %256
  %261 = load ptr, ptr %23, align 8, !tbaa !5
  %262 = icmp ne ptr %261, null
  br i1 %262, label %263, label %267

263:                                              ; preds = %260
  %264 = load i32, ptr %24, align 4, !tbaa !9
  %265 = add nsw i32 %264, -1
  store i32 %265, ptr %24, align 4, !tbaa !9
  %266 = icmp sge i32 %265, 0
  br label %267

267:                                              ; preds = %263, %260
  %268 = phi i1 [ false, %260 ], [ %266, %263 ]
  br i1 %268, label %269, label %306

269:                                              ; preds = %267
  %270 = load i32, ptr %17, align 4, !tbaa !9
  %271 = sitofp i32 %270 to float
  %272 = load float, ptr %19, align 4, !tbaa !21
  %273 = fsub float %272, %271
  store float %273, ptr %19, align 4, !tbaa !21
  %274 = load ptr, ptr %23, align 8, !tbaa !5
  %275 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %274, i32 0, i32 2
  %276 = load ptr, ptr %275, align 8, !tbaa !61
  %277 = icmp eq ptr %276, null
  br i1 %277, label %283, label %278

278:                                              ; preds = %269
  %279 = load ptr, ptr %23, align 8, !tbaa !5
  %280 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %279, i32 0, i32 2
  %281 = load ptr, ptr %280, align 8, !tbaa !61
  %282 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73) %281)
  br i1 %282, label %283, label %302

283:                                              ; preds = %278, %269
  %284 = load ptr, ptr %23, align 8, !tbaa !5
  %285 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem16isLastOfSiblingsEv(ptr noundef nonnull align 8 dereferenceable(73) %284) #6
  br i1 %285, label %302, label %286

286:                                              ; preds = %283
  %287 = load ptr, ptr %23, align 8, !tbaa !5
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %289 = load float, ptr %19, align 4, !tbaa !21
  %290 = load float, ptr %19, align 4, !tbaa !21
  %291 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 5
  %292 = load i32, ptr %291, align 4, !tbaa !18
  %293 = sitofp i32 %292 to float
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef %289, float noundef 0.000000e+00, float noundef %290, float noundef %293) #6
  %294 = load ptr, ptr %287, align 8, !tbaa !19
  %295 = getelementptr inbounds ptr, ptr %294, i64 12
  %296 = load ptr, ptr %295, align 8
  invoke void %296(ptr noundef nonnull align 8 dereferenceable(73) %287, ptr noundef nonnull align 8 dereferenceable(17) %288, ptr noundef nonnull align 4 dereferenceable(16) %25)
          to label %297 unwind label %298

297:                                              ; preds = %286
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  br label %302

298:                                              ; preds = %286
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %10, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %11, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %337

302:                                              ; preds = %297, %283, %278
  %303 = load ptr, ptr %23, align 8, !tbaa !5
  %304 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %303, i32 0, i32 2
  %305 = load ptr, ptr %304, align 8, !tbaa !61
  store ptr %305, ptr %23, align 8, !tbaa !5
  br label %260, !llvm.loop !63

306:                                              ; preds = %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  %307 = load ptr, ptr %34, align 8, !tbaa !19
  %308 = getelementptr inbounds ptr, ptr %307, i64 2
  %309 = load ptr, ptr %308, align 8
  %310 = call noundef zeroext i1 %309(ptr noundef nonnull align 8 dereferenceable(73) %34)
  br i1 %310, label %311, label %336

311:                                              ; preds = %306
  %312 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %313 = load i32, ptr %18, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = mul nsw i32 %313, %314
  %316 = sitofp i32 %315 to float
  %317 = load i32, ptr %17, align 4, !tbaa !9
  %318 = sitofp i32 %317 to float
  %319 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 5
  %320 = load i32, ptr %319, align 4, !tbaa !18
  %321 = sitofp i32 %320 to float
  call void @_ZN4juce9RectangleIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %26, float noundef %316, float noundef 0.000000e+00, float noundef %318, float noundef %321) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %27, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE) #6
  %322 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 1
  %323 = load ptr, ptr %322, align 8, !tbaa !11
  %324 = getelementptr inbounds %"class.juce::TreeView", ptr %323, i32 0, i32 5
  %325 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8TreeView12TreeViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %324) #6
  %326 = call noundef ptr @_ZNK4juce8TreeView12TreeViewport14getContentCompEv(ptr noundef nonnull align 8 dereferenceable(1228) %325) #6
  %327 = call noundef zeroext i1 @_ZNK4juce8TreeView16ContentComponent17isMouseOverButtonEPNS_12TreeViewItemE(ptr noundef nonnull align 8 dereferenceable(266) %326, ptr noundef %34) #6
  %328 = load ptr, ptr %34, align 8, !tbaa !19
  %329 = getelementptr inbounds ptr, ptr %328, i64 10
  %330 = load ptr, ptr %329, align 8
  invoke void %330(ptr noundef nonnull align 8 dereferenceable(73) %34, ptr noundef nonnull align 8 dereferenceable(17) %312, ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef %27, i1 noundef zeroext %327)
          to label %331 unwind label %332

331:                                              ; preds = %311
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %336

332:                                              ; preds = %311
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %10, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %11, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %337

336:                                              ; preds = %331, %306
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %338

337:                                              ; preds = %332, %298, %252, %225
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %409

338:                                              ; preds = %336, %182, %166
  %339 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem6isOpenEv(ptr noundef nonnull align 8 dereferenceable(73) %34) #6
  br i1 %339, label %340, label %407

340:                                              ; preds = %338
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK4juce8Graphics13getClipBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %28, ptr noundef nonnull align 8 dereferenceable(17) %341)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %342

342:                                              ; preds = %402, %340
  %343 = load i32, ptr %29, align 4, !tbaa !9
  %344 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 3
  %345 = call noundef i32 @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %344) #6
  %346 = icmp slt i32 %343, %345
  br i1 %346, label %348, label %347

347:                                              ; preds = %342
  store i32 6, ptr %30, align 4
  br label %405

348:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %349 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 3
  %350 = load i32, ptr %29, align 4, !tbaa !9
  %351 = call noundef ptr @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %349, i32 noundef %350) #6
  store ptr %351, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %352 = load ptr, ptr %31, align 8, !tbaa !5
  %353 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %352, i32 0, i32 4
  %354 = load i32, ptr %353, align 8, !tbaa !65
  %355 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %34, i32 0, i32 4
  %356 = load i32, ptr %355, align 8, !tbaa !65
  %357 = sub nsw i32 %354, %356
  store i32 %357, ptr %32, align 4, !tbaa !9
  %358 = load i32, ptr %32, align 4, !tbaa !9
  %359 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %28) #6
  %360 = icmp sge i32 %358, %359
  br i1 %360, label %361, label %362

361:                                              ; preds = %348
  store i32 6, ptr %30, align 4
  br label %399

362:                                              ; preds = %348
  %363 = load i32, ptr %32, align 4, !tbaa !9
  %364 = load ptr, ptr %31, align 8, !tbaa !5
  %365 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %364, i32 0, i32 6
  %366 = load i32, ptr %365, align 8, !tbaa !66
  %367 = add nsw i32 %363, %366
  %368 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %28) #6
  %369 = icmp sge i32 %367, %368
  br i1 %369, label %370, label %398

370:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %371 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4juce8Graphics15ScopedSaveStateC1ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(17) %371)
          to label %372 unwind label %388

372:                                              ; preds = %370
  %373 = load ptr, ptr %5, align 8, !tbaa !5
  %374 = load i32, ptr %32, align 4, !tbaa !9
  invoke void @_ZN4juce8Graphics9setOriginEii(ptr noundef nonnull align 8 dereferenceable(17) %373, i32 noundef 0, i32 noundef %374)
          to label %375 unwind label %392

375:                                              ; preds = %372
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = load i32, ptr %6, align 4, !tbaa !9
  %378 = load ptr, ptr %31, align 8, !tbaa !5
  %379 = getelementptr inbounds %"class.juce::TreeViewItem", ptr %378, i32 0, i32 6
  %380 = load i32, ptr %379, align 8, !tbaa !66
  %381 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %376, i32 noundef 0, i32 noundef 0, i32 noundef %377, i32 noundef %380)
          to label %382 unwind label %392

382:                                              ; preds = %375
  br i1 %381, label %383, label %396

383:                                              ; preds = %382
  %384 = load ptr, ptr %31, align 8, !tbaa !5
  %385 = load ptr, ptr %5, align 8, !tbaa !5
  %386 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_ZN4juce12TreeViewItem16paintRecursivelyERNS_8GraphicsEi(ptr noundef nonnull align 8 dereferenceable(73) %384, ptr noundef nonnull align 8 dereferenceable(17) %385, i32 noundef %386)
          to label %387 unwind label %392

387:                                              ; preds = %383
  br label %396

388:                                              ; preds = %370
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %10, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %11, align 4
  br label %397

392:                                              ; preds = %383, %375, %372
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %10, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %11, align 4
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br label %397

396:                                              ; preds = %387, %382
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %398

397:                                              ; preds = %392, %388
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  br label %409

398:                                              ; preds = %396, %362
  store i32 0, ptr %30, align 4
  br label %399

399:                                              ; preds = %398, %361
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  %400 = load i32, ptr %30, align 4
  switch i32 %400, label %405 [
    i32 0, label %401
  ]

401:                                              ; preds = %399
  br label %402

402:                                              ; preds = %401
  %403 = load i32, ptr %29, align 4, !tbaa !9
  %404 = add nsw i32 %403, 1
  store i32 %404, ptr %29, align 4, !tbaa !9
  br label %342, !llvm.loop !67

405:                                              ; preds = %399, %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %406

406:                                              ; preds = %405
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  br label %407

407:                                              ; preds = %406, %338
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %408

408:                                              ; preds = %407, %40
  ret void

409:                                              ; preds = %397, %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %410

410:                                              ; preds = %409, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %411

411:                                              ; preds = %410
  %412 = load ptr, ptr %10, align 8
  %413 = load i32, ptr %11, align 4
  %414 = insertvalue { ptr, i32 } poison, ptr %412, 0
  %415 = insertvalue { ptr, i32 } %414, i32 %413, 1
  resume { ptr, i32 } %415
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4juce15TreeViewHelpersL14calculateDepthEPKNS_12TreeViewItemEb(ptr noundef, i1 noundef zeroext) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce8TreeView16ContentComponent17isMouseOverButtonEPNS_12TreeViewItemE(ptr noundef nonnull align 8 dereferenceable(266), ptr noundef) #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 = { "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 = { 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 #5 = { 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 #6 = { 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, !6, i64 8}
!12 = !{!"_ZTSN4juce12TreeViewItemE", !6, i64 8, !6, i64 16, !13, i64 24, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !16, i64 72, !16, i64 72, !16, i64 72, !16, i64 72, !16, i64 72, !16, i64 72, !10, i64 72}
!13 = !{!"_ZTSN4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEEE", !14, i64 0, !10, i64 16}
!14 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_12TreeViewItemENS_20DummyCriticalSectionEEE", !15, i64 0, !10, i64 8}
!15 = !{!"_ZTSN4juce9HeapBlockIPNS_12TreeViewItemELb0EEE", !6, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!12, !10, i64 60}
!18 = !{!12, !10, i64 52}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !8, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!24, !16, i64 310}
!24 = !{!"_ZTSN4juce8TreeViewE", !25, i64 0, !50, i64 200, !52, i64 216, !53, i64 224, !54, i64 232, !55, i64 240, !6, i64 280, !56, i64 288, !57, i64 296, !10, i64 304, !16, i64 308, !16, i64 309, !16, i64 310, !16, i64 311, !16, i64 312}
!25 = !{!"_ZTSN4juce9ComponentE", !26, i64 0, !27, i64 8, !27, i64 16, !6, i64 24, !29, i64 32, !31, i64 48, !32, i64 56, !33, i64 64, !6, i64 88, !36, i64 96, !6, i64 104, !37, i64 112, !38, i64 120, !39, i64 128, !40, i64 136, !44, i64 160, !48, i64 184, !7, i64 192, !7, i64 196}
!26 = !{!"_ZTSN4juce13MouseListenerE"}
!27 = !{!"_ZTSN4juce6StringE", !28, i64 0}
!28 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!29 = !{!"_ZTSN4juce9RectangleIiEE", !30, i64 0, !10, i64 8, !10, i64 12}
!30 = !{!"_ZTSN4juce5PointIiEE", !10, i64 0, !10, i64 4}
!31 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!33 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !34, i64 0, !10, i64 16}
!34 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !35, i64 0, !10, i64 8}
!35 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!36 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!37 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!38 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!39 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!40 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !41, i64 0}
!41 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !42, i64 0, !10, i64 16}
!42 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !43, i64 0, !10, i64 8}
!43 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!44 = !{!"_ZTSN4juce13NamedValueSetE", !45, i64 0}
!45 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !46, i64 0, !10, i64 16}
!46 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !47, i64 0, !10, i64 8}
!47 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!48 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !49, i64 0}
!49 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!50 = !{!"_ZTSN4juce21SettableTooltipClientE", !51, i64 0, !27, i64 8}
!51 = !{!"_ZTSN4juce13TooltipClientE"}
!52 = !{!"_ZTSN4juce21FileDragAndDropTargetE"}
!53 = !{!"_ZTSN4juce17DragAndDropTargetE"}
!54 = !{!"_ZTSN4juce13ScopedPointerINS_8TreeView12TreeViewportEEE", !6, i64 0}
!55 = !{!"_ZTSN4juce15CriticalSectionE", !7, i64 0}
!56 = !{!"_ZTSN4juce13ScopedPointerINS_8TreeView20InsertPointHighlightEEE", !6, i64 0}
!57 = !{!"_ZTSN4juce13ScopedPointerINS_8TreeView20TargetGroupHighlightEEE", !6, i64 0}
!58 = !{i8 0, i8 2}
!59 = !{}
!60 = !{!24, !16, i64 312}
!61 = !{!12, !6, i64 16}
!62 = !{!16, !16, i64 0}
!63 = distinct !{!63, !64}
!64 = !{!"llvm.loop.mustprogress"}
!65 = !{!12, !10, i64 48}
!66 = !{!12, !10, i64 56}
!67 = distinct !{!67, !64}


; 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Graphics::ScopedSaveState" = type { ptr }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Rectangle.148" = type { %"class.juce::Point.35", float, float }

@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1

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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2 align 2

declare void @_ZNK4juce8Graphics13getClipBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #5

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

declare void @_ZN4juce8Graphics15ScopedSaveStateC1ERS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

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

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

declare void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

declare void @_ZN4juce8Graphics9setOriginEii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_8TreeView12TreeViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce8TreeView12TreeViewport14getContentCompEv(ptr noundef nonnull align 8 dereferenceable(1228)) local_unnamed_addr #0 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12TreeViewItem6isOpenEv(ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12TreeViewItem16paintRecursivelyERNS_8GraphicsEi(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.juce::Graphics::ScopedSaveState", align 8
  %5 = alloca %"class.juce::Colour", align 1
  %6 = alloca %"class.juce::Colour", align 1
  %7 = alloca %"class.juce::Line", align 4
  %8 = alloca %"class.juce::Line", align 4
  %9 = alloca %"class.juce::Line", align 4
  %10 = alloca %"class.juce::Rectangle.148", align 4
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca %"class.juce::Rectangle", align 4
  %13 = alloca %"class.juce::Graphics::ScopedSaveState", align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %198, label %17

17:                                               ; preds = %3
  %18 = tail call noundef i32 @_ZNK4juce12TreeViewItem10getIndentXEv(ptr noundef nonnull align 8 dereferenceable(73) %0) #6
  %19 = getelementptr inbounds i8, ptr %0, i64 60
  %20 = load i32, ptr %19, align 4, !tbaa !15
  %21 = icmp slt i32 %20, 0
  br i1 %21, label %26, label %22

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  %24 = load i8, ptr %23, align 8
  %25 = and i8 %24, 32
  %.not = icmp eq i8 %25, 0
  br i1 %.not, label %28, label %26

26:                                               ; preds = %22, %17
  %27 = sub nsw i32 %2, %18
  br label %28

28:                                               ; preds = %22, %26
  %29 = phi i32 [ %27, %26 ], [ %20, %22 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @_ZN4juce8Graphics15ScopedSaveStateC1ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(17) %1)
  invoke void @_ZN4juce8Graphics9setOriginEii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %18, i32 noundef 0)
          to label %30 unwind label %47

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %0, i64 72
  %32 = load i8, ptr %31, align 8
  %33 = and i8 %32, 16
  %.not92 = icmp eq i8 %33, 0
  %34 = sub nsw i32 0, %18
  %35 = select i1 %.not92, i32 0, i32 %34
  %36 = select i1 %.not92, i32 0, i32 %18
  %37 = add nsw i32 %36, %29
  %38 = getelementptr inbounds i8, ptr %0, i64 52
  %39 = load i32, ptr %38, align 4, !tbaa !16
  %40 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %35, i32 noundef 0, i32 noundef %37, i32 noundef %39)
          to label %41 unwind label %47

41:                                               ; preds = %30
  br i1 %40, label %42, label %71

42:                                               ; preds = %41
  %43 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem10isSelectedEv(ptr noundef nonnull align 8 dereferenceable(73) %0) #6
  br i1 %43, label %44, label %51

44:                                               ; preds = %42
  %45 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %5, ptr noundef nonnull align 8 dereferenceable(197) %45, i32 noundef 16778499, i1 noundef zeroext false)
          to label %46 unwind label %47

46:                                               ; preds = %44
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %5)
          to label %62 unwind label %49

47:                                               ; preds = %62, %55, %44, %30, %28
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %.thread

49:                                               ; preds = %46
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  br label %.thread

51:                                               ; preds = %42
  %52 = call noundef i32 @_ZNK4juce12TreeViewItem18getRowNumberInTreeEv(ptr noundef nonnull align 8 dereferenceable(73) %0) #6
  %53 = and i32 %52, 1
  %.not93 = icmp eq i32 %53, 0
  %54 = load ptr, ptr %14, align 8, !tbaa !5
  br i1 %.not93, label %55, label %56

55:                                               ; preds = %51
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %6, ptr noundef nonnull align 8 dereferenceable(197) %54, i32 noundef 16778500, i1 noundef zeroext false)
          to label %57 unwind label %47

56:                                               ; preds = %51
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %6, ptr noundef nonnull align 8 dereferenceable(197) %54, i32 noundef 16778501, i1 noundef zeroext false)
          to label %57 unwind label %58

57:                                               ; preds = %56, %55
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %6)
          to label %62 unwind label %60

58:                                               ; preds = %56
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %.thread

60:                                               ; preds = %57
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %6) #6
  br label %.thread

62:                                               ; preds = %57, %46
  %.sink = phi ptr [ %5, %46 ], [ %6, %57 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink) #6
  %63 = load i32, ptr %19, align 4, !tbaa !15
  %64 = icmp slt i32 %63, 0
  %65 = sub nsw i32 %2, %18
  %66 = select i1 %64, i32 %65, i32 %63
  %67 = load i32, ptr %38, align 4, !tbaa !16
  %68 = load ptr, ptr %0, align 8, !tbaa !17
  %69 = getelementptr inbounds i8, ptr %68, i64 72
  %70 = load ptr, ptr %69, align 8
  invoke void %70(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %66, i32 noundef %67)
          to label %71 unwind label %47

71:                                               ; preds = %62, %41
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %72 = load i32, ptr %38, align 4, !tbaa !16
  %73 = sitofp i32 %72 to float
  %74 = fmul float %73, 5.000000e-01
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = call noundef i32 @_ZN4juce8TreeView13getIndentSizeEv(ptr noundef nonnull align 8 dereferenceable(313) %75) #6
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 310
  %79 = load i8, ptr %78, align 2, !tbaa !19, !range !54, !noundef !55
  %80 = trunc nuw i8 %79 to i1
  %81 = call noundef i32 @_ZN4juce15TreeViewHelpersL14calculateDepthEPKNS_12TreeViewItemEb(ptr noundef nonnull %0, i1 noundef zeroext %80) #6
  %82 = icmp sgt i32 %81, -1
  br i1 %82, label %83, label %162

83:                                               ; preds = %71
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 312
  %86 = load i8, ptr %85, align 8, !tbaa !56, !range !54, !noundef !55
  %87 = trunc nuw i8 %86 to i1
  br i1 %87, label %88, label %162

88:                                               ; preds = %83
  %89 = uitofp nneg i32 %81 to float
  %90 = fadd float %89, 5.000000e-01
  %91 = sitofp i32 %76 to float
  %92 = fmul float %90, %91
  %93 = getelementptr inbounds i8, ptr %0, i64 16
  %94 = load ptr, ptr %93, align 8, !tbaa !57
  %.not97 = icmp eq ptr %94, null
  br i1 %.not97, label %.critedge110.thread, label %95

95:                                               ; preds = %88
  %96 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73) %94)
  br i1 %96, label %97, label %.critedge110

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %98 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem16isLastOfSiblingsEv(ptr noundef nonnull align 8 dereferenceable(73) %0) #6
  %99 = load i32, ptr %38, align 4
  %100 = sitofp i32 %99 to float
  %101 = select i1 %98, float %74, float %100
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef %92, float noundef 0.000000e+00, float noundef %92, float noundef %101) #6
  %102 = load ptr, ptr %0, align 8, !tbaa !17
  %103 = getelementptr inbounds i8, ptr %102, i64 96
  %104 = load ptr, ptr %103, align 8
  invoke void %104(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %105 unwind label %106

105:                                              ; preds = %97
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %110

.thread:                                          ; preds = %60, %58, %49, %47
  %.pn95 = phi { ptr, i32 } [ %48, %47 ], [ %50, %49 ], [ %59, %58 ], [ %61, %60 ]
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %199

106:                                              ; preds = %97
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %199

.critedge110:                                     ; preds = %95
  %.pr = load ptr, ptr %93, align 8, !tbaa !57
  %108 = icmp eq ptr %.pr, null
  br i1 %108, label %.critedge110.thread, label %.lr.ph.preheader

.critedge110.thread:                              ; preds = %88, %.critedge110
  %109 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73) %0)
  br i1 %109, label %110, label %120

110:                                              ; preds = %105, %.critedge110.thread
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %111 = sdiv i32 %76, 2
  %112 = sitofp i32 %111 to float
  %113 = fadd float %92, %112
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %92, float noundef %74, float noundef %113, float noundef %74) #6
  %114 = load ptr, ptr %0, align 8, !tbaa !17
  %115 = getelementptr inbounds i8, ptr %114, i64 88
  %116 = load ptr, ptr %115, align 8
  invoke void %116(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 4 dereferenceable(16) %8)
          to label %117 unwind label %118

117:                                              ; preds = %110
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %120

118:                                              ; preds = %110
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %199

120:                                              ; preds = %117, %.critedge110.thread
  %.080116.pr = load ptr, ptr %93, align 8, !tbaa !57
  %.not98117 = icmp eq ptr %.080116.pr, null
  br i1 %.not98117, label %.critedge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.critedge110, %120
  %.080120.ph = phi ptr [ %.pr, %.critedge110 ], [ %.080116.pr, %120 ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %141
  %.080120 = phi ptr [ %.080, %141 ], [ %.080120.ph, %.lr.ph.preheader ]
  %.079119 = phi i32 [ %121, %141 ], [ %81, %.lr.ph.preheader ]
  %.083118 = phi float [ %124, %141 ], [ %92, %.lr.ph.preheader ]
  %121 = add nsw i32 %.079119, -1
  %122 = icmp sgt i32 %.079119, 0
  br i1 %122, label %123, label %.critedge

123:                                              ; preds = %.lr.ph
  %124 = fsub float %.083118, %91
  %125 = getelementptr inbounds i8, ptr %.080120, i64 16
  %126 = load ptr, ptr %125, align 8, !tbaa !57
  %127 = icmp eq ptr %126, null
  br i1 %127, label %130, label %128

128:                                              ; preds = %123
  %129 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem13areLinesDrawnEv(ptr noundef nonnull align 8 dereferenceable(73) %126)
  br i1 %129, label %130, label %141

130:                                              ; preds = %128, %123
  %131 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem16isLastOfSiblingsEv(ptr noundef nonnull align 8 dereferenceable(73) %.080120) #6
  br i1 %131, label %141, label %132

132:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %133 = load i32, ptr %38, align 4, !tbaa !16
  %134 = sitofp i32 %133 to float
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %124, float noundef 0.000000e+00, float noundef %124, float noundef %134) #6
  %135 = load ptr, ptr %.080120, align 8, !tbaa !17
  %136 = getelementptr inbounds i8, ptr %135, i64 96
  %137 = load ptr, ptr %136, align 8
  invoke void %137(ptr noundef nonnull align 8 dereferenceable(73) %.080120, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %138 unwind label %139

138:                                              ; preds = %132
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %141

139:                                              ; preds = %132
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %199

141:                                              ; preds = %138, %130, %128
  %.080 = load ptr, ptr %125, align 8, !tbaa !57
  %.not98 = icmp eq ptr %.080, null
  br i1 %.not98, label %.critedge, label %.lr.ph, !llvm.loop !58

.critedge:                                        ; preds = %.lr.ph, %141, %120
  %142 = load ptr, ptr %0, align 8, !tbaa !17
  %143 = getelementptr inbounds i8, ptr %142, i64 16
  %144 = load ptr, ptr %143, align 8
  %145 = call noundef zeroext i1 %144(ptr noundef nonnull align 8 dereferenceable(73) %0)
  br i1 %145, label %146, label %162

146:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %147 = mul nsw i32 %81, %76
  %148 = sitofp i32 %147 to float
  %149 = load i32, ptr %38, align 4, !tbaa !16
  %150 = sitofp i32 %149 to float
  call void @_ZN4juce9RectangleIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %148, float noundef 0.000000e+00, float noundef %91, float noundef %150) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE) #6
  %151 = load ptr, ptr %14, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i64 232
  %153 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8TreeView12TreeViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %152) #6
  %154 = call noundef ptr @_ZNK4juce8TreeView12TreeViewport14getContentCompEv(ptr noundef nonnull align 8 dereferenceable(1228) %153) #6
  %155 = call noundef zeroext i1 @_ZNK4juce8TreeView16ContentComponent17isMouseOverButtonEPNS_12TreeViewItemE(ptr noundef nonnull align 8 dereferenceable(266) %154, ptr noundef nonnull %0) #6
  %156 = load ptr, ptr %0, align 8, !tbaa !17
  %157 = getelementptr inbounds i8, ptr %156, i64 80
  %158 = load ptr, ptr %157, align 8
  invoke void %158(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull %11, i1 noundef zeroext %155)
          to label %159 unwind label %160

159:                                              ; preds = %146
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %162

160:                                              ; preds = %146
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %199

162:                                              ; preds = %.critedge, %159, %83, %71
  %163 = call noundef zeroext i1 @_ZNK4juce12TreeViewItem6isOpenEv(ptr noundef nonnull align 8 dereferenceable(73) %0) #6
  br i1 %163, label %164, label %198

164:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @_ZNK4juce8Graphics13getClipBoundsEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %12, ptr noundef nonnull align 8 dereferenceable(17) %1)
  %165 = getelementptr inbounds i8, ptr %0, i64 24
  %166 = call noundef i32 @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %165) #6
  %167 = icmp sgt i32 %166, 0
  br i1 %167, label %.lr.ph123, label %.critedge112

.lr.ph123:                                        ; preds = %164
  %168 = getelementptr inbounds i8, ptr %0, i64 48
  br label %169

169:                                              ; preds = %.lr.ph123, %194
  %.078122 = phi i32 [ 0, %.lr.ph123 ], [ %195, %194 ]
  %170 = call noundef ptr @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %165, i32 noundef %.078122) #6
  %171 = getelementptr inbounds i8, ptr %170, i64 48
  %172 = load i32, ptr %171, align 8, !tbaa !60
  %173 = load i32, ptr %168, align 8, !tbaa !60
  %174 = sub nsw i32 %172, %173
  %175 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  %.not99 = icmp slt i32 %174, %175
  br i1 %.not99, label %176, label %.critedge112

176:                                              ; preds = %169
  %177 = getelementptr inbounds i8, ptr %170, i64 56
  %178 = load i32, ptr %177, align 8, !tbaa !61
  %179 = add nsw i32 %178, %174
  %180 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  %.not100 = icmp slt i32 %179, %180
  br i1 %.not100, label %194, label %181

181:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  invoke void @_ZN4juce8Graphics15ScopedSaveStateC1ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %182 unwind label %188

182:                                              ; preds = %181
  invoke void @_ZN4juce8Graphics9setOriginEii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 0, i32 noundef %174)
          to label %183 unwind label %190

183:                                              ; preds = %182
  %184 = load i32, ptr %177, align 8, !tbaa !61
  %185 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 0, i32 noundef 0, i32 noundef %2, i32 noundef %184)
          to label %186 unwind label %190

186:                                              ; preds = %183
  br i1 %185, label %187, label %192

187:                                              ; preds = %186
  invoke void @_ZN4juce12TreeViewItem16paintRecursivelyERNS_8GraphicsEi(ptr noundef nonnull align 8 dereferenceable(73) %170, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2)
          to label %192 unwind label %190

188:                                              ; preds = %181
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %193

190:                                              ; preds = %187, %183, %182
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %193

192:                                              ; preds = %187, %186
  call void @_ZN4juce8Graphics15ScopedSaveStateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %194

193:                                              ; preds = %190, %188
  %.pn101 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %199

194:                                              ; preds = %192, %176
  %195 = add nuw nsw i32 %.078122, 1
  %196 = call noundef i32 @_ZNK4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %165) #6
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %169, label %.critedge112, !llvm.loop !62

.critedge112:                                     ; preds = %194, %169, %164
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %198

198:                                              ; preds = %162, %.critedge112, %3
  ret void

199:                                              ; preds = %193, %160, %139, %118, %106, %.thread
  %.pn103.pn.pn = phi { ptr, i32 } [ %.pn95, %.thread ], [ %.pn101, %193 ], [ %140, %139 ], [ %161, %160 ], [ %119, %118 ], [ %107, %106 ]
  resume { ptr, i32 } %.pn103.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4juce15TreeViewHelpersL14calculateDepthEPKNS_12TreeViewItemEb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce8TreeView16ContentComponent17isMouseOverButtonEPNS_12TreeViewItemE(ptr noundef nonnull align 8 dereferenceable(266), ptr noundef) 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 = { "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 = { 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 #5 = { 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 #6 = { 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, !7, i64 8}
!6 = !{!"_ZTSN4juce12TreeViewItemE", !7, i64 8, !7, i64 16, !10, i64 24, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !14, i64 72, !14, i64 72, !14, i64 72, !14, i64 72, !14, i64 72, !14, i64 72, !13, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4juce10OwnedArrayINS_12TreeViewItemENS_20DummyCriticalSectionEEE", !11, i64 0, !13, i64 16}
!11 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_12TreeViewItemENS_20DummyCriticalSectionEEE", !12, i64 0, !13, i64 8}
!12 = !{!"_ZTSN4juce9HeapBlockIPNS_12TreeViewItemELb0EEE", !7, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{!6, !13, i64 60}
!16 = !{!6, !13, i64 52}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !9, i64 0}
!19 = !{!20, !14, i64 310}
!20 = !{!"_ZTSN4juce8TreeViewE", !21, i64 0, !46, i64 200, !48, i64 216, !49, i64 224, !50, i64 232, !51, i64 240, !7, i64 280, !52, i64 288, !53, i64 296, !13, i64 304, !14, i64 308, !14, i64 309, !14, i64 310, !14, i64 311, !14, i64 312}
!21 = !{!"_ZTSN4juce9ComponentE", !22, i64 0, !23, i64 8, !23, i64 16, !7, i64 24, !25, i64 32, !27, i64 48, !28, i64 56, !29, i64 64, !7, i64 88, !32, i64 96, !7, i64 104, !33, i64 112, !34, i64 120, !35, i64 128, !36, i64 136, !40, i64 160, !44, i64 184, !8, i64 192, !8, i64 196}
!22 = !{!"_ZTSN4juce13MouseListenerE"}
!23 = !{!"_ZTSN4juce6StringE", !24, i64 0}
!24 = !{!"_ZTSN4juce16CharPointer_UTF8E", !7, i64 0}
!25 = !{!"_ZTSN4juce9RectangleIiEE", !26, i64 0, !13, i64 8, !13, i64 12}
!26 = !{!"_ZTSN4juce5PointIiEE", !13, i64 0, !13, i64 4}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !7, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !7, i64 0}
!29 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !30, i64 0, !13, i64 16}
!30 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !31, i64 0, !13, i64 8}
!31 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !7, i64 0}
!32 = !{!"_ZTSN4juce11MouseCursorE", !7, i64 0}
!33 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !7, i64 0}
!34 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !7, i64 0}
!35 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !7, i64 0}
!36 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !37, i64 0}
!37 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !38, i64 0, !13, i64 16}
!38 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !39, i64 0, !13, i64 8}
!39 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !7, i64 0}
!40 = !{!"_ZTSN4juce13NamedValueSetE", !41, i64 0}
!41 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !42, i64 0, !13, i64 16}
!42 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !43, i64 0, !13, i64 8}
!43 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !7, i64 0}
!44 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !45, i64 0}
!45 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !7, i64 0}
!46 = !{!"_ZTSN4juce21SettableTooltipClientE", !47, i64 0, !23, i64 8}
!47 = !{!"_ZTSN4juce13TooltipClientE"}
!48 = !{!"_ZTSN4juce21FileDragAndDropTargetE"}
!49 = !{!"_ZTSN4juce17DragAndDropTargetE"}
!50 = !{!"_ZTSN4juce13ScopedPointerINS_8TreeView12TreeViewportEEE", !7, i64 0}
!51 = !{!"_ZTSN4juce15CriticalSectionE", !8, i64 0}
!52 = !{!"_ZTSN4juce13ScopedPointerINS_8TreeView20InsertPointHighlightEEE", !7, i64 0}
!53 = !{!"_ZTSN4juce13ScopedPointerINS_8TreeView20TargetGroupHighlightEEE", !7, i64 0}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!20, !14, i64 312}
!57 = !{!6, !7, i64 16}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = !{!6, !13, i64 48}
!61 = !{!6, !13, i64 56}
!62 = distinct !{!62, !59}


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