; 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::Range" = type { i32, i32 }
%"class.juce::TextEditor" = type { %"class.juce::Component.base", %"class.juce::TextInputTarget", %"class.juce::SettableTooltipClient", %"class.juce::ScopedPointer.251", ptr, %"class.juce::BorderSize", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, %"class.juce::UndoManager", %"class.juce::ScopedPointer.257", %"class.juce::Range", i32, i32, i32, %"class.juce::Font", i32, i32, %"class.juce::OwnedArray.258", %"class.juce::String", %"class.juce::Colour", i32, %"class.juce::OptionalScopedPointer", %"class.juce::Value", i32, i32, %"class.juce::ListenerList.264", %"class.juce::Array.270" }
%"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"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::TextInputTarget" = type { ptr }
%"class.juce::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::ScopedPointer.251" = type { ptr }
%"class.juce::BorderSize" = type { i32, i32, i32, i32 }
%"class.juce::UndoManager" = type <{ %"class.juce::ChangeBroadcaster", %"class.juce::OwnedArray.252", %"class.juce::OwnedArray.252", %"class.juce::String", i32, i32, i32, i32, i8, i8, [6 x i8] }>
%"class.juce::ChangeBroadcaster" = type { ptr, %"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback", %"class.juce::ListenerList.39" }
%"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback" = type { %"class.juce::AsyncUpdater", ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::ListenerList.39" = type { %"class.juce::Array.40" }
%"class.juce::Array.40" = type { %"class.juce::ArrayAllocationBase.41", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.41" = type <{ %"class.juce::HeapBlock.42", i32, [4 x i8] }>
%"class.juce::HeapBlock.42" = type { ptr }
%"class.juce::OwnedArray.252" = type { %"class.juce::ArrayAllocationBase.253", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.253" = type <{ %"class.juce::HeapBlock.254", i32, [4 x i8] }>
%"class.juce::HeapBlock.254" = type { ptr }
%"class.juce::ScopedPointer.257" = type { ptr }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.158" }
%"class.juce::ReferenceCountedObjectPtr.158" = type { ptr }
%"class.juce::OwnedArray.258" = type { %"class.juce::ArrayAllocationBase.259", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.259" = type <{ %"class.juce::HeapBlock.260", i32, [4 x i8] }>
%"class.juce::HeapBlock.260" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::OptionalScopedPointer" = type <{ %"class.juce::ScopedPointer.263", i8, [7 x i8] }>
%"class.juce::ScopedPointer.263" = type { ptr }
%"class.juce::Value" = type { %"class.juce::ReferenceCountedObjectPtr.116", %"class.juce::ListenerList.117" }
%"class.juce::ReferenceCountedObjectPtr.116" = type { ptr }
%"class.juce::ListenerList.117" = type { %"class.juce::Array.118" }
%"class.juce::Array.118" = type { %"class.juce::ArrayAllocationBase.119", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.119" = type <{ %"class.juce::HeapBlock.120", i32, [4 x i8] }>
%"class.juce::HeapBlock.120" = type { ptr }
%"class.juce::ListenerList.264" = type { %"class.juce::Array.265" }
%"class.juce::Array.265" = type { %"class.juce::ArrayAllocationBase.266", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.266" = type <{ %"class.juce::HeapBlock.267", i32, [4 x i8] }>
%"class.juce::HeapBlock.267" = type { ptr }
%"class.juce::Array.270" = type { %"class.juce::ArrayAllocationBase.271", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.271" = type <{ %"class.juce::HeapBlock.272", i32, [4 x i8] }>
%"class.juce::HeapBlock.272" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10TextEditor14newTransactionEv(ptr noundef nonnull align 8 dereferenceable(600)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor23coalesceSimilarSectionsEv(ptr noundef nonnull align 8 dereferenceable(600)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor20updateTextHolderSizeEv(ptr noundef nonnull align 8 dereferenceable(600)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10TextEditor16getTotalNumCharsEv(ptr noundef nonnull align 8 dereferenceable(600)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce10TextEditor6insertERKNS_6StringEiRKNS_4FontENS_6ColourEPNS_11UndoManagerEi(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #6 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.juce::Colour", align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i1, align 1
  %19 = alloca %"class.juce::Range", align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.juce::Colour", align 1
  %25 = alloca i1, align 1
  %26 = alloca %"class.juce::Colour", align 1
  %27 = alloca i1, align 1
  %28 = alloca %"class.juce::Colour", align 1
  %29 = alloca i1, align 1
  %30 = alloca %"class.juce::Range", align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store i32 %6, ptr %14, align 4, !tbaa !9
  %31 = load ptr, ptr %8, align 8
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br i1 %33, label %34, label %163

34:                                               ; preds = %7
  %35 = load ptr, ptr %13, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %61

37:                                               ; preds = %34
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK4juce11UndoManager33getNumActionsInCurrentTransactionEv(ptr noundef nonnull align 8 dereferenceable(130) %38)
  %40 = icmp sgt i32 %39, 100
  br i1 %40, label %41, label %42

41:                                               ; preds = %37
  call void @_ZN4juce10TextEditor14newTransactionEv(ptr noundef nonnull align 8 dereferenceable(600) %31)
  br label %42

42:                                               ; preds = %41, %37
  %43 = load ptr, ptr %13, align 8, !tbaa !5
  %44 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #9
  store i1 true, ptr %18, align 1
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(4) %4) #8
  %48 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 30
  %49 = load i32, ptr %48, align 4, !tbaa !11
  %50 = load i32, ptr %14, align 4, !tbaa !9
  invoke void @_ZN4juce10TextEditor12InsertActionC2ERS0_RKNS_6StringEiRKNS_4FontENS_6ColourEii(ptr noundef nonnull align 8 dereferenceable(52) %44, ptr noundef nonnull align 8 dereferenceable(600) %31, ptr noundef nonnull align 8 dereferenceable(8) %45, i32 noundef %46, ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef %15, i32 noundef %49, i32 noundef %50)
          to label %51 unwind label %54

51:                                               ; preds = %42
  store i1 false, ptr %18, align 1
  %52 = invoke noundef zeroext i1 @_ZN4juce11UndoManager7performEPNS_14UndoableActionE(ptr noundef nonnull align 8 dereferenceable(130) %43, ptr noundef %44)
          to label %53 unwind label %54

53:                                               ; preds = %51
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #8
  br label %162

54:                                               ; preds = %51, %42
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %16, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %17, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #8
  %58 = load i1, ptr %18, align 1
  br i1 %58, label %59, label %60

59:                                               ; preds = %54
  call void @_ZdlPvm(ptr noundef %44, i64 noundef 56) #10
  br label %60

60:                                               ; preds = %59, %54
  br label %164

61:                                               ; preds = %34
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = call noundef i32 @_ZNK4juce10TextEditor16getTotalNumCharsEv(ptr noundef nonnull align 8 dereferenceable(600) %31)
  call void @_ZN4juce5RangeIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef %62, i32 noundef %63) #8
  call void @_ZN4juce10TextEditor11repaintTextENS_5RangeIiEE(ptr noundef nonnull align 8 dereferenceable(600) %31, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %130, %61
  %65 = load i32, ptr %22, align 4, !tbaa !9
  %66 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 31
  %67 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %66) #8
  %68 = icmp slt i32 %65, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %64
  store i32 2, ptr %23, align 4
  br label %133

70:                                               ; preds = %64
  %71 = load i32, ptr %20, align 4, !tbaa !9
  %72 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 31
  %73 = load i32, ptr %22, align 4, !tbaa !9
  %74 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %72, i32 noundef %73) #8
  %75 = call noundef i32 @_ZNK4juce10TextEditor18UniformTextSection14getTotalLengthEv(ptr noundef nonnull align 8 dereferenceable(40) %74) #8
  %76 = add nsw i32 %71, %75
  store i32 %76, ptr %21, align 4, !tbaa !9
  %77 = load i32, ptr %10, align 4, !tbaa !9
  %78 = load i32, ptr %20, align 4, !tbaa !9
  %79 = icmp eq i32 %77, %78
  br i1 %79, label %80, label %97

80:                                               ; preds = %70
  %81 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 31
  %82 = load i32, ptr %22, align 4, !tbaa !9
  %83 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
  store i1 true, ptr %25, align 1
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %24, ptr noundef nonnull align 1 dereferenceable(4) %4) #8
  %86 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 34
  %87 = load i32, ptr %86, align 4, !tbaa !83
  invoke void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40) %83, ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef %24, i32 noundef signext %87)
          to label %88 unwind label %90

88:                                               ; preds = %80
  store i1 false, ptr %25, align 1
  %89 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE6insertEiPS2_(ptr noundef nonnull align 8 dereferenceable(20) %81, i32 noundef %82, ptr noundef %83) #8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #8
  store i32 2, ptr %23, align 4
  br label %133

90:                                               ; preds = %80
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %16, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %17, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #8
  %94 = load i1, ptr %25, align 1
  br i1 %94, label %95, label %96

95:                                               ; preds = %90
  call void @_ZdlPvm(ptr noundef %83, i64 noundef 40) #10
  br label %96

96:                                               ; preds = %95, %90
  br label %134

97:                                               ; preds = %70
  %98 = load i32, ptr %10, align 4, !tbaa !9
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = icmp sgt i32 %98, %99
  br i1 %100, label %101, label %127

101:                                              ; preds = %97
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = load i32, ptr %21, align 4, !tbaa !9
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %105, label %127

105:                                              ; preds = %101
  %106 = load i32, ptr %22, align 4, !tbaa !9
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = sub nsw i32 %107, %108
  call void @_ZN4juce10TextEditor12splitSectionEii(ptr noundef nonnull align 8 dereferenceable(600) %31, i32 noundef %106, i32 noundef %109)
  %110 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 31
  %111 = load i32, ptr %22, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  %113 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
  store i1 true, ptr %27, align 1
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %26, ptr noundef nonnull align 1 dereferenceable(4) %4) #8
  %116 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 34
  %117 = load i32, ptr %116, align 4, !tbaa !83
  invoke void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40) %113, ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef %26, i32 noundef signext %117)
          to label %118 unwind label %120

118:                                              ; preds = %105
  store i1 false, ptr %27, align 1
  %119 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE6insertEiPS2_(ptr noundef nonnull align 8 dereferenceable(20) %110, i32 noundef %112, ptr noundef %113) #8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #8
  store i32 2, ptr %23, align 4
  br label %133

120:                                              ; preds = %105
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %16, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %17, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #8
  %124 = load i1, ptr %27, align 1
  br i1 %124, label %125, label %126

125:                                              ; preds = %120
  call void @_ZdlPvm(ptr noundef %113, i64 noundef 40) #10
  br label %126

126:                                              ; preds = %125, %120
  br label %134

127:                                              ; preds = %101, %97
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %129, ptr %20, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %128
  %131 = load i32, ptr %22, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %22, align 4, !tbaa !9
  br label %64, !llvm.loop !84

133:                                              ; preds = %118, %88, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %135

134:                                              ; preds = %126, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %161

135:                                              ; preds = %133
  %136 = load i32, ptr %21, align 4, !tbaa !9
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = icmp eq i32 %136, %137
  br i1 %138, label %139, label %155

139:                                              ; preds = %135
  %140 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 31
  %141 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
  store i1 true, ptr %29, align 1
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(4) %4) #8
  %144 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 34
  %145 = load i32, ptr %144, align 4, !tbaa !83
  invoke void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40) %141, ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef %28, i32 noundef signext %145)
          to label %146 unwind label %148

