; 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::Point" = type { i32, i32 }
%"class.juce::RectangleList" = type { %"class.juce::Array.49" }
%"class.juce::Array.49" = type { %"class.juce::ArrayAllocationBase.50", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.50" = type <{ %"class.juce::HeapBlock.51", i32, [4 x i8] }>
%"class.juce::HeapBlock.51" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"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 }
%"class.juce::StringRef" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::BorderSize" = type { i32, i32, i32, i32 }
%"struct.juce::Desktop::Displays::Display" = type <{ %"class.juce::Rectangle", %"class.juce::Rectangle", double, double, i8, [7 x i8] }>

@.str.239 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(360) ptr @_ZN4juce7Desktop11getInstanceEv() #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4juce7Desktop11getDisplaysEv(ptr noundef nonnull align 8 dereferenceable(360)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZNK4juce7Desktop8Displays20getDisplayContainingENS_5PointIiEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Point") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #0

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce6jlimitIiEET_S1_S1_S1_(i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce9RectangleIiE7isEmptyEv(ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

; Function Attrs: nounwind
declare void @_ZN4juce9StringRefC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce7Desktop8Displays16getRectangleListEb(ptr dead_on_unwind noalias writable sret(%"class.juce::RectangleList") align 8, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i1 noundef zeroext) #5

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #4

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce15ResizableWindow28restoreWindowStateFromStringERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.juce::StringArray", align 8
  %7 = alloca %"class.juce::StringRef", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.juce::StringRef", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.juce::Rectangle", align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"class.juce::BorderSize", align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.juce::RectangleList", align 8
  %19 = alloca %"class.juce::Rectangle", align 4
  %20 = alloca %"class.juce::Rectangle", align 4
  %21 = alloca %"class.juce::Point", align 4
  %22 = alloca %"class.juce::BorderSize", align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %25 = invoke noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef %7, i1 noundef zeroext false)
          to label %26 unwind label %41

26:                                               ; preds = %2
  invoke void @_ZN4juce11StringArray18removeEmptyStringsEb(ptr noundef nonnull align 8 dereferenceable(24) %6, i1 noundef zeroext true)
          to label %27 unwind label %41

27:                                               ; preds = %26
  invoke void @_ZN4juce11StringArray4trimEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %28 unwind label %41

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 0) #6
  call void @_ZN4juce9StringRefC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef @.str.239) #6
  %30 = call noundef zeroext i1 @_ZNK4juce6String20startsWithIgnoreCaseENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef %11) #6
  %31 = zext i1 %30 to i8
  store i8 %31, ptr %10, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %32 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %33 = trunc i8 %32 to i1
  %34 = zext i1 %33 to i64
  %35 = select i1 %33, i32 1, i32 0
  store i32 %35, ptr %12, align 4, !tbaa !13
  %36 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %37 = load i32, ptr %12, align 4, !tbaa !13
  %38 = add nsw i32 %37, 4
  %39 = icmp ne i32 %36, %38
  br i1 %39, label %40, label %45

40:                                               ; preds = %28
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %174

41:                                               ; preds = %27, %26, %2
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  br label %176

45:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %46 = load i32, ptr %12, align 4, !tbaa !13
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %46) #6
  %48 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  %49 = load i32, ptr %12, align 4, !tbaa !13
  %50 = add nsw i32 %49, 1
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %50) #6
  %52 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #6
  %53 = load i32, ptr %12, align 4, !tbaa !13
  %54 = add nsw i32 %53, 2
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %54) #6
  %56 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #6
  %57 = load i32, ptr %12, align 4, !tbaa !13
  %58 = add nsw i32 %57, 3
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %58) #6
  %60 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #6
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %48, i32 noundef %52, i32 noundef %56, i32 noundef %60) #6
  %61 = call noundef zeroext i1 @_ZNK4juce9RectangleIiE7isEmptyEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  br i1 %61, label %62, label %63

62:                                               ; preds = %45
  store i1 false, ptr %3, align 1
  store i32 1, ptr %13, align 4
  br label %173

63:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %64 = call noundef zeroext i1 @_ZNK4juce9Component11isOnDesktopEv(ptr noundef nonnull align 8 dereferenceable(197) %23) #6
  br i1 %64, label %65, label %68

65:                                               ; preds = %63
  %66 = invoke noundef ptr @_ZNK4juce9Component7getPeerEv(ptr noundef nonnull align 8 dereferenceable(197) %23)
          to label %67 unwind label %79

67:                                               ; preds = %65
  br label %69

68:                                               ; preds = %63
  br label %69

69:                                               ; preds = %68, %67
  %70 = phi ptr [ %66, %67 ], [ null, %68 ]
  store ptr %70, ptr %15, align 8, !tbaa !5
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %87

73:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = load ptr, ptr %74, align 8, !tbaa !15
  %76 = getelementptr inbounds ptr, ptr %75, i64 20
  %77 = load ptr, ptr %76, align 8
  invoke void %77(ptr dead_on_unwind writable sret(%"class.juce::BorderSize") align 4 %16, ptr noundef nonnull align 8 dereferenceable(77) %74)
          to label %78 unwind label %83

78:                                               ; preds = %73
  call void @_ZNK4juce10BorderSizeIiE5addToERNS_9RectangleIiEE(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %87

79:                                               ; preds = %169, %163, %161, %157, %65
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %8, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %9, align 4
  br label %172

83:                                               ; preds = %73
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %172

87:                                               ; preds = %78, %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %88 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN4juce7Desktop11getInstanceEv()
          to label %89 unwind label %124

89:                                               ; preds = %87
  store ptr %88, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %90 = load ptr, ptr %17, align 8, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4juce7Desktop11getDisplaysEv(ptr noundef nonnull align 8 dereferenceable(360) %90) #6
  invoke void @_ZNK4juce7Desktop8Displays16getRectangleListEb(ptr dead_on_unwind writable sret(%"class.juce::RectangleList") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %91, i1 noundef zeroext true)
          to label %92 unwind label %128

92:                                               ; preds = %89
  %93 = invoke noundef zeroext i1 @_ZN4juce13RectangleListIiE6clipToERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %94 unwind label %132

94:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  call void @_ZNK4juce13RectangleListIiE9getBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %19, ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %95 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %19) #6
  %96 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %19) #6
  %97 = mul nsw i32 %95, %96
  %98 = icmp slt i32 %97, 1024
  br i1 %98, label %99, label %140

99:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4juce7Desktop11getDisplaysEv(ptr noundef nonnull align 8 dereferenceable(360) %100) #6
  call void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind writable sret(%"class.juce::Point") align 4 %21, ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %102 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZNK4juce7Desktop8Displays20getDisplayContainingENS_5PointIiEE(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef %21) #6
  %103 = getelementptr inbounds %"struct.juce::Desktop::Displays::Display", ptr %102, i32 0, i32 0
  call void @_ZN4juce9RectangleIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %103) #6
  %104 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %105 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  %106 = invoke noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %104, i32 noundef %105)
          to label %107 unwind label %136

107:                                              ; preds = %99
  %108 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %109 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  %110 = invoke noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %108, i32 noundef %109)
          to label %111 unwind label %136

111:                                              ; preds = %107
  call void @_ZN4juce9RectangleIiE7setSizeEii(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %106, i32 noundef %110) #6
  %112 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  %113 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  %114 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %115 = sub nsw i32 %113, %114
  %116 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %117 = call noundef i32 @_ZN4juce6jlimitIiEET_S1_S1_S1_(i32 noundef %112, i32 noundef %115, i32 noundef %116) #6
  %118 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  %119 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  %120 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %121 = sub nsw i32 %119, %120
  %122 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  %123 = call noundef i32 @_ZN4juce6jlimitIiEET_S1_S1_S1_(i32 noundef %118, i32 noundef %121, i32 noundef %122) #6
  call void @_ZN4juce9RectangleIiE11setPositionEii(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %117, i32 noundef %123) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %140

124:                                              ; preds = %87
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %8, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %9, align 4
  br label %152

128:                                              ; preds = %89
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %8, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %9, align 4
  br label %151

132:                                              ; preds = %92
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %8, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %9, align 4
  br label %150

