; 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"

%"struct.juce::StretchableLayoutManager::ItemLayoutProperties" = type { i32, i32, double, double, double }

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce24StretchableLayoutManager16layOutComponentsEPPNS_9ComponentEiiiiibb(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i1 noundef zeroext %7, i1 noundef zeroext %8) #2 align 2 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  %23 = zext i1 %7 to i8
  store i8 %23, ptr %17, align 1, !tbaa !11
  %24 = zext i1 %8 to i8
  store i8 %24, ptr %18, align 1, !tbaa !11
  %25 = load ptr, ptr %10, align 8
  %26 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %30

28:                                               ; preds = %9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  br label %32

30:                                               ; preds = %9
  %31 = load i32, ptr %15, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %30, %28
  %33 = phi i32 [ %29, %28 ], [ %31, %30 ]
  call void @_ZN4juce24StretchableLayoutManager12setTotalSizeEi(ptr noundef nonnull align 8 dereferenceable(28) %25, i32 noundef %33)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %34 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %38

36:                                               ; preds = %32
  %37 = load i32, ptr %14, align 4, !tbaa !9
  br label %40

38:                                               ; preds = %32
  %39 = load i32, ptr %13, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %38, %36
  %41 = phi i32 [ %37, %36 ], [ %39, %38 ]
  store i32 %41, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %185, %40
  %43 = load i32, ptr %20, align 4, !tbaa !9
  %44 = load i32, ptr %12, align 4, !tbaa !9
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %188

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %48 = load i32, ptr %20, align 4, !tbaa !9
  %49 = call noundef ptr @_ZNK4juce24StretchableLayoutManager10getInfoForEi(ptr noundef nonnull align 8 dereferenceable(28) %25, i32 noundef %48)
  store ptr %49, ptr %21, align 8, !tbaa !5
  %50 = load ptr, ptr %21, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %184

52:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = load i32, ptr %20, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds ptr, ptr %53, i64 %55
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  store ptr %57, ptr %22, align 8, !tbaa !5
  %58 = load ptr, ptr %22, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %178

60:                                               ; preds = %52
  %61 = load i32, ptr %20, align 4, !tbaa !9
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = sub nsw i32 %62, 1
  %64 = icmp eq i32 %61, %63
  br i1 %64, label %65, label %129

65:                                               ; preds = %60
  %66 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %96

68:                                               ; preds = %65
  %69 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %83

71:                                               ; preds = %68
  %72 = load ptr, ptr %22, align 8, !tbaa !5
  %73 = load i32, ptr %13, align 4, !tbaa !9
  %74 = load i32, ptr %19, align 4, !tbaa !9
  %75 = load i32, ptr %15, align 4, !tbaa !9
  %76 = load ptr, ptr %21, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %76, i32 0, i32 1
  %78 = load i32, ptr %77, align 4, !tbaa !15
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = sub nsw i32 %79, %80
  %82 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %78, i32 noundef %81)
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %72, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %82)
  br label %95

83:                                               ; preds = %68
  %84 = load ptr, ptr %22, align 8, !tbaa !5
  %85 = load i32, ptr %19, align 4, !tbaa !9
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = load ptr, ptr %21, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %87, i32 0, i32 1
  %89 = load i32, ptr %88, align 4, !tbaa !15
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = sub nsw i32 %90, %91
  %93 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %89, i32 noundef %92)
  %94 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %84, i32 noundef %85, i32 noundef %86, i32 noundef %93, i32 noundef %94)
  br label %95

95:                                               ; preds = %83, %71
  br label %128

96:                                               ; preds = %65
  %97 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %113

99:                                               ; preds = %96
  %100 = load ptr, ptr %22, align 8, !tbaa !5
  %101 = load ptr, ptr %22, align 8, !tbaa !5
  %102 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %101) #3
  %103 = load i32, ptr %19, align 4, !tbaa !9
  %104 = load ptr, ptr %22, align 8, !tbaa !5
  %105 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %104) #3
  %106 = load ptr, ptr %21, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %106, i32 0, i32 1
  %108 = load i32, ptr %107, align 4, !tbaa !15
  %109 = load i32, ptr %16, align 4, !tbaa !9
  %110 = load i32, ptr %19, align 4, !tbaa !9
  %111 = sub nsw i32 %109, %110
  %112 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %108, i32 noundef %111)
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %100, i32 noundef %102, i32 noundef %103, i32 noundef %105, i32 noundef %112)
  br label %127

113:                                              ; preds = %96
  %114 = load ptr, ptr %22, align 8, !tbaa !5
  %115 = load i32, ptr %19, align 4, !tbaa !9
  %116 = load ptr, ptr %22, align 8, !tbaa !5
  %117 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %116) #3
  %118 = load ptr, ptr %21, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %118, i32 0, i32 1
  %120 = load i32, ptr %119, align 4, !tbaa !15
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = sub nsw i32 %121, %122
  %124 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %120, i32 noundef %123)
  %125 = load ptr, ptr %22, align 8, !tbaa !5
  %126 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %125) #3
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %114, i32 noundef %115, i32 noundef %117, i32 noundef %124, i32 noundef %126)
  br label %127

127:                                              ; preds = %113, %99
  br label %128

128:                                              ; preds = %127, %95
  br label %177

129:                                              ; preds = %60
  %130 = load i8, ptr %18, align 1, !tbaa !11, !range !13, !noundef !14
  %131 = trunc i8 %130 to i1
  br i1 %131, label %132, label %152

132:                                              ; preds = %129
  %133 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %143

135:                                              ; preds = %132
  %136 = load ptr, ptr %22, align 8, !tbaa !5
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = load i32, ptr %19, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = load ptr, ptr %21, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !15
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %136, i32 noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %142)
  br label %151

143:                                              ; preds = %132
  %144 = load ptr, ptr %22, align 8, !tbaa !5
  %145 = load i32, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = load ptr, ptr %21, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %147, i32 0, i32 1
  %149 = load i32, ptr %148, align 4, !tbaa !15
  %150 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %144, i32 noundef %145, i32 noundef %146, i32 noundef %149, i32 noundef %150)
  br label %151

151:                                              ; preds = %143, %135
  br label %176

152:                                              ; preds = %129
  %153 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %165

155:                                              ; preds = %152
  %156 = load ptr, ptr %22, align 8, !tbaa !5
  %157 = load ptr, ptr %22, align 8, !tbaa !5
  %158 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %157) #3
  %159 = load i32, ptr %19, align 4, !tbaa !9
  %160 = load ptr, ptr %22, align 8, !tbaa !5
  %161 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %160) #3
  %162 = load ptr, ptr %21, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %162, i32 0, i32 1
  %164 = load i32, ptr %163, align 4, !tbaa !15
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %156, i32 noundef %158, i32 noundef %159, i32 noundef %161, i32 noundef %164)
  br label %175

165:                                              ; preds = %152
  %166 = load ptr, ptr %22, align 8, !tbaa !5
  %167 = load i32, ptr %19, align 4, !tbaa !9
  %168 = load ptr, ptr %22, align 8, !tbaa !5
  %169 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %168) #3
  %170 = load ptr, ptr %21, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %170, i32 0, i32 1
  %172 = load i32, ptr %171, align 4, !tbaa !15
  %173 = load ptr, ptr %22, align 8, !tbaa !5
  %174 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %173) #3
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %166, i32 noundef %167, i32 noundef %169, i32 noundef %172, i32 noundef %174)
  br label %175

175:                                              ; preds = %165, %155
  br label %176

176:                                              ; preds = %175, %151
  br label %177

177:                                              ; preds = %176, %128
  br label %178

178:                                              ; preds = %177, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  %179 = load ptr, ptr %21, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.juce::StretchableLayoutManager::ItemLayoutProperties", ptr %179, i32 0, i32 1
  %181 = load i32, ptr %180, align 4, !tbaa !15
  %182 = load i32, ptr %19, align 4, !tbaa !9
  %183 = add nsw i32 %182, %181
  store i32 %183, ptr %19, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %178, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %185

185:                                              ; preds = %184
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %20, align 4, !tbaa !9
  br label %42, !llvm.loop !18

188:                                              ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !10, i64 4}
!16 = !{!"_ZTSN4juce24StretchableLayoutManager20ItemLayoutPropertiesE", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 16, !17, i64 24}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"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"

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce24StretchableLayoutManager12setTotalSizeEi(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce24StretchableLayoutManager16layOutComponentsEPPNS_9ComponentEiiiiibb(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i1 noundef zeroext %7, i1 noundef zeroext %8) local_unnamed_addr #1 align 2 {
  %10 = select i1 %7, i32 %6, i32 %5
  tail call void @_ZN4juce24StretchableLayoutManager12setTotalSizeEi(ptr noundef nonnull align 8 dereferenceable(28) %0, i32 noundef %10)
  %11 = icmp sgt i32 %2, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %9
  %12 = select i1 %7, i32 %4, i32 %3
  %13 = add nsw i32 %2, -1
  %14 = zext nneg i32 %13 to i64
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %15

._crit_edge:                                      ; preds = %69, %9
  ret void

15:                                               ; preds = %.lr.ph, %69
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %69 ]
  %.079 = phi i32 [ %12, %.lr.ph ], [ %.1, %69 ]
  %16 = trunc nuw nsw i64 %indvars.iv to i32
  %17 = tail call noundef ptr @_ZNK4juce24StretchableLayoutManager10getInfoForEi(ptr noundef nonnull align 8 dereferenceable(28) %0, i32 noundef %16)
  %.not = icmp eq ptr %17, null
  br i1 %.not, label %69, label %18

18:                                               ; preds = %15
  %19 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %.not76 = icmp eq ptr %20, null
  br i1 %.not76, label %65, label %21

21:                                               ; preds = %18
  %22 = icmp eq i64 %indvars.iv, %14
  br i1 %22, label %23, label %48

23:                                               ; preds = %21
  br i1 %8, label %24, label %33

24:                                               ; preds = %23
  %25 = getelementptr inbounds i8, ptr %17, i64 4
  %26 = load i32, ptr %25, align 4, !tbaa !9
  br i1 %7, label %27, label %30

27:                                               ; preds = %24
  %28 = sub nsw i32 %6, %.079
  %29 = tail call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %26, i32 noundef %28)
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %3, i32 noundef %.079, i32 noundef %5, i32 noundef %29)
  br label %65

30:                                               ; preds = %24
  %31 = sub nsw i32 %5, %.079
  %32 = tail call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %26, i32 noundef %31)
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %.079, i32 noundef %4, i32 noundef %32, i32 noundef %6)
  br label %65

33:                                               ; preds = %23
  br i1 %7, label %34, label %41

34:                                               ; preds = %33
  %35 = tail call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  %36 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  %37 = getelementptr inbounds i8, ptr %17, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = sub nsw i32 %6, %.079
  %40 = tail call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %38, i32 noundef %39)
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %35, i32 noundef %.079, i32 noundef %36, i32 noundef %40)
  br label %65

41:                                               ; preds = %33
  %42 = tail call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  %43 = getelementptr inbounds i8, ptr %17, i64 4
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = sub nsw i32 %5, %.079
  %46 = tail call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %44, i32 noundef %45)
  %47 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %.079, i32 noundef %42, i32 noundef %46, i32 noundef %47)
  br label %65

48:                                               ; preds = %21
  br i1 %8, label %49, label %54

49:                                               ; preds = %48
  %50 = getelementptr inbounds i8, ptr %17, i64 4
  %51 = load i32, ptr %50, align 4, !tbaa !9
  br i1 %7, label %52, label %53

52:                                               ; preds = %49
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %3, i32 noundef %.079, i32 noundef %5, i32 noundef %51)
  br label %65

53:                                               ; preds = %49
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %.079, i32 noundef %4, i32 noundef %51, i32 noundef %6)
  br label %65

54:                                               ; preds = %48
  br i1 %7, label %55, label %60

55:                                               ; preds = %54
  %56 = tail call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  %57 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  %58 = getelementptr inbounds i8, ptr %17, i64 4
  %59 = load i32, ptr %58, align 4, !tbaa !9
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %56, i32 noundef %.079, i32 noundef %57, i32 noundef %59)
  br label %65

60:                                               ; preds = %54
  %61 = tail call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  %62 = getelementptr inbounds i8, ptr %17, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %20) #2
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %20, i32 noundef %.079, i32 noundef %61, i32 noundef %63, i32 noundef %64)
  br label %65

65:                                               ; preds = %34, %41, %27, %30, %55, %60, %52, %53, %18
  %66 = getelementptr inbounds i8, ptr %17, i64 4
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = add nsw i32 %67, %.079
  br label %69

69:                                               ; preds = %65, %15
  %.1 = phi i32 [ %68, %65 ], [ %.079, %15 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %15, !llvm.loop !13
}

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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !11, i64 4}
!10 = !{!"_ZTSN4juce24StretchableLayoutManager20ItemLayoutPropertiesE", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !12, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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