146:                                              ; preds = %139
  store i1 false, ptr %29, align 1
  %147 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %140, ptr noundef %141) #8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #8
  br label %155

148:                                              ; preds = %139
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %16, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %17, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #8
  %152 = load i1, ptr %29, align 1
  br i1 %152, label %153, label %154

153:                                              ; preds = %148
  call void @_ZdlPvm(ptr noundef %141, i64 noundef 40) #10
  br label %154

154:                                              ; preds = %153, %148
  br label %161

155:                                              ; preds = %146, %135
  call void @_ZN4juce10TextEditor23coalesceSimilarSectionsEv(ptr noundef nonnull align 8 dereferenceable(600) %31)
  %156 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 29
  store i32 -1, ptr %156, align 8, !tbaa !86
  %157 = getelementptr inbounds %"class.juce::TextEditor", ptr %31, i32 0, i32 18
  store i8 1, ptr %157, align 4, !tbaa !87
  call void @_ZN4juce10TextEditor20updateTextHolderSizeEv(ptr noundef nonnull align 8 dereferenceable(600) %31)
  %158 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN4juce10TextEditor11moveCaretToEib(ptr noundef nonnull align 8 dereferenceable(600) %31, i32 noundef %158, i1 noundef zeroext false)
  %159 = load i32, ptr %10, align 4, !tbaa !9
  %160 = call noundef i32 @_ZNK4juce10TextEditor16getTotalNumCharsEv(ptr noundef nonnull align 8 dereferenceable(600) %31)
  call void @_ZN4juce5RangeIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef %159, i32 noundef %160) #8
  call void @_ZN4juce10TextEditor11repaintTextENS_5RangeIiEE(ptr noundef nonnull align 8 dereferenceable(600) %31, ptr noundef %30)
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %162