136:                                              ; preds = %107, %99
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %8, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %9, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %150

140:                                              ; preds = %111, %94
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @_ZN4juce13RectangleListIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %141 = load ptr, ptr %15, align 8, !tbaa !5
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %157

143:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = load ptr, ptr %144, align 8, !tbaa !15
  %146 = getelementptr inbounds ptr, ptr %145, i64 20
  %147 = load ptr, ptr %146, align 8
  invoke void %147(ptr dead_on_unwind writable sret(%"class.juce::BorderSize") align 4 %22, ptr noundef nonnull align 8 dereferenceable(77) %144)
          to label %148 unwind label %153

148:                                              ; preds = %143
  call void @_ZNK4juce10BorderSizeIiE12subtractFromERNS_9RectangleIiEE(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN4juce13ComponentPeer22setNonFullScreenBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(77) %149, ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  br label %157

150:                                              ; preds = %136, %132
  call void @_ZN4juce13RectangleListIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %151

151:                                              ; preds = %150, %128
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  br label %152

152:                                              ; preds = %151, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %172

153:                                              ; preds = %143
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %8, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %172

157:                                              ; preds = %148, %140
  invoke void @_ZN4juce15ResizableWindow28updateLastPosIfNotFullScreenEv(ptr noundef nonnull align 8 dereferenceable(328) %23)
          to label %158 unwind label %79

158:                                              ; preds = %157
  %159 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %163

161:                                              ; preds = %158
  invoke void @_ZN4juce15ResizableWindow20setBoundsConstrainedERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(328) %23, ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %162 unwind label %79

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162, %158
  %164 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %165 = trunc i8 %164 to i1
  invoke void @_ZN4juce15ResizableWindow13setFullScreenEb(ptr noundef nonnull align 8 dereferenceable(328) %23, i1 noundef zeroext %165)
          to label %166 unwind label %79

166:                                              ; preds = %163
  %167 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %168 = trunc i8 %167 to i1
  br i1 %168, label %171, label %169

169:                                              ; preds = %166
  invoke void @_ZN4juce15ResizableWindow20setBoundsConstrainedERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(328) %23, ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %170 unwind label %79

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170, %166
  store i1 true, ptr %3, align 1
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %173

172:                                              ; preds = %153, %152, %83, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  br label %176

173:                                              ; preds = %171, %62
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %174

174:                                              ; preds = %173, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  %175 = load i1, ptr %3, align 1
  ret i1 %175

176:                                              ; preds = %172, %41
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  br label %177

177:                                              ; preds = %176
  %178 = load ptr, ptr %8, align 8
  %179 = load i32, ptr %9, align 4
  %180 = insertvalue { ptr, i32 } poison, ptr %178, 0
  %181 = insertvalue { ptr, i32 } %180, i32 %179, 1
  resume { ptr, i32 } %181
}

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

declare void @_ZN4juce11StringArray18removeEmptyStringsEb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #5

declare void @_ZN4juce11StringArray4trimEv(ptr noundef nonnull align 8 dereferenceable(24)) #5

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce6String20startsWithIgnoreCaseENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce13RectangleListIiE6clipToERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}


; 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::Point" = type { i32, i32 }
%"class.juce::RectangleList" = type { %"class.juce::Array.49" }
%"class.juce::Array.49" = type { %"class.juce::ArrayAllocationBase.50", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.50" = type <{ %"class.juce::HeapBlock.51", i32, [4 x i8] }>
%"class.juce::HeapBlock.51" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"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 }
%"class.juce::StringRef" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::BorderSize" = type { i32, i32, i32, i32 }

@.str.239 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ComponentPeer22setNonFullScreenBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(77), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4juce7Desktop11getDisplaysEv(ptr noundef nonnull align 8 dereferenceable(360)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZNK4juce7Desktop8Displays20getDisplayContainingENS_5PointIiEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Point") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce6jlimitIiEET_S1_S1_S1_(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce9RectangleIiE7isEmptyEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare void @_ZN4juce9StringRefC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce7Desktop8Displays16getRectangleListEb(ptr dead_on_unwind noalias writable sret(%"class.juce::RectangleList") align 8, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce15ResizableWindow28restoreWindowStateFromStringERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::StringArray", align 8
  %4 = alloca %"class.juce::StringRef", align 8
  %5 = alloca %"class.juce::StringRef", align 8
  %6 = alloca %"class.juce::Rectangle", align 4
  %7 = alloca %"class.juce::BorderSize", align 4
  %8 = alloca %"class.juce::RectangleList", align 8
  %9 = alloca %"class.juce::Rectangle", align 4
  %10 = alloca %"class.juce::Rectangle", align 4
  %11 = alloca %"class.juce::Point", align 4
  %12 = alloca %"class.juce::BorderSize", align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %1) #6
  %13 = invoke noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull %4, i1 noundef zeroext false)
          to label %14 unwind label %21

