; 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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Array.404" = type { %"class.juce::ArrayAllocationBase.303", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.303" = type <{ %"class.juce::HeapBlock.304", i32, [4 x i8] }>
%"class.juce::HeapBlock.304" = type { ptr }
%"class.juce::Array.288" = type { %"class.juce::ArrayAllocationBase.289", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.289" = type <{ %"class.juce::HeapBlock.290", i32, [4 x i8] }>
%"class.juce::HeapBlock.290" = type { ptr }
%"class.juce::AlertWindow" = type <{ %"class.juce::TopLevelWindow", %"class.juce::Button::Listener", %"class.juce::String", %"class.juce::TextLayout", i32, [4 x i8], %"class.juce::ComponentBoundsConstrainer", %"class.juce::ComponentDragger", %"class.juce::Rectangle", %"class.juce::OwnedArray.302", %"class.juce::OwnedArray.307", %"class.juce::OwnedArray.312", %"class.juce::OwnedArray.317", %"class.juce::Array", %"class.juce::OwnedArray.322", %"class.juce::Array", %"class.juce::StringArray", %"class.juce::StringArray", ptr, i8, [7 x i8] }>
%"class.juce::TopLevelWindow" = type { %"class.juce::Component.base", i8, i8, i8, %"class.juce::ScopedPointer.293" }
%"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::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = 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::ScopedPointer.293" = type { ptr }
%"class.juce::Button::Listener" = type { ptr }
%"class.juce::TextLayout" = type { %"class.juce::OwnedArray.296", float, float, %"class.juce::Justification", [4 x i8] }
%"class.juce::OwnedArray.296" = type { %"class.juce::ArrayAllocationBase.297", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.297" = type <{ %"class.juce::HeapBlock.298", i32, [4 x i8] }>
%"class.juce::HeapBlock.298" = type { ptr }
%"class.juce::Justification" = type { i32 }
%"class.juce::ComponentBoundsConstrainer" = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, double }
%"class.juce::ComponentDragger" = type { ptr, %"class.juce::Point" }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::OwnedArray.302" = type { %"class.juce::ArrayAllocationBase.303", i32, [4 x i8] }
%"class.juce::OwnedArray.307" = type { %"class.juce::ArrayAllocationBase.308", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.308" = type <{ %"class.juce::HeapBlock.309", i32, [4 x i8] }>
%"class.juce::HeapBlock.309" = type { ptr }
%"class.juce::OwnedArray.312" = type { %"class.juce::ArrayAllocationBase.313", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.313" = type <{ %"class.juce::HeapBlock.314", i32, [4 x i8] }>
%"class.juce::HeapBlock.314" = type { ptr }
%"class.juce::OwnedArray.317" = type { %"class.juce::ArrayAllocationBase.318", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.318" = type <{ %"class.juce::HeapBlock.319", i32, [4 x i8] }>
%"class.juce::HeapBlock.319" = type { ptr }
%"class.juce::OwnedArray.322" = 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::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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) #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197)) #5 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce6Button11addShortcutERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(375), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce11AlertWindow9addButtonERKNS_6StringEiRKNS_8KeyPressES6_(ptr noundef nonnull align 8 dereferenceable(577) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4) #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.juce::String", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i1, align 1
  %16 = alloca %"class.juce::Array.404", align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.juce::Array.288", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %22 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 376) #8
  store i1 true, ptr %15, align 1
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  invoke void @_ZN4juce10TextButtonC1ERKNS_6StringES3_(ptr noundef nonnull align 8 dereferenceable(375) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %24 unwind label %64

24:                                               ; preds = %5
  store i1 false, ptr %15, align 1
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  store ptr %22, ptr %11, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.juce::AlertWindow", ptr %21, i32 0, i32 9
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE3addEPS1_(ptr noundef nonnull align 8 dereferenceable(20) %25, ptr noundef %26) #7
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %28, i1 noundef zeroext true) #7
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN4juce9Component31setMouseClickGrabsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %29, i1 noundef zeroext false)
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN4juce6Button19setCommandToTriggerEPNS_25ApplicationCommandManagerEib(ptr noundef nonnull align 8 dereferenceable(375) %30, ptr noundef null, i32 noundef %31, i1 noundef zeroext false)
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4juce6Button11addShortcutERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(375) %32, ptr noundef nonnull align 4 dereferenceable(12) %33)
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN4juce6Button11addShortcutERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(375) %34, ptr noundef nonnull align 4 dereferenceable(12) %35)
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %21, i64 208
  call void @_ZN4juce6Button11addListenerEPNS0_8ListenerE(ptr noundef nonnull align 8 dereferenceable(375) %36, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  %38 = getelementptr inbounds %"class.juce::AlertWindow", ptr %21, i32 0, i32 9
  %39 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE5beginEv(ptr noundef nonnull align 8 dereferenceable(20) %38) #7
  %40 = getelementptr inbounds %"class.juce::AlertWindow", ptr %21, i32 0, i32 9
  %41 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %40) #7
  call void @_ZN4juce5ArrayIPNS_10TextButtonENS_20DummyCriticalSectionELi0EEC2IS2_EEPKT_i(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef %39, i32 noundef %41)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %42 = call noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197) %21) #7
  %43 = getelementptr inbounds i8, ptr %42, i64 56
  %44 = load ptr, ptr %43, align 8, !tbaa !11
  %45 = getelementptr inbounds ptr, ptr %44, i64 6
  %46 = load ptr, ptr %45, align 8
  %47 = invoke noundef i32 %46(ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %48 unwind label %71

48:                                               ; preds = %24
  store i32 %47, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #7
  %49 = call noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197) %21) #7
  %50 = getelementptr inbounds i8, ptr %49, i64 56
  %51 = load ptr, ptr %50, align 8, !tbaa !11
  %52 = getelementptr inbounds ptr, ptr %51, i64 5
  %53 = load ptr, ptr %52, align 8
  invoke void %53(ptr dead_on_unwind writable sret(%"class.juce::Array.288") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(577) %21, ptr noundef nonnull align 8 dereferenceable(20) %16)
          to label %54 unwind label %75

54:                                               ; preds = %48
  br label %55

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %58 = call noundef i32 @_ZNK4juce5ArrayIiNS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %18) #7
  store i32 %58, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %88, %57
  %60 = load i32, ptr %20, align 4, !tbaa !9
  %61 = load i32, ptr %19, align 4, !tbaa !9
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %79, label %63

63:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %95

64:                                               ; preds = %5
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %13, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %14, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %68 = load i1, ptr %15, align 1
  br i1 %68, label %69, label %70

69:                                               ; preds = %64
  call void @_ZdlPvm(ptr noundef %22, i64 noundef 376) #9
  br label %70

70:                                               ; preds = %69, %64
  br label %106

71:                                               ; preds = %24
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %13, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %14, align 4
  br label %105

75:                                               ; preds = %48
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %13, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %14, align 4
  br label %104

79:                                               ; preds = %59
  %80 = getelementptr inbounds %"class.juce::AlertWindow", ptr %21, i32 0, i32 9
  %81 = load i32, ptr %20, align 4, !tbaa !9
  %82 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %80, i32 noundef %81) #7
  %83 = load i32, ptr %20, align 4, !tbaa !9
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4juce5ArrayIiNS_20DummyCriticalSectionELi0EE12getReferenceEi(ptr noundef nonnull align 8 dereferenceable(20) %18, i32 noundef %83) #7
  %85 = load i32, ptr %84, align 4, !tbaa !9
  %86 = load i32, ptr %17, align 4, !tbaa !9
  invoke void @_ZN4juce9Component7setSizeEii(ptr noundef nonnull align 8 dereferenceable(197) %82, i32 noundef %85, i32 noundef %86)
          to label %87 unwind label %91

87:                                               ; preds = %79
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %20, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %20, align 4, !tbaa !9
  br label %59, !llvm.loop !13

91:                                               ; preds = %79
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %13, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %103

95:                                               ; preds = %63
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %21, ptr noundef %96, i32 noundef 0)
          to label %97 unwind label %99

97:                                               ; preds = %95
  invoke void @_ZN4juce11AlertWindow12updateLayoutEb(ptr noundef nonnull align 8 dereferenceable(577) %21, i1 noundef zeroext false)
          to label %98 unwind label %99

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @_ZN4juce5ArrayIiNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @_ZN4juce5ArrayIPNS_10TextButtonENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  ret void

99:                                               ; preds = %97, %95
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %13, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %14, align 4
  br label %103

103:                                              ; preds = %99, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @_ZN4juce5ArrayIiNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %18) #7
  br label %104

104:                                              ; preds = %103, %75
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  br label %105

105:                                              ; preds = %104, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @_ZN4juce5ArrayIPNS_10TextButtonENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  br label %106

106:                                              ; preds = %105, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %13, align 8
  %109 = load i32, ptr %14, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce11AlertWindow12updateLayoutEb(ptr noundef nonnull align 8 dereferenceable(577), i1 noundef zeroext) #3 align 2

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

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

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

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

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

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