161:                                              ; preds = %154, %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %164

162:                                              ; preds = %155, %53
  br label %163

163:                                              ; preds = %162, %7
  ret void

164:                                              ; preds = %161, %60
  %165 = load ptr, ptr %16, align 8
  %166 = load i32, ptr %17, align 4
  %167 = insertvalue { ptr, i32 } poison, ptr %165, 0
  %168 = insertvalue { ptr, i32 } %167, i32 %166, 1
  resume { ptr, i32 } %168
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor11moveCaretToEib(ptr noundef nonnull align 8 dereferenceable(600), i32 noundef, i1 noundef zeroext) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor11repaintTextENS_5RangeIiEE(ptr noundef nonnull align 8 dereferenceable(600), ptr noundef) #6 align 2

declare noundef i32 @_ZNK4juce11UndoManager33getNumActionsInCurrentTransactionEv(ptr noundef nonnull align 8 dereferenceable(130)) #7

declare noundef zeroext i1 @_ZN4juce11UndoManager7performEPNS_14UndoableActionE(ptr noundef nonnull align 8 dereferenceable(130), ptr noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10TextEditor12InsertActionC2ERS0_RKNS_6StringEiRKNS_4FontENS_6ColourEii(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(600), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10TextEditor18UniformTextSection14getTotalLengthEv(ptr noundef nonnull align 8 dereferenceable(40)) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i32 noundef signext) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor12splitSectionEii(ptr noundef nonnull align 8 dereferenceable(600), i32 noundef, i32 noundef) #6 align 2

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

attributes #0 = { nobuiltin 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 #5 = { 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 #6 = { 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 #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !10, i64 452}
!12 = !{!"_ZTSN4juce10TextEditorE", !13, i64 0, !38, i64 200, !39, i64 208, !41, i64 224, !6, i64 232, !42, i64 240, !43, i64 256, !43, i64 257, !43, i64 258, !43, i64 259, !43, i64 260, !43, i64 261, !43, i64 262, !43, i64 263, !43, i64 264, !43, i64 265, !43, i64 266, !43, i64 267, !43, i64 268, !43, i64 269, !43, i64 270, !44, i64 272, !56, i64 408, !57, i64 416, !10, i64 424, !10, i64 428, !10, i64 432, !58, i64 440, !10, i64 448, !10, i64 452, !60, i64 456, !15, i64 480, !63, i64 488, !65, i64 492, !66, i64 496, !68, i64 512, !74, i64 544, !75, i64 548, !76, i64 552, !80, i64 576}
!13 = !{!"_ZTSN4juce9ComponentE", !14, i64 0, !15, i64 8, !15, i64 16, !6, i64 24, !17, i64 32, !19, i64 48, !20, i64 56, !21, i64 64, !6, i64 88, !24, i64 96, !6, i64 104, !25, i64 112, !26, i64 120, !27, i64 128, !28, i64 136, !32, i64 160, !36, i64 184, !7, i64 192, !7, i64 196}
!14 = !{!"_ZTSN4juce13MouseListenerE"}
!15 = !{!"_ZTSN4juce6StringE", !16, i64 0}
!16 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!17 = !{!"_ZTSN4juce9RectangleIiEE", !18, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!"_ZTSN4juce5PointIiEE", !10, i64 0, !10, i64 4}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!21 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !22, i64 0, !10, i64 16}
!22 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !23, i64 0, !10, i64 8}
!23 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!24 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !29, i64 0}
!29 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !30, i64 0, !10, i64 16}
!30 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !31, i64 0, !10, i64 8}
!31 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13NamedValueSetE", !33, i64 0}
!33 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !34, i64 0, !10, i64 16}
!34 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !35, i64 0, !10, i64 8}
!35 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!36 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !37, i64 0}
!37 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!38 = !{!"_ZTSN4juce15TextInputTargetE"}
!39 = !{!"_ZTSN4juce21SettableTooltipClientE", !40, i64 0, !15, i64 8}
!40 = !{!"_ZTSN4juce13TooltipClientE"}
!41 = !{!"_ZTSN4juce13ScopedPointerINS_8ViewportEEE", !6, i64 0}
!42 = !{!"_ZTSN4juce10BorderSizeIiEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!43 = !{!"bool", !7, i64 0}
!44 = !{!"_ZTSN4juce11UndoManagerE", !45, i64 0, !53, i64 56, !53, i64 80, !15, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !43, i64 128, !43, i64 129}
!45 = !{!"_ZTSN4juce17ChangeBroadcasterE", !46, i64 8, !49, i64 32}
!46 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !47, i64 0, !6, i64 16}
!47 = !{!"_ZTSN4juce12AsyncUpdaterE", !48, i64 8}
!48 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!49 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !50, i64 0}
!50 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !51, i64 0, !10, i64 16}
!51 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !52, i64 0, !10, i64 8}
!52 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !6, i64 0}
!53 = !{!"_ZTSN4juce10OwnedArrayINS_11UndoManager9ActionSetENS_20DummyCriticalSectionEEE", !54, i64 0, !10, i64 16}
!54 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_11UndoManager9ActionSetENS_20DummyCriticalSectionEEE", !55, i64 0, !10, i64 8}
!55 = !{!"_ZTSN4juce9HeapBlockIPNS_11UndoManager9ActionSetELb0EEE", !6, i64 0}
!56 = !{!"_ZTSN4juce13ScopedPointerINS_14CaretComponentEEE", !6, i64 0}
!57 = !{!"_ZTSN4juce5RangeIiEE", !10, i64 0, !10, i64 4}
!58 = !{!"_ZTSN4juce4FontE", !59, i64 0}
!59 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_4Font18SharedFontInternalEEE", !6, i64 0}
!60 = !{!"_ZTSN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEE", !61, i64 0, !10, i64 16}
!61 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEE", !62, i64 0, !10, i64 8}
!62 = !{!"_ZTSN4juce9HeapBlockIPNS_10TextEditor18UniformTextSectionELb0EEE", !6, i64 0}
!63 = !{!"_ZTSN4juce6ColourE", !64, i64 0}
!64 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!65 = !{!"wchar_t", !7, i64 0}
!66 = !{!"_ZTSN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEEE", !67, i64 0, !43, i64 8}
!67 = !{!"_ZTSN4juce13ScopedPointerINS_10TextEditor11InputFilterEEE", !6, i64 0}
!68 = !{!"_ZTSN4juce5ValueE", !69, i64 0, !70, i64 8}
!69 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !6, i64 0}
!70 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !71, i64 0}
!71 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !72, i64 0, !10, i64 16}
!72 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !73, i64 0, !10, i64 8}
!73 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !6, i64 0}
!74 = !{!"_ZTSN4juce15TextInputTarget19VirtualKeyboardTypeE", !7, i64 0}
!75 = !{!"_ZTSN4juce10TextEditorUt_E", !7, i64 0}
!76 = !{!"_ZTSN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !77, i64 0}
!77 = !{!"_ZTSN4juce5ArrayIPNS_10TextEditor8ListenerENS_20DummyCriticalSectionELi0EEE", !78, i64 0, !10, i64 16}
!78 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_10TextEditor8ListenerENS_20DummyCriticalSectionEEE", !79, i64 0, !10, i64 8}
!79 = !{!"_ZTSN4juce9HeapBlockIPNS_10TextEditor8ListenerELb0EEE", !6, i64 0}
!80 = !{!"_ZTSN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EEE", !81, i64 0, !10, i64 16}
!81 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_5RangeIiEENS_20DummyCriticalSectionEEE", !82, i64 0, !10, i64 8}
!82 = !{!"_ZTSN4juce9HeapBlockINS_5RangeIiEELb0EEE", !6, i64 0}
!83 = !{!12, !65, i64 492}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}
!86 = !{!12, !10, i64 448}
!87 = !{!12, !43, i64 268}


; 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::Range" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10TextEditor14newTransactionEv(ptr noundef nonnull align 8 dereferenceable(600)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor23coalesceSimilarSectionsEv(ptr noundef nonnull align 8 dereferenceable(600)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor20updateTextHolderSizeEv(ptr noundef nonnull align 8 dereferenceable(600)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10TextEditor16getTotalNumCharsEv(ptr noundef nonnull align 8 dereferenceable(600)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce10TextEditor6insertERKNS_6StringEiRKNS_4FontENS_6ColourEPNS_11UndoManagerEi(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Range", align 4
  %10 = alloca %"class.juce::Colour", align 1
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca %"class.juce::Range", align 4
  %14 = tail call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %1) #7
  br i1 %14, label %15, label %75

15:                                               ; preds = %7
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %28, label %16

16:                                               ; preds = %15
  %17 = tail call noundef i32 @_ZNK4juce11UndoManager33getNumActionsInCurrentTransactionEv(ptr noundef nonnull align 8 dereferenceable(130) %5)
  %18 = icmp sgt i32 %17, 100
  br i1 %18, label %19, label %20

19:                                               ; preds = %16
  tail call void @_ZN4juce10TextEditor14newTransactionEv(ptr noundef nonnull align 8 dereferenceable(600) %0)
  br label %20

20:                                               ; preds = %19, %16
  %21 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #8
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(4) %4) #7
  %22 = getelementptr inbounds i8, ptr %0, i64 452
  %23 = load i32, ptr %22, align 4, !tbaa !5
  call void @_ZN4juce10TextEditor12InsertActionC2ERS0_RKNS_6StringEiRKNS_4FontENS_6ColourEii(ptr noundef nonnull align 8 dereferenceable(52) %21, ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %8, i32 noundef %23, i32 noundef %6)
  %24 = invoke noundef zeroext i1 @_ZN4juce11UndoManager7performEPNS_14UndoableActionE(ptr noundef nonnull align 8 dereferenceable(130) %5, ptr noundef nonnull %21)
          to label %25 unwind label %26

25:                                               ; preds = %20
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  br label %75

26:                                               ; preds = %20
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  br label %76

28:                                               ; preds = %15
  %29 = tail call noundef i32 @_ZNK4juce10TextEditor16getTotalNumCharsEv(ptr noundef nonnull align 8 dereferenceable(600) %0)
  call void @_ZN4juce5RangeIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef %2, i32 noundef %29) #7
  call void @_ZN4juce10TextEditor11repaintTextENS_5RangeIiEE(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull %9)
  %30 = getelementptr inbounds i8, ptr %0, i64 456
  %31 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %30) #7
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %28, %58
  %.065 = phi i32 [ %59, %58 ], [ 0, %28 ]
  %.04164 = phi i32 [ %35, %58 ], [ 0, %28 ]
  %33 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %30, i32 noundef %.065) #7
  %34 = call noundef i32 @_ZNK4juce10TextEditor18UniformTextSection14getTotalLengthEv(ptr noundef nonnull align 8 dereferenceable(40) %33) #7
  %35 = add nsw i32 %34, %.04164
  %36 = icmp eq i32 %.04164, %2
  br i1 %36, label %37, label %45

37:                                               ; preds = %.lr.ph
  %38 = call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #8
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(4) %4) #7
  %39 = getelementptr inbounds i8, ptr %0, i64 492
  %40 = load i32, ptr %39, align 4, !tbaa !81
  invoke void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40) %38, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %10, i32 noundef signext %40)
          to label %41 unwind label %43

41:                                               ; preds = %37
  %42 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE6insertEiPS2_(ptr noundef nonnull align 8 dereferenceable(20) %30, i32 noundef %.065, ptr noundef nonnull %38) #7
  br label %.loopexit.sink.split

43:                                               ; preds = %37
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #7
  call void @_ZdlPvm(ptr noundef nonnull %38, i64 noundef 40) #9
  br label %76

45:                                               ; preds = %.lr.ph
  %46 = icmp slt i32 %.04164, %2
  %47 = icmp sgt i32 %35, %2
  %or.cond = select i1 %46, i1 %47, i1 false
  br i1 %or.cond, label %48, label %58

48:                                               ; preds = %45
  %49 = sub nsw i32 %2, %.04164
  call void @_ZN4juce10TextEditor12splitSectionEii(ptr noundef nonnull align 8 dereferenceable(600) %0, i32 noundef %.065, i32 noundef %49)
  %50 = call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #8
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(4) %4) #7
  %51 = getelementptr inbounds i8, ptr %0, i64 492
  %52 = load i32, ptr %51, align 4, !tbaa !81
  invoke void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40) %50, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %11, i32 noundef signext %52)
          to label %53 unwind label %56

53:                                               ; preds = %48
  %54 = add nuw nsw i32 %.065, 1
  %55 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE6insertEiPS2_(ptr noundef nonnull align 8 dereferenceable(20) %30, i32 noundef %54, ptr noundef nonnull %50) #7
  br label %.loopexit.sink.split

56:                                               ; preds = %48
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #7
  call void @_ZdlPvm(ptr noundef nonnull %50, i64 noundef 40) #9
  br label %76

58:                                               ; preds = %45
  %59 = add nuw nsw i32 %.065, 1
  %60 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %30) #7
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %.lr.ph, label %.loopexit, !llvm.loop !82

.loopexit.sink.split:                             ; preds = %41, %53
  %.sink = phi ptr [ %11, %53 ], [ %10, %41 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink) #7
  br label %.loopexit

.loopexit:                                        ; preds = %58, %.loopexit.sink.split, %28
  %.1 = phi i32 [ 0, %28 ], [ %35, %.loopexit.sink.split ], [ %35, %58 ]
  %62 = icmp eq i32 %.1, %2
  br i1 %62, label %63, label %71

63:                                               ; preds = %.loopexit
  %64 = call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #8
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(4) %4) #7
  %65 = getelementptr inbounds i8, ptr %0, i64 492
  %66 = load i32, ptr %65, align 4, !tbaa !81
  invoke void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40) %64, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %12, i32 noundef signext %66)
          to label %67 unwind label %69

67:                                               ; preds = %63
  %68 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %30, ptr noundef nonnull %64) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #7
  br label %71

69:                                               ; preds = %63
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #7
  call void @_ZdlPvm(ptr noundef nonnull %64, i64 noundef 40) #9
  br label %76

71:                                               ; preds = %67, %.loopexit
  call void @_ZN4juce10TextEditor23coalesceSimilarSectionsEv(ptr noundef nonnull align 8 dereferenceable(600) %0)
  %72 = getelementptr inbounds i8, ptr %0, i64 448
  store i32 -1, ptr %72, align 8, !tbaa !84
  %73 = getelementptr inbounds i8, ptr %0, i64 268
  store i8 1, ptr %73, align 4, !tbaa !85
  call void @_ZN4juce10TextEditor20updateTextHolderSizeEv(ptr noundef nonnull align 8 dereferenceable(600) %0)
  call void @_ZN4juce10TextEditor11moveCaretToEib(ptr noundef nonnull align 8 dereferenceable(600) %0, i32 noundef %6, i1 noundef zeroext false)
  %74 = call noundef i32 @_ZNK4juce10TextEditor16getTotalNumCharsEv(ptr noundef nonnull align 8 dereferenceable(600) %0)
  call void @_ZN4juce5RangeIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef %2, i32 noundef %74) #7
  call void @_ZN4juce10TextEditor11repaintTextENS_5RangeIiEE(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull %13)
  br label %75

75:                                               ; preds = %25, %71, %7
  ret void

76:                                               ; preds = %69, %56, %43, %26
  %.pn54 = phi { ptr, i32 } [ %27, %26 ], [ %70, %69 ], [ %44, %43 ], [ %57, %56 ]
  resume { ptr, i32 } %.pn54
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor11moveCaretToEib(ptr noundef nonnull align 8 dereferenceable(600), i32 noundef, i1 noundef zeroext) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor11repaintTextENS_5RangeIiEE(ptr noundef nonnull align 8 dereferenceable(600), ptr noundef) local_unnamed_addr #5 align 2

declare noundef i32 @_ZNK4juce11UndoManager33getNumActionsInCurrentTransactionEv(ptr noundef nonnull align 8 dereferenceable(130)) local_unnamed_addr #6

declare noundef zeroext i1 @_ZN4juce11UndoManager7performEPNS_14UndoableActionE(ptr noundef nonnull align 8 dereferenceable(130), ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10TextEditor12InsertActionC2ERS0_RKNS_6StringEiRKNS_4FontENS_6ColourEii(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(600), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10TextEditor18UniformTextSection14getTotalLengthEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor18UniformTextSectionC2ERKNS_6StringERKNS_4FontENS_6ColourEw(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i32 noundef signext) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10TextEditor12splitSectionEii(ptr noundef nonnull align 8 dereferenceable(600), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

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

attributes #0 = { nobuiltin 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 #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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, !16, i64 452}
!6 = !{!"_ZTSN4juce10TextEditorE", !7, i64 0, !36, i64 200, !37, i64 208, !39, i64 224, !11, i64 232, !40, i64 240, !41, i64 256, !41, i64 257, !41, i64 258, !41, i64 259, !41, i64 260, !41, i64 261, !41, i64 262, !41, i64 263, !41, i64 264, !41, i64 265, !41, i64 266, !41, i64 267, !41, i64 268, !41, i64 269, !41, i64 270, !42, i64 272, !54, i64 408, !55, i64 416, !16, i64 424, !16, i64 428, !16, i64 432, !56, i64 440, !16, i64 448, !16, i64 452, !58, i64 456, !9, i64 480, !61, i64 488, !63, i64 492, !64, i64 496, !66, i64 512, !72, i64 544, !73, i64 548, !74, i64 552, !78, i64 576}
!7 = !{!"_ZTSN4juce9ComponentE", !8, i64 0, !9, i64 8, !9, i64 16, !11, i64 24, !14, i64 32, !17, i64 48, !18, i64 56, !19, i64 64, !11, i64 88, !22, i64 96, !11, i64 104, !23, i64 112, !24, i64 120, !25, i64 128, !26, i64 136, !30, i64 160, !34, i64 184, !12, i64 192, !12, i64 196}
!8 = !{!"_ZTSN4juce13MouseListenerE"}
!9 = !{!"_ZTSN4juce6StringE", !10, i64 0}
!10 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN4juce9RectangleIiEE", !15, i64 0, !16, i64 8, !16, i64 12}
!15 = !{!"_ZTSN4juce5PointIiEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !12, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !11, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !11, i64 0}
!19 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !11, i64 0}
!22 = !{!"_ZTSN4juce11MouseCursorE", !11, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !11, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !11, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !11, i64 0}
!26 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !27, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !16, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !29, i64 0, !16, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !11, i64 0}
!30 = !{!"_ZTSN4juce13NamedValueSetE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !16, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !33, i64 0, !16, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !11, i64 0}
!34 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !35, i64 0}
!35 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!36 = !{!"_ZTSN4juce15TextInputTargetE"}
!37 = !{!"_ZTSN4juce21SettableTooltipClientE", !38, i64 0, !9, i64 8}
!38 = !{!"_ZTSN4juce13TooltipClientE"}
!39 = !{!"_ZTSN4juce13ScopedPointerINS_8ViewportEEE", !11, i64 0}
!40 = !{!"_ZTSN4juce10BorderSizeIiEE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!41 = !{!"bool", !12, i64 0}
!42 = !{!"_ZTSN4juce11UndoManagerE", !43, i64 0, !51, i64 56, !51, i64 80, !9, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !41, i64 128, !41, i64 129}
!43 = !{!"_ZTSN4juce17ChangeBroadcasterE", !44, i64 8, !47, i64 32}
!44 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !45, i64 0, !11, i64 16}
!45 = !{!"_ZTSN4juce12AsyncUpdaterE", !46, i64 8}
!46 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!47 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !48, i64 0}
!48 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !49, i64 0, !16, i64 16}
!49 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !50, i64 0, !16, i64 8}
!50 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !11, i64 0}
!51 = !{!"_ZTSN4juce10OwnedArrayINS_11UndoManager9ActionSetENS_20DummyCriticalSectionEEE", !52, i64 0, !16, i64 16}
!52 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_11UndoManager9ActionSetENS_20DummyCriticalSectionEEE", !53, i64 0, !16, i64 8}
!53 = !{!"_ZTSN4juce9HeapBlockIPNS_11UndoManager9ActionSetELb0EEE", !11, i64 0}
!54 = !{!"_ZTSN4juce13ScopedPointerINS_14CaretComponentEEE", !11, i64 0}
!55 = !{!"_ZTSN4juce5RangeIiEE", !16, i64 0, !16, i64 4}
!56 = !{!"_ZTSN4juce4FontE", !57, i64 0}
!57 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_4Font18SharedFontInternalEEE", !11, i64 0}
!58 = !{!"_ZTSN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEE", !59, i64 0, !16, i64 16}
!59 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEE", !60, i64 0, !16, i64 8}
!60 = !{!"_ZTSN4juce9HeapBlockIPNS_10TextEditor18UniformTextSectionELb0EEE", !11, i64 0}
!61 = !{!"_ZTSN4juce6ColourE", !62, i64 0}
!62 = !{!"_ZTSN4juce9PixelARGBE", !12, i64 0}
!63 = !{!"wchar_t", !12, i64 0}
!64 = !{!"_ZTSN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEEE", !65, i64 0, !41, i64 8}
!65 = !{!"_ZTSN4juce13ScopedPointerINS_10TextEditor11InputFilterEEE", !11, i64 0}
!66 = !{!"_ZTSN4juce5ValueE", !67, i64 0, !68, i64 8}
!67 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !11, i64 0}
!68 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !69, i64 0}
!69 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !70, i64 0, !16, i64 16}
!70 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !71, i64 0, !16, i64 8}
!71 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !11, i64 0}
!72 = !{!"_ZTSN4juce15TextInputTarget19VirtualKeyboardTypeE", !12, i64 0}
!73 = !{!"_ZTSN4juce10TextEditorUt_E", !12, i64 0}
!74 = !{!"_ZTSN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !75, i64 0}
!75 = !{!"_ZTSN4juce5ArrayIPNS_10TextEditor8ListenerENS_20DummyCriticalSectionELi0EEE", !76, i64 0, !16, i64 16}
!76 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_10TextEditor8ListenerENS_20DummyCriticalSectionEEE", !77, i64 0, !16, i64 8}
!77 = !{!"_ZTSN4juce9HeapBlockIPNS_10TextEditor8ListenerELb0EEE", !11, i64 0}
!78 = !{!"_ZTSN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EEE", !79, i64 0, !16, i64 16}
!79 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_5RangeIiEENS_20DummyCriticalSectionEEE", !80, i64 0, !16, i64 8}
!80 = !{!"_ZTSN4juce9HeapBlockINS_5RangeIiEELb0EEE", !11, i64 0}
!81 = !{!6, !63, i64 492}
!82 = distinct !{!82, !83}
!83 = !{!"llvm.loop.mustprogress"}
!84 = !{!6, !16, i64 448}
!85 = !{!6, !41, i64 268}


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