14:                                               ; preds = %2
  invoke void @_ZN4juce11StringArray18removeEmptyStringsEb(ptr noundef nonnull align 8 dereferenceable(24) %3, i1 noundef zeroext true)
          to label %15 unwind label %21

15:                                               ; preds = %14
  invoke void @_ZN4juce11StringArray4trimEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %16 unwind label %21

16:                                               ; preds = %15
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0) #6
  call void @_ZN4juce9StringRefC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull @.str.239) #6
  %18 = call noundef zeroext i1 @_ZNK4juce6String20startsWithIgnoreCaseENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull %5) #6
  %19 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %20 = select i1 %18, i32 5, i32 4
  %.not = icmp eq i32 %19, %20
  br i1 %.not, label %23, label %106

21:                                               ; preds = %15, %14, %2
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %107

23:                                               ; preds = %16
  %24 = zext i1 %18 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %24) #6
  %26 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %27 = select i1 %18, i32 2, i32 1
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %27) #6
  %29 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  %30 = select i1 %18, i32 3, i32 2
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %30) #6
  %32 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  %33 = select i1 %18, i32 4, i32 3
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %33) #6
  %35 = call noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %26, i32 noundef %29, i32 noundef %32, i32 noundef %35) #6
  %36 = call noundef zeroext i1 @_ZNK4juce9RectangleIiE7isEmptyEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  br i1 %36, label %105, label %37

37:                                               ; preds = %23
  %38 = call noundef zeroext i1 @_ZNK4juce9Component11isOnDesktopEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  br i1 %38, label %39, label %.thread

39:                                               ; preds = %37
  %40 = invoke noundef ptr @_ZNK4juce9Component7getPeerEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
          to label %41 unwind label %47

41:                                               ; preds = %39
  %.not28 = icmp eq ptr %40, null
  br i1 %.not28, label %.thread, label %42

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %43 = load ptr, ptr %40, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 160
  %45 = load ptr, ptr %44, align 8
  invoke void %45(ptr dead_on_unwind nonnull writable sret(%"class.juce::BorderSize") align 4 %7, ptr noundef nonnull align 8 dereferenceable(77) %40)
          to label %46 unwind label %49