declare void @_ZN4juce10TextButtonC1ERKNS_6StringES3_(ptr, ptr, 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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { 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 #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, !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, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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

%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Array.404" = type { %"class.juce::ArrayAllocationBase.303", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.303" = type <{ %"class.juce::HeapBlock.304", i32, [4 x i8] }>
%"class.juce::HeapBlock.304" = type { ptr }
%"class.juce::Array.288" = type { %"class.juce::ArrayAllocationBase.289", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.289" = type <{ %"class.juce::HeapBlock.290", i32, [4 x i8] }>
%"class.juce::HeapBlock.290" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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 #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #5 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 #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce6Button11addShortcutERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(375), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce11AlertWindow9addButtonERKNS_6StringEiRKNS_8KeyPressES6_(ptr noundef nonnull align 8 dereferenceable(577) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.juce::String", align 8
  %7 = alloca %"class.juce::Array.404", align 8
  %8 = alloca %"class.juce::Array.288", align 8
  %9 = tail call noalias noundef nonnull dereferenceable(376) ptr @_Znwm(i64 noundef 376) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  invoke void @_ZN4juce10TextButtonC1ERKNS_6StringES3_(ptr noundef nonnull align 8 dereferenceable(375) %9, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %10 unwind label %31

10:                                               ; preds = %5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %11 = getelementptr inbounds i8, ptr %0, i64 352
  %12 = call noundef ptr @_ZN4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE3addEPS1_(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull %9) #8
  call void @_ZN4juce9Component21setWantsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %9, i1 noundef zeroext true) #8
  call void @_ZN4juce9Component31setMouseClickGrabsKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %9, i1 noundef zeroext false)
  call void @_ZN4juce6Button19setCommandToTriggerEPNS_25ApplicationCommandManagerEib(ptr noundef nonnull align 8 dereferenceable(375) %9, ptr noundef null, i32 noundef %2, i1 noundef zeroext false)
  call void @_ZN4juce6Button11addShortcutERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(375) %9, ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @_ZN4juce6Button11addShortcutERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(375) %9, ptr noundef nonnull align 4 dereferenceable(12) %4)
  %13 = getelementptr inbounds i8, ptr %0, i64 208
  call void @_ZN4juce6Button11addListenerEPNS0_8ListenerE(ptr noundef nonnull align 8 dereferenceable(375) %9, ptr noundef nonnull %13)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  %14 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE5beginEv(ptr noundef nonnull align 8 dereferenceable(20) %11) #8
  %15 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %11) #8
  call void @_ZN4juce5ArrayIPNS_10TextButtonENS_20DummyCriticalSectionELi0EEC2IS2_EEPKT_i(ptr noundef nonnull align 8 dereferenceable(20) %7, ptr noundef %14, i32 noundef %15)
  %16 = call noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #8
  %17 = getelementptr inbounds i8, ptr %16, i64 56
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 48
  %20 = load ptr, ptr %19, align 8
  %21 = invoke noundef i32 %20(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %22 unwind label %33

22:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  %23 = call noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #8
  %24 = getelementptr inbounds i8, ptr %23, i64 56
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 40
  %27 = load ptr, ptr %26, align 8
  invoke void %27(ptr dead_on_unwind nonnull writable sret(%"class.juce::Array.288") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(577) %0, ptr noundef nonnull align 8 dereferenceable(20) %7)
          to label %28 unwind label %35

28:                                               ; preds = %22
  %29 = call noundef i32 @_ZNK4juce5ArrayIiNS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %8) #8
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %40, %28
  invoke void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef nonnull %9, i32 noundef 0)
          to label %44 unwind label %46

31:                                               ; preds = %5
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @_ZdlPvm(ptr noundef nonnull %9, i64 noundef 376) #9
  br label %51

33:                                               ; preds = %10
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %50

35:                                               ; preds = %22
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %49

.lr.ph:                                           ; preds = %28, %40
  %.030 = phi i32 [ %41, %40 ], [ 0, %28 ]
  %37 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10TextButtonENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %11, i32 noundef %.030) #8
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4juce5ArrayIiNS_20DummyCriticalSectionELi0EE12getReferenceEi(ptr noundef nonnull align 8 dereferenceable(20) %8, i32 noundef %.030) #8
  %39 = load i32, ptr %38, align 4, !tbaa !8
  invoke void @_ZN4juce9Component7setSizeEii(ptr noundef nonnull align 8 dereferenceable(197) %37, i32 noundef %39, i32 noundef %21)
          to label %40 unwind label %42

40:                                               ; preds = %.lr.ph
  %41 = add nuw nsw i32 %.030, 1
  %exitcond.not = icmp eq i32 %41, %29
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

42:                                               ; preds = %.lr.ph
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %48

44:                                               ; preds = %._crit_edge
  invoke void @_ZN4juce11AlertWindow12updateLayoutEb(ptr noundef nonnull align 8 dereferenceable(577) %0, i1 noundef zeroext false)
          to label %45 unwind label %46

45:                                               ; preds = %44
  call void @_ZN4juce5ArrayIiNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZN4juce5ArrayIPNS_10TextButtonENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  ret void

46:                                               ; preds = %44, %._crit_edge
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %48

48:                                               ; preds = %46, %42
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %47, %46 ]
  call void @_ZN4juce5ArrayIiNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %8) #8
  br label %49

49:                                               ; preds = %48, %35
  %.pn.pn = phi { ptr, i32 } [ %.pn, %48 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  br label %50

50:                                               ; preds = %49, %33
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %49 ], [ %34, %33 ]
  call void @_ZN4juce5ArrayIPNS_10TextButtonENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %51

51:                                               ; preds = %31, %50
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %50 ], [ %32, %31 ]
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

declare void @_ZN4juce10TextButtonC1ERKNS_6StringES3_(ptr, ptr, 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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { 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 #7 = { builtin allocsize(0) }
attributes #8 = { nounwind }
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, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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