; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle.148" = type { %"class.juce::Point.35", float, float }
%"class.juce::Point.35" = type { float, float }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::RectanglePlacement" = type { i32 }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }

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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; 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 zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197)) #0 align 2

; Function Attrs: nounwind
declare void @_ZNK4juce5Image9getBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(8)) #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 #2

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

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

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

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

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce6Colour8isOpaqueEv(ptr noundef nonnull align 1 dereferenceable(4)) #2

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce6Colour13isTransparentEv(ptr noundef nonnull align 1 dereferenceable(4)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V215drawImageButtonERNS_8GraphicsEPNS_5ImageEiiiiRKNS_6ColourEfRNS_11ImageButtonE(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull align 1 dereferenceable(4) %7, float noundef %8, ptr noundef nonnull align 8 dereferenceable(448) %9) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.juce::AffineTransform", align 4
  %22 = alloca %"class.juce::RectanglePlacement", align 4
  %23 = alloca %"class.juce::Rectangle.148", align 4
  %24 = alloca %"class.juce::Rectangle", align 4
  %25 = alloca %"class.juce::Rectangle.148", align 4
  %26 = alloca %"class.juce::Rectangle", align 4
  %27 = alloca %"class.juce::Colour", align 1
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store i32 %3, ptr %14, align 4, !tbaa !9
  store i32 %4, ptr %15, align 4, !tbaa !9
  store i32 %5, ptr %16, align 4, !tbaa !9
  store i32 %6, ptr %17, align 4, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !5
  store float %8, ptr %19, align 4, !tbaa !11
  store ptr %9, ptr %20, align 8, !tbaa !5
  %30 = load ptr, ptr %11, align 8
  %31 = load ptr, ptr %20, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %31) #6
  br i1 %32, label %36, label %33

33:                                               ; preds = %10
  %34 = load float, ptr %19, align 4, !tbaa !11
  %35 = fmul float %34, 0x3FD3333340000000
  store float %35, ptr %19, align 4, !tbaa !11
  br label %36

36:                                               ; preds = %33, %10
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  call void @_ZN4juce18RectanglePlacementC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef 64) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %37 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZNK4juce5Image9getBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %24, ptr noundef nonnull align 8 dereferenceable(8) %37) #6
  call void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle.148") align 4 %23, ptr noundef nonnull align 4 dereferenceable(16) %24) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %38 = load i32, ptr %14, align 4, !tbaa !9
  %39 = load i32, ptr %15, align 4, !tbaa !9
  %40 = load i32, ptr %16, align 4, !tbaa !9
  %41 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %26, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41) #6
  call void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle.148") align 4 %25, ptr noundef nonnull align 4 dereferenceable(16) %26) #6
  call void @_ZNK4juce18RectanglePlacement17getTransformToFitERKNS_9RectangleIfEES4_(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(16) %25) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %23) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  %42 = load ptr, ptr %18, align 8, !tbaa !5
  %43 = call noundef zeroext i1 @_ZNK4juce6Colour8isOpaqueEv(ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  br i1 %43, label %49, label %44

44:                                               ; preds = %36
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = load float, ptr %19, align 4, !tbaa !11
  call void @_ZN4juce8Graphics10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(17) %45, float noundef %46)
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZNK4juce8Graphics20drawImageTransformedERKNS_5ImageERKNS_15AffineTransformEb(ptr noundef nonnull align 8 dereferenceable(17) %47, ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(24) %21, i1 noundef zeroext false)
  br label %49

49:                                               ; preds = %44, %36
  %50 = load ptr, ptr %18, align 8, !tbaa !5
  %51 = call noundef zeroext i1 @_ZNK4juce6Colour13isTransparentEv(ptr noundef nonnull align 1 dereferenceable(4) %50) #6
  br i1 %51, label %62, label %52

52:                                               ; preds = %49
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %27, ptr noundef nonnull align 1 dereferenceable(4) %54) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %53, ptr noundef %27)
          to label %55 unwind label %58

55:                                               ; preds = %52
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZNK4juce8Graphics20drawImageTransformedERKNS_5ImageERKNS_15AffineTransformEb(ptr noundef nonnull align 8 dereferenceable(17) %56, ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 4 dereferenceable(24) %21, i1 noundef zeroext true)
  br label %62

58:                                               ; preds = %52
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %28, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %29, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  br label %63

62:                                               ; preds = %55, %49
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  ret void

63:                                               ; preds = %58
  %64 = load ptr, ptr %28, align 8
  %65 = load i32, ptr %29, align 4
  %66 = insertvalue { ptr, i32 } poison, ptr %64, 0
  %67 = insertvalue { ptr, i32 } %66, i32 %65, 1
  resume { ptr, i32 } %67
}

declare void @_ZNK4juce8Graphics20drawImageTransformedERKNS_5ImageERKNS_15AffineTransformEb(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(24), i1 noundef zeroext) #3

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 #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}


; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle.148" = type { %"class.juce::Point.35", float, float }
%"class.juce::Point.35" = type { float, float }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::RectanglePlacement" = type { i32 }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; 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 zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare void @_ZNK4juce5Image9getBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #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 #2

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

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

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

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

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce6Colour8isOpaqueEv(ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce6Colour13isTransparentEv(ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V215drawImageButtonERNS_8GraphicsEPNS_5ImageEiiiiRKNS_6ColourEfRNS_11ImageButtonE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull align 1 dereferenceable(4) %7, float noundef %8, ptr noundef nonnull align 8 dereferenceable(448) %9) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"class.juce::AffineTransform", align 4
  %12 = alloca %"class.juce::RectanglePlacement", align 4
  %13 = alloca %"class.juce::Rectangle.148", align 4
  %14 = alloca %"class.juce::Rectangle", align 4
  %15 = alloca %"class.juce::Rectangle.148", align 4
  %16 = alloca %"class.juce::Rectangle", align 4
  %17 = alloca %"class.juce::Colour", align 1
  %18 = tail call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  call void @_ZN4juce18RectanglePlacementC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef 64) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  call void @_ZNK4juce5Image9getBoundsEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %14, ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  call void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle.148") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %16, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #6
  call void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle.148") align 4 %15, ptr noundef nonnull align 4 dereferenceable(16) %16) #6
  call void @_ZNK4juce18RectanglePlacement17getTransformToFitERKNS_9RectangleIfEES4_(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) %15) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  %19 = call noundef zeroext i1 @_ZNK4juce6Colour8isOpaqueEv(ptr noundef nonnull align 1 dereferenceable(4) %7) #6
  br i1 %19, label %22, label %20

20:                                               ; preds = %10
  %21 = fmul float %8, 0x3FD3333340000000
  %.0 = select i1 %18, float %8, float %21
  call void @_ZN4juce8Graphics10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %.0)
  call void @_ZNK4juce8Graphics20drawImageTransformedERKNS_5ImageERKNS_15AffineTransformEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(24) %11, i1 noundef zeroext false)
  br label %22

22:                                               ; preds = %20, %10
  %23 = call noundef zeroext i1 @_ZNK4juce6Colour13isTransparentEv(ptr noundef nonnull align 1 dereferenceable(4) %7) #6
  br i1 %23, label %28, label %24

24:                                               ; preds = %22
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(4) %7) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %17)
          to label %25 unwind label %26

25:                                               ; preds = %24
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @_ZNK4juce8Graphics20drawImageTransformedERKNS_5ImageERKNS_15AffineTransformEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(24) %11, i1 noundef zeroext true)
  br label %28

26:                                               ; preds = %24
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  resume { ptr, i32 } %27

28:                                               ; preds = %25, %22
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  ret void
}

declare void @_ZNK4juce8Graphics20drawImageTransformedERKNS_5ImageERKNS_15AffineTransformEb(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #3

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 #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)"}


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