46:                                               ; preds = %42
  call void @_ZNK4juce10BorderSizeIiE5addToERNS_9RectangleIiEE(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %.thread

47:                                               ; preds = %103, %101, %100, %98, %39
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %104

49:                                               ; preds = %42
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %104

.thread:                                          ; preds = %37, %46, %41
  %.not2835 = phi i1 [ false, %46 ], [ true, %41 ], [ true, %37 ]
  %51 = phi ptr [ %40, %46 ], [ null, %41 ], [ null, %37 ]
  %52 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN4juce7Desktop11getInstanceEv()
          to label %53 unwind label %83

53:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4juce7Desktop11getDisplaysEv(ptr noundef nonnull align 8 dereferenceable(360) %52) #6
  invoke void @_ZNK4juce7Desktop8Displays16getRectangleListEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::RectangleList") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %54, i1 noundef zeroext true)
          to label %55 unwind label %85

55:                                               ; preds = %53
  %56 = invoke noundef zeroext i1 @_ZN4juce13RectangleListIiE6clipToERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %57 unwind label %87

57:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZNK4juce13RectangleListIiE9getBoundsEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %9, ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %58 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  %59 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  %60 = mul nsw i32 %59, %58
  %61 = icmp slt i32 %60, 1024
  br i1 %61, label %62, label %89

62:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %63 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4juce7Desktop11getDisplaysEv(ptr noundef nonnull align 8 dereferenceable(360) %52) #6
  call void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %64 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZNK4juce7Desktop8Displays20getDisplayContainingENS_5PointIiEE(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull %11) #6
  call void @_ZN4juce9RectangleIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %64) #6
  %65 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %66 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  %67 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %65, i32 noundef %66)
  %68 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %69 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  %70 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %68, i32 noundef %69)
  call void @_ZN4juce9RectangleIiE7setSizeEii(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %67, i32 noundef %70) #6
  %71 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  %72 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  %73 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %74 = sub nsw i32 %72, %73
  %75 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %76 = call noundef i32 @_ZN4juce6jlimitIiEET_S1_S1_S1_(i32 noundef %71, i32 noundef %74, i32 noundef %75) #6
  %77 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  %78 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  %79 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %80 = sub nsw i32 %78, %79
  %81 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  %82 = call noundef i32 @_ZN4juce6jlimitIiEET_S1_S1_S1_(i32 noundef %77, i32 noundef %80, i32 noundef %81) #6
  call void @_ZN4juce9RectangleIiE11setPositionEii(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %76, i32 noundef %82) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %89

83:                                               ; preds = %.thread
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %104

85:                                               ; preds = %53
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %95

87:                                               ; preds = %55
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce13RectangleListIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %95

89:                                               ; preds = %62, %57
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN4juce13RectangleListIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br i1 %.not2835, label %98, label %90

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %91 = load ptr, ptr %51, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 160
  %93 = load ptr, ptr %92, align 8
  invoke void %93(ptr dead_on_unwind nonnull writable sret(%"class.juce::BorderSize") align 4 %12, ptr noundef nonnull align 8 dereferenceable(77) %51)
          to label %94 unwind label %96

94:                                               ; preds = %90
  call void @_ZNK4juce10BorderSizeIiE12subtractFromERNS_9RectangleIiEE(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN4juce13ComponentPeer22setNonFullScreenBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(77) %51, ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  br label %98

95:                                               ; preds = %87, %85
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %104

96:                                               ; preds = %90
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %104

98:                                               ; preds = %94, %89
  invoke void @_ZN4juce15ResizableWindow28updateLastPosIfNotFullScreenEv(ptr noundef nonnull align 8 dereferenceable(328) %0)
          to label %99 unwind label %47

99:                                               ; preds = %98
  br i1 %18, label %100, label %101

100:                                              ; preds = %99
  invoke void @_ZN4juce15ResizableWindow20setBoundsConstrainedERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %101 unwind label %47

101:                                              ; preds = %100, %99
  invoke void @_ZN4juce15ResizableWindow13setFullScreenEb(ptr noundef nonnull align 8 dereferenceable(328) %0, i1 noundef zeroext %18)
          to label %102 unwind label %47

102:                                              ; preds = %101
  br i1 %18, label %105, label %103

103:                                              ; preds = %102
  invoke void @_ZN4juce15ResizableWindow20setBoundsConstrainedERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %105 unwind label %47

104:                                              ; preds = %83, %95, %96, %49, %47
  %.pn31 = phi { ptr, i32 } [ %48, %47 ], [ %97, %96 ], [ %50, %49 ], [ %.pn, %95 ], [ %84, %83 ]
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %107

105:                                              ; preds = %102, %103, %23
  %.0 = xor i1 %36, true
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %106

106:                                              ; preds = %16, %105
  %.1 = phi i1 [ %.0, %105 ], [ false, %16 ]
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret i1 %.1

107:                                              ; preds = %104, %21
  %.pn31.pn = phi { ptr, i32 } [ %.pn31, %104 ], [ %22, %21 ]
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn31.pn
}

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce6String11getIntValueEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

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

declare void @_ZN4juce11StringArray18removeEmptyStringsEb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #5

declare void @_ZN4juce11StringArray4trimEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce6String20startsWithIgnoreCaseENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass