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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

declare void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #3

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

declare void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3

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

; Function Attrs: nounwind
declare noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() #4

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), float noundef) #4

declare void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(24)) #3

; Function Attrs: nounwind
declare void @_ZNK4juce15AffineTransform10translatedEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, ptr noundef nonnull align 4 dereferenceable(24), float noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V225drawSpinningWaitAnimationERNS_8GraphicsERKNS_6ColourEiiii(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 1 dereferenceable(4) %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca %"class.juce::Path", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.juce::Colour", align 1
  %26 = alloca %"class.juce::AffineTransform", align 4
  %27 = alloca %"class.juce::AffineTransform", align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  %28 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %29 = load i32, ptr %13, align 4, !tbaa !9
  %30 = load i32, ptr %14, align 4, !tbaa !9
  %31 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %29, i32 noundef %30)
  %32 = sitofp i32 %31 to float
  %33 = fmul float %32, 0x3FD99999A0000000
  store float %33, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %34 = load float, ptr %15, align 4, !tbaa !11
  %35 = fmul float %34, 0x3FC3333340000000
  store float %35, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #6
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %17)
  %36 = load float, ptr %15, align 4, !tbaa !11
  %37 = fmul float %36, 0x3FD99999A0000000
  %38 = load float, ptr %16, align 4, !tbaa !11
  %39 = fmul float %38, -5.000000e-01
  %40 = load float, ptr %15, align 4, !tbaa !11
  %41 = fmul float %40, 0x3FE3333340000000
  %42 = load float, ptr %16, align 4, !tbaa !11
  %43 = load float, ptr %16, align 4, !tbaa !11
  %44 = fmul float %43, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %17, float noundef %37, float noundef %39, float noundef %41, float noundef %42, float noundef %44)
          to label %45 unwind label %63

45:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %46 = load i32, ptr %11, align 4, !tbaa !9
  %47 = sitofp i32 %46 to float
  %48 = load i32, ptr %13, align 4, !tbaa !9
  %49 = sitofp i32 %48 to float
  %50 = call float @llvm.fmuladd.f32(float %49, float 5.000000e-01, float %47)
  store float %50, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %51 = load i32, ptr %12, align 4, !tbaa !9
  %52 = sitofp i32 %51 to float
  %53 = load i32, ptr %14, align 4, !tbaa !9
  %54 = sitofp i32 %53 to float
  %55 = call float @llvm.fmuladd.f32(float %54, float 5.000000e-01, float %52)
  store float %55, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %56 = call noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() #6
  %57 = udiv i32 %56, 100
  %58 = urem i32 %57, 12
  store i32 %58, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %87, %45
  %60 = load i32, ptr %23, align 4, !tbaa !9
  %61 = icmp ult i32 %60, 12
  br i1 %61, label %67, label %62

62:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %99

63:                                               ; preds = %7
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %18, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %19, align 4
  br label %100

67:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %68 = load i32, ptr %23, align 4, !tbaa !9
  %69 = add i32 %68, 12
  %70 = load i32, ptr %22, align 4, !tbaa !9
  %71 = sub i32 %69, %70
  %72 = urem i32 %71, 12
  store i32 %72, ptr %24, align 4, !tbaa !9
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load i32, ptr %24, align 4, !tbaa !9
  %76 = add i32 %75, 1
  %77 = uitofp i32 %76 to float
  %78 = fdiv float %77, 1.200000e+01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %25, ptr noundef nonnull align 1 dereferenceable(4) %74, float noundef %78) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %73, ptr noundef %25)
          to label %79 unwind label %90

79:                                               ; preds = %67
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  %81 = load i32, ptr %23, align 4, !tbaa !9
  %82 = uitofp i32 %81 to float
  %83 = fmul float %82, 0x3FE0C15240000000
  call void @_ZN4juce15AffineTransform8rotationEf(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %27, float noundef %83) #6
  %84 = load float, ptr %20, align 4, !tbaa !11
  %85 = load float, ptr %21, align 4, !tbaa !11
  call void @_ZNK4juce15AffineTransform10translatedEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %26, ptr noundef nonnull align 4 dereferenceable(24) %27, float noundef %84, float noundef %85) #6
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %80, ptr noundef nonnull align 8 dereferenceable(41) %17, ptr noundef nonnull align 4 dereferenceable(24) %26)
          to label %86 unwind label %94

86:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %87

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

90:                                               ; preds = %67
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %18, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %19, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  br label %98

94:                                               ; preds = %79
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %18, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %98

98:                                               ; preds = %94, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %100

99:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  ret void

100:                                              ; preds = %98, %63
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %101

101:                                              ; preds = %100
  %102 = load ptr, ptr %18, align 8
  %103 = load i32, ptr %19, align 4
  %104 = insertvalue { ptr, i32 } poison, ptr %102, 0
  %105 = insertvalue { ptr, i32 } %104, i32 %103, 1
  resume { ptr, i32 } %105
}

declare void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef, float noundef) #3

; Function Attrs: nounwind
declare void @_ZN4juce15AffineTransform8rotationEf(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, float noundef) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"float", !7, 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress 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 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

declare void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #3

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

declare void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3

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

; Function Attrs: nounwind
declare noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), float noundef) local_unnamed_addr #4

declare void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZNK4juce15AffineTransform10translatedEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, ptr noundef nonnull align 4 dereferenceable(24), float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V225drawSpinningWaitAnimationERNS_8GraphicsERKNS_6ColourEiiii(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 1 dereferenceable(4) %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.juce::Path", align 8
  %9 = alloca %"class.juce::Colour", align 1
  %10 = alloca %"class.juce::AffineTransform", align 4
  %11 = alloca %"class.juce::AffineTransform", align 4
  %12 = tail call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %5, i32 noundef %6)
  %13 = sitofp i32 %12 to float
  %14 = fmul float %13, 0x3FD99999A0000000
  %15 = fmul float %14, 0x3FC3333340000000
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %8)
  %16 = fmul float %14, 0x3FD99999A0000000
  %17 = fmul float %15, -5.000000e-01
  %18 = fmul float %14, 0x3FE3333340000000
  %19 = fmul float %15, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %8, float noundef %16, float noundef %17, float noundef %18, float noundef %15, float noundef %19)
          to label %20 unwind label %31

20:                                               ; preds = %7
  %21 = sitofp i32 %3 to float
  %22 = sitofp i32 %5 to float
  %23 = call float @llvm.fmuladd.f32(float %22, float 5.000000e-01, float %21)
  %24 = sitofp i32 %4 to float
  %25 = sitofp i32 %6 to float
  %26 = call float @llvm.fmuladd.f32(float %25, float 5.000000e-01, float %24)
  %27 = call noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() #6
  %28 = udiv i32 %27, 100
  %29 = urem i32 %28, 12
  br label %33

30:                                               ; preds = %42
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  ret void

31:                                               ; preds = %7
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %48

33:                                               ; preds = %20, %42
  %.02530 = phi i32 [ 0, %20 ], [ %43, %42 ]
  %reass.sub = sub nsw i32 %.02530, %29
  %34 = add nsw i32 %reass.sub, 12
  %.cmp = icmp ugt i32 %reass.sub, -13
  %35 = select i1 %.cmp, i32 %34, i32 %reass.sub
  %36 = add nuw nsw i32 %35, 1
  %37 = uitofp nneg i32 %36 to float
  %38 = fdiv float %37, 1.200000e+01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) %2, float noundef %38) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %39 unwind label %44

39:                                               ; preds = %33
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %40 = uitofp nneg i32 %.02530 to float
  %41 = fmul float %40, 0x3FE0C15240000000
  call void @_ZN4juce15AffineTransform8rotationEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %11, float noundef %41) #6
  call void @_ZNK4juce15AffineTransform10translatedEff(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %10, ptr noundef nonnull align 4 dereferenceable(24) %11, float noundef %23, float noundef %26) #6
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %8, ptr noundef nonnull align 4 dereferenceable(24) %10)
          to label %42 unwind label %46

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %43 = add nuw nsw i32 %.02530, 1
  %exitcond.not = icmp eq i32 %43, 12
  br i1 %exitcond.not, label %30, label %33, !llvm.loop !5

44:                                               ; preds = %33
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #6
  br label %48

46:                                               ; preds = %39
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %48

48:                                               ; preds = %44, %46, %31
  %.pn.pn = phi { ptr, i32 } [ %32, %31 ], [ %47, %46 ], [ %45, %44 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  resume { ptr, i32 } %.pn.pn
}

declare void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce15AffineTransform8rotationEf(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, float noundef) local_unnamed_addr #4

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


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass