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

; 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::MouseCursor" = type { ptr }
%"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::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::Range" = type { i32, i32 }
%"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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"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 }

@_ZTVN4juce10TextEditorE = external dso_local unnamed_addr constant { [59 x ptr], [12 x ptr], [6 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component9setOpaqueEb(ptr noundef nonnull align 8 dereferenceable(197), i1 noundef zeroext) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component14setMouseCursorERKNS_11MouseCursorE(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197), i1 noundef zeroext) #1 align 2

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

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

declare void @_ZN4juce5ValueC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN4juce5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0

declare void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8), float noundef, i32 noundef) unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8Viewport18setViewedComponentEPNS_9ComponentEb(ptr noundef nonnull align 8 dereferenceable(1224), ptr noundef, i1 noundef zeroext) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8Viewport18setScrollBarsShownEbbbb(ptr noundef nonnull align 8 dereferenceable(1224), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce10TextEditorC2ERKNS_6StringEw(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef signext %2) unnamed_addr #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 ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.juce::MouseCursor", 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
  %10 = load ptr, ptr %4, align 8
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce9ComponentC2ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(197) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %12 = getelementptr inbounds i8, ptr %10, i64 200
  invoke void @_ZN4juce15TextInputTargetC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %13 unwind label %84

13:                                               ; preds = %3
  %14 = getelementptr inbounds i8, ptr %10, i64 208
  invoke void @_ZN4juce21SettableTooltipClientC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %15 unwind label %88

15:                                               ; preds = %13
  store ptr getelementptr inbounds inrange(-16, 456) ({ [59 x ptr], [12 x ptr], [6 x ptr] }, ptr @_ZTVN4juce10TextEditorE, i32 0, i32 0, i32 2), ptr %10, align 8, !tbaa !11
  %16 = getelementptr inbounds i8, ptr %10, i64 200
  store ptr getelementptr inbounds inrange(-16, 80) ({ [59 x ptr], [12 x ptr], [6 x ptr] }, ptr @_ZTVN4juce10TextEditorE, i32 0, i32 1, i32 2), ptr %16, align 8, !tbaa !11
  %17 = getelementptr inbounds i8, ptr %10, i64 208
  store ptr getelementptr inbounds inrange(-16, 32) ({ [59 x ptr], [12 x ptr], [6 x ptr] }, ptr @_ZTVN4juce10TextEditorE, i32 0, i32 2, i32 2), ptr %17, align 8, !tbaa !11
  %18 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 3
  call void @_ZN4juce13ScopedPointerINS_8ViewportEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %19 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 5
  call void @_ZN4juce10BorderSizeIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 3) #8
  %20 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 6
  store i8 0, ptr %20, align 8, !tbaa !13
  %21 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 7
  store i8 1, ptr %21, align 1, !tbaa !85
  %22 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 8
  store i8 0, ptr %22, align 2, !tbaa !86
  %23 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 9
  store i8 0, ptr %23, align 1, !tbaa !87
  %24 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 10
  store i8 0, ptr %24, align 4, !tbaa !88
  %25 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 11
  store i8 1, ptr %25, align 1, !tbaa !89
  %26 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 12
  store i8 0, ptr %26, align 2, !tbaa !90
  %27 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 13
  store i8 1, ptr %27, align 1, !tbaa !91
  %28 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 14
  store i8 0, ptr %28, align 8, !tbaa !92
  %29 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 15
  store i8 1, ptr %29, align 1, !tbaa !93
  %30 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 16
  store i8 0, ptr %30, align 2, !tbaa !94
  %31 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 17
  store i8 0, ptr %31, align 1, !tbaa !95
  %32 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 18
  store i8 0, ptr %32, align 4, !tbaa !96
  %33 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 19
  store i8 1, ptr %33, align 1, !tbaa !97
  %34 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 20
  store i8 0, ptr %34, align 2, !tbaa !98
  %35 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 22
  invoke void @_ZN4juce11UndoManagerC1Eii(ptr noundef nonnull align 8 dereferenceable(130) %35, i32 noundef 30000, i32 noundef 30)
          to label %36 unwind label %92

36:                                               ; preds = %15
  %37 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 23
  call void @_ZN4juce13ScopedPointerINS_14CaretComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  %38 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 24
  call void @_ZN4juce5RangeIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %38) #8
  %39 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 25
  store i32 4, ptr %39, align 8, !tbaa !99
  %40 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 26
  store i32 4, ptr %40, align 4, !tbaa !100
  %41 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 27
  store i32 0, ptr %41, align 8, !tbaa !101
  %42 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 28
  invoke void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8) %42, float noundef 1.400000e+01, i32 noundef 0)
          to label %43 unwind label %96

43:                                               ; preds = %36
  %44 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 29
  store i32 0, ptr %44, align 8, !tbaa !102
  %45 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 30
  store i32 0, ptr %45, align 4, !tbaa !103
  %46 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 31
  call void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %46) #8
  %47 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 32
  call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  %48 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 33
  call void @_ZN4juce6ColourC1Ev(ptr noundef nonnull align 1 dereferenceable(4) %48) #8
  %49 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 34
  %50 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %50, ptr %49, align 4, !tbaa !104
  %51 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 35
  invoke void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEEC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %51)
          to label %52 unwind label %100

52:                                               ; preds = %43
  %53 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 36
  invoke void @_ZN4juce5ValueC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %54 unwind label %104

54:                                               ; preds = %52
  %55 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 37
  store i32 0, ptr %55, align 8, !tbaa !105
  %56 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 38
  store i32 0, ptr %56, align 4, !tbaa !106
  %57 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 39
  invoke void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %58 unwind label %108

58:                                               ; preds = %54
  %59 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 40
  call void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %59) #8
  invoke void @_ZN4juce9Component9setOpaqueEb(ptr noundef nonnull align 8 dereferenceable(197) %10, i1 noundef zeroext true)
          to label %60 unwind label %112

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  invoke void @_ZN4juce11MouseCursorC1ENS0_18StandardCursorTypeE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 4)
          to label %61 unwind label %116

61:                                               ; preds = %60
  invoke void @_ZN4juce9Component14setMouseCursorERKNS_11MouseCursorE(ptr noundef nonnull align 8 dereferenceable(197) %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %62 unwind label %120

62:                                               ; preds = %61
  call void @_ZN4juce11MouseCursorD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  %63 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 1240) #9
          to label %64 unwind label %112

64:                                               ; preds = %62
  invoke void @_ZN4juce18TextEditorViewportC2ERNS_10TextEditorE(ptr noundef nonnull align 8 dereferenceable(1237) %63, ptr noundef nonnull align 8 dereferenceable(600) %10)
          to label %65 unwind label %125

65:                                               ; preds = %64
  %66 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 3
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_8ViewportEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef %63)
          to label %68 unwind label %112

68:                                               ; preds = %65
  %69 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #8
  invoke void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %10, ptr noundef %69, i32 noundef -1)
          to label %70 unwind label %112

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 3
  %72 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #8
  %73 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #9
          to label %74 unwind label %112

74:                                               ; preds = %70
  invoke void @_ZN4juce10TextEditor19TextHolderComponentC2ERS0_(ptr noundef nonnull align 8 dereferenceable(248) %73, ptr noundef nonnull align 8 dereferenceable(600) %10)
          to label %75 unwind label %129

75:                                               ; preds = %74
  %76 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 4
  store ptr %73, ptr %76, align 8, !tbaa !107
  invoke void @_ZN4juce8Viewport18setViewedComponentEPNS_9ComponentEb(ptr noundef nonnull align 8 dereferenceable(1224) %72, ptr noundef %73, i1 noundef zeroext true)
          to label %77 unwind label %112

77:                                               ; preds = %75
  %78 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 3
  %79 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #8
  call void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %79, i1 noundef zeroext false) #8
  %80 = getelementptr inbounds %"class.juce::TextEditor", ptr %10, i32 0, i32 3
  %81 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %80) #8
  invoke void @_ZN4juce8Viewport18setScrollBarsShownEbbbb(ptr noundef nonnull align 8 dereferenceable(1224) %81, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %82 unwind label %112

82:                                               ; preds = %77
  call void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %10, i1 noundef zeroext true) #8
  invoke void @_ZN4juce10TextEditor13recreateCaretEv(ptr noundef nonnull align 8 dereferenceable(600) %10)
          to label %83 unwind label %112

83:                                               ; preds = %82
  ret void

84:                                               ; preds = %3
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %142

88:                                               ; preds = %13
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %140

92:                                               ; preds = %15
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  br label %138

96:                                               ; preds = %36
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  br label %137

100:                                              ; preds = %43
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  br label %136

104:                                              ; preds = %52
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  br label %135

108:                                              ; preds = %54
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %7, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %8, align 4
  br label %134

112:                                              ; preds = %82, %77, %75, %70, %68, %65, %62, %58
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %7, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %8, align 4
  br label %133

116:                                              ; preds = %60
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %7, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %8, align 4
  br label %124

120:                                              ; preds = %61
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %7, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %8, align 4
  call void @_ZN4juce11MouseCursorD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br label %124

124:                                              ; preds = %120, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %133

125:                                              ; preds = %64
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %7, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %63, i64 noundef 1240) #10
  br label %133

129:                                              ; preds = %74
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %7, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %73, i64 noundef 248) #10
  br label %133

133:                                              ; preds = %129, %125, %124, %112
  call void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %59) #8
  call void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  br label %134

134:                                              ; preds = %133, %108
  call void @_ZN4juce5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  br label %135

135:                                              ; preds = %134, %104
  call void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %51) #8
  br label %136

136:                                              ; preds = %135, %100
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %48) #8
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %46) #8
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  br label %137

137:                                              ; preds = %136, %96
  call void @_ZN4juce13ScopedPointerINS_14CaretComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @_ZN4juce11UndoManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(130) %35) #8
  br label %138

138:                                              ; preds = %137, %92
  call void @_ZN4juce13ScopedPointerINS_8ViewportEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %139 = getelementptr inbounds i8, ptr %10, i64 208
  call void @_ZN4juce21SettableTooltipClientD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %139) #8
  br label %140

140:                                              ; preds = %138, %88
  %141 = getelementptr inbounds i8, ptr %10, i64 200
  call void @_ZN4juce15TextInputTargetD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %141) #8
  br label %142

142:                                              ; preds = %140, %84
  call void @_ZN4juce9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(197) %10) #8
  br label %143

143:                                              ; preds = %142
  %144 = load ptr, ptr %7, align 8
  %145 = load i32, ptr %8, align 4
  %146 = insertvalue { ptr, i32 } poison, ptr %144, 0
  %147 = insertvalue { ptr, i32 } %146, i32 %145, 1
  resume { ptr, i32 } %147
}

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

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

declare void @_ZN4juce11UndoManagerC1Eii(ptr noundef nonnull align 8 dereferenceable(130), i32 noundef, i32 noundef) unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEEC2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEED2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare void @_ZN4juce11UndoManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(130)) unnamed_addr #0

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(197)) unnamed_addr #1 align 2

declare void @_ZN4juce11MouseCursorC1ENS0_18StandardCursorTypeE(ptr, i32)

declare void @_ZN4juce11MouseCursorD1Ev(ptr)

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


; 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::MouseCursor" = type { ptr }

@_ZTVN4juce10TextEditorE = external dso_local unnamed_addr constant { [59 x ptr], [12 x ptr], [6 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component9setOpaqueEb(ptr noundef nonnull align 8 dereferenceable(197), i1 noundef zeroext) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component14setMouseCursorERKNS_11MouseCursorE(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197), i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

declare void @_ZN4juce5ValueC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN4juce5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0

declare void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8), float noundef, i32 noundef) unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8Viewport18setViewedComponentEPNS_9ComponentEb(ptr noundef nonnull align 8 dereferenceable(1224), ptr noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8Viewport18setScrollBarsShownEbbbb(ptr noundef nonnull align 8 dereferenceable(1224), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce10TextEditorC2ERKNS_6StringEw(ptr noundef nonnull align 8 dereferenceable(600) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef signext %2) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.juce::MouseCursor", align 8
  tail call void @_ZN4juce9ComponentC2ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) #8
  %5 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @_ZN4juce15TextInputTargetC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZN4juce21SettableTooltipClientC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
  store ptr getelementptr inbounds inrange(-16, 456) (i8, ptr @_ZTVN4juce10TextEditorE, i64 16), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 80) (i8, ptr @_ZTVN4juce10TextEditorE, i64 488), ptr %5, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTVN4juce10TextEditorE, i64 584), ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN4juce13ScopedPointerINS_8ViewportEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %8 = getelementptr inbounds i8, ptr %0, i64 240
  tail call void @_ZN4juce10BorderSizeIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 3) #8
  %9 = getelementptr inbounds i8, ptr %0, i64 256
  store <8 x i8> <i8 0, i8 1, i8 0, i8 0, i8 0, i8 1, i8 0, i8 1>, ptr %9, align 8, !tbaa !8
  %10 = getelementptr inbounds i8, ptr %0, i64 264
  store <4 x i8> <i8 0, i8 1, i8 0, i8 0>, ptr %10, align 8, !tbaa !8
  %11 = getelementptr inbounds i8, ptr %0, i64 268
  store i8 0, ptr %11, align 4, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %0, i64 269
  store i8 1, ptr %12, align 1, !tbaa !84
  %13 = getelementptr inbounds i8, ptr %0, i64 270
  store i8 0, ptr %13, align 2, !tbaa !85
  %14 = getelementptr inbounds i8, ptr %0, i64 272
  invoke void @_ZN4juce11UndoManagerC1Eii(ptr noundef nonnull align 8 dereferenceable(130) %14, i32 noundef 30000, i32 noundef 30)
          to label %15 unwind label %55

15:                                               ; preds = %3
  %16 = getelementptr inbounds i8, ptr %0, i64 408
  tail call void @_ZN4juce13ScopedPointerINS_14CaretComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  %17 = getelementptr inbounds i8, ptr %0, i64 416
  tail call void @_ZN4juce5RangeIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %17) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 424
  store i32 4, ptr %18, align 8, !tbaa !86
  %19 = getelementptr inbounds i8, ptr %0, i64 428
  store i32 4, ptr %19, align 4, !tbaa !87
  %20 = getelementptr inbounds i8, ptr %0, i64 432
  store i32 0, ptr %20, align 8, !tbaa !88
  %21 = getelementptr inbounds i8, ptr %0, i64 440
  invoke void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8) %21, float noundef 1.400000e+01, i32 noundef 0)
          to label %22 unwind label %57

22:                                               ; preds = %15
  %23 = getelementptr inbounds i8, ptr %0, i64 448
  store i32 0, ptr %23, align 8, !tbaa !89
  %24 = getelementptr inbounds i8, ptr %0, i64 452
  store i32 0, ptr %24, align 4, !tbaa !90
  %25 = getelementptr inbounds i8, ptr %0, i64 456
  tail call void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %25) #8
  %26 = getelementptr inbounds i8, ptr %0, i64 480
  tail call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %27 = getelementptr inbounds i8, ptr %0, i64 488
  tail call void @_ZN4juce6ColourC1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #8
  %28 = getelementptr inbounds i8, ptr %0, i64 492
  store i32 %2, ptr %28, align 4, !tbaa !91
  %29 = getelementptr inbounds i8, ptr %0, i64 496
  tail call void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEEC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %29)
  %30 = getelementptr inbounds i8, ptr %0, i64 512
  invoke void @_ZN4juce5ValueC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %31 unwind label %59

31:                                               ; preds = %22
  %32 = getelementptr inbounds i8, ptr %0, i64 544
  store i32 0, ptr %32, align 8, !tbaa !92
  %33 = getelementptr inbounds i8, ptr %0, i64 548
  store i32 0, ptr %33, align 4, !tbaa !93
  %34 = getelementptr inbounds i8, ptr %0, i64 552
  tail call void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34)
  %35 = getelementptr inbounds i8, ptr %0, i64 576
  tail call void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %35) #8
  invoke void @_ZN4juce9Component9setOpaqueEb(ptr noundef nonnull align 8 dereferenceable(197) %0, i1 noundef zeroext true)
          to label %36 unwind label %61

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  invoke void @_ZN4juce11MouseCursorC1ENS0_18StandardCursorTypeE(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 4)
          to label %37 unwind label %63

37:                                               ; preds = %36
  invoke void @_ZN4juce9Component14setMouseCursorERKNS_11MouseCursorE(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %38 unwind label %65

38:                                               ; preds = %37
  call void @_ZN4juce11MouseCursorD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  %39 = invoke noalias noundef nonnull dereferenceable(1240) ptr @_Znwm(i64 noundef 1240) #9
          to label %40 unwind label %61

40:                                               ; preds = %38
  invoke void @_ZN4juce18TextEditorViewportC2ERNS_10TextEditorE(ptr noundef nonnull align 8 dereferenceable(1237) %39, ptr noundef nonnull align 8 dereferenceable(600) %0)
          to label %41 unwind label %68

41:                                               ; preds = %40
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_8ViewportEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %39)
  %43 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  invoke void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef %43, i32 noundef -1)
          to label %44 unwind label %61

44:                                               ; preds = %41
  %45 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %46 = invoke noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #9
          to label %47 unwind label %61

47:                                               ; preds = %44
  invoke void @_ZN4juce10TextEditor19TextHolderComponentC2ERS0_(ptr noundef nonnull align 8 dereferenceable(248) %46, ptr noundef nonnull align 8 dereferenceable(600) %0)
          to label %48 unwind label %70

48:                                               ; preds = %47
  %49 = getelementptr inbounds i8, ptr %0, i64 232
  store ptr %46, ptr %49, align 8, !tbaa !94
  invoke void @_ZN4juce8Viewport18setViewedComponentEPNS_9ComponentEb(ptr noundef nonnull align 8 dereferenceable(1224) %45, ptr noundef nonnull %46, i1 noundef zeroext true)
          to label %50 unwind label %61

50:                                               ; preds = %48
  %51 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %51, i1 noundef zeroext false) #8
  %52 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ViewportEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  invoke void @_ZN4juce8Viewport18setScrollBarsShownEbbbb(ptr noundef nonnull align 8 dereferenceable(1224) %52, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %53 unwind label %61

53:                                               ; preds = %50
  call void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %0, i1 noundef zeroext true) #8
  invoke void @_ZN4juce10TextEditor13recreateCaretEv(ptr noundef nonnull align 8 dereferenceable(600) %0)
          to label %54 unwind label %61

54:                                               ; preds = %53
  ret void

55:                                               ; preds = %3
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %75

57:                                               ; preds = %15
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %74

59:                                               ; preds = %22
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %73

61:                                               ; preds = %53, %50, %48, %44, %41, %38, %31
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %72

63:                                               ; preds = %36
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %37
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce11MouseCursorD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  br label %67

67:                                               ; preds = %65, %63
  %.pn = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %72

68:                                               ; preds = %40
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %39, i64 noundef 1240) #10
  br label %72

70:                                               ; preds = %47
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %46, i64 noundef 248) #10
  br label %72

72:                                               ; preds = %70, %68, %67, %61
  %.pn10 = phi { ptr, i32 } [ %62, %61 ], [ %71, %70 ], [ %69, %68 ], [ %.pn, %67 ]
  call void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %35) #8
  call void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @_ZN4juce5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %73

73:                                               ; preds = %72, %59
  %.pn10.pn = phi { ptr, i32 } [ %.pn10, %72 ], [ %60, %59 ]
  call void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %29) #8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #8
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %25) #8
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %74

74:                                               ; preds = %73, %57
  %.pn10.pn.pn = phi { ptr, i32 } [ %.pn10.pn, %73 ], [ %58, %57 ]
  call void @_ZN4juce13ScopedPointerINS_14CaretComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @_ZN4juce11UndoManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(130) %14) #8
  br label %75

75:                                               ; preds = %74, %55
  %.pn10.pn.pn.pn = phi { ptr, i32 } [ %.pn10.pn.pn, %74 ], [ %56, %55 ]
  call void @_ZN4juce13ScopedPointerINS_8ViewportEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @_ZN4juce21SettableTooltipClientD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @_ZN4juce15TextInputTargetD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @_ZN4juce9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(197) %0) #8
  resume { ptr, i32 } %.pn10.pn.pn.pn
}

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

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

declare void @_ZN4juce11UndoManagerC1Eii(ptr noundef nonnull align 8 dereferenceable(130), i32 noundef, i32 noundef) unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEEC2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayINS_5RangeIiEENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce12ListenerListINS_10TextEditor8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce21OptionalScopedPointerINS_10TextEditor11InputFilterEED2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_10TextEditor18UniformTextSectionENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare void @_ZN4juce11UndoManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(130)) unnamed_addr #0

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(197)) unnamed_addr #1 align 2

declare void @_ZN4juce11MouseCursorC1ENS0_18StandardCursorTypeE(ptr, i32) local_unnamed_addr

declare void @_ZN4juce11MouseCursorD1Ev(ptr) local_unnamed_addr

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass