; 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::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 }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@.str.179 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

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

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

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

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

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

; Function Attrs: nounwind
declare void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0

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

declare void @_ZN4juce4Path12addRectangleEffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef) #4

declare void @_ZNK4juce14PathStrokeType17createStrokedPathERNS_4PathERKS1_RKNS_15AffineTransformEf(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(24), float noundef) #4

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

declare void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef) #4

declare void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef) #4

declare void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), float noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4juce14LookAndFeel_V226createDocumentWindowButtonEi(ptr noundef nonnull align 8 dereferenceable(304) %0, i32 noundef %1) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.juce::Path", align 8
  %7 = alloca float, align 4
  %8 = alloca %"class.juce::Line", align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.juce::Line", align 4
  %12 = alloca %"class.juce::String", align 8
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca i1, align 1
  %15 = alloca i32, align 4
  %16 = alloca %"class.juce::Line", align 4
  %17 = alloca %"class.juce::String", align 8
  %18 = alloca %"class.juce::Colour", align 1
  %19 = alloca i1, align 1
  %20 = alloca %"class.juce::Line", align 4
  %21 = alloca %"class.juce::Line", align 4
  %22 = alloca %"class.juce::Path", align 8
  %23 = alloca %"class.juce::PathStrokeType", align 4
  %24 = alloca %"class.juce::AffineTransform", align 4
  %25 = alloca %"class.juce::String", align 8
  %26 = alloca %"class.juce::Colour", align 1
  %27 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %28 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #7
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store float 2.500000e-01, ptr %7, align 4, !tbaa !11
  %29 = load i32, ptr %5, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 4
  br i1 %30, label %31, label %56

31:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 0x3FD6666660000000)
          to label %32 unwind label %37

32:                                               ; preds = %31
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 0x3FD6666660000000)
          to label %33 unwind label %41

33:                                               ; preds = %32
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  %34 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 480) #8
          to label %35 unwind label %45

35:                                               ; preds = %33
  store i1 true, ptr %14, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef @.str.179)
          to label %36 unwind label %49

36:                                               ; preds = %35
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %13, i32 noundef -2289408) #7
  call void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480) %34, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %13, ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  store i1 false, ptr %14, align 1
  store ptr %34, ptr %3, align 8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  store i32 1, ptr %15, align 4
  br label %125

37:                                               ; preds = %31
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %9, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %10, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  br label %127

41:                                               ; preds = %32
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %9, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %10, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  br label %127

45:                                               ; preds = %60, %33
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  br label %127

49:                                               ; preds = %35
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %53 = load i1, ptr %14, align 1
  br i1 %53, label %54, label %55

54:                                               ; preds = %49
  call void @_ZdlPvm(ptr noundef %34, i64 noundef 480) #9
  br label %55

55:                                               ; preds = %54, %49
  br label %127

56:                                               ; preds = %2
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = icmp eq i32 %57, 1
  br i1 %58, label %59, label %75

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 2.500000e-01)
          to label %60 unwind label %64

60:                                               ; preds = %59
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  %61 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 480) #8
          to label %62 unwind label %45

62:                                               ; preds = %60
  store i1 true, ptr %19, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef @.str.180)
          to label %63 unwind label %68

63:                                               ; preds = %62
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %18, i32 noundef -5601263) #7
  call void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480) %61, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %18, ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  store i1 false, ptr %19, align 1
  store ptr %61, ptr %3, align 8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  store i32 1, ptr %15, align 4
  br label %125

64:                                               ; preds = %59
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %9, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %10, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  br label %127

68:                                               ; preds = %62
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  %72 = load i1, ptr %19, align 1
  br i1 %72, label %73, label %74

73:                                               ; preds = %68
  call void @_ZdlPvm(ptr noundef %61, i64 noundef 480) #9
  br label %74

74:                                               ; preds = %73, %68
  br label %127

75:                                               ; preds = %56
  %76 = load i32, ptr %5, align 4, !tbaa !9
  %77 = icmp eq i32 %76, 2
  br i1 %77, label %78, label %121

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef 5.000000e-01, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef 2.500000e-01)
          to label %79 unwind label %92

79:                                               ; preds = %78
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 2.500000e-01)
          to label %80 unwind label %96

80:                                               ; preds = %79
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #7
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %22)
          to label %81 unwind label %100

81:                                               ; preds = %80
  invoke void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 4.500000e+01, float noundef 1.000000e+02)
          to label %82 unwind label %104

82:                                               ; preds = %81
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 0.000000e+00, float noundef 1.000000e+02)
          to label %83 unwind label %104

83:                                               ; preds = %82
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %84 unwind label %104

84:                                               ; preds = %83
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 1.000000e+02, float noundef 0.000000e+00)
          to label %85 unwind label %104

85:                                               ; preds = %84
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 1.000000e+02, float noundef 4.500000e+01)
          to label %86 unwind label %104

86:                                               ; preds = %85
  invoke void @_ZN4juce4Path12addRectangleEffff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 4.500000e+01, float noundef 4.500000e+01, float noundef 1.000000e+02, float noundef 1.000000e+02)
          to label %87 unwind label %104

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #7
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef 3.000000e+01) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %24) #7
  invoke void @_ZNK4juce14PathStrokeType17createStrokedPathERNS_4PathERKS1_RKNS_15AffineTransformEf(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 8 dereferenceable(41) %22, ptr noundef nonnull align 8 dereferenceable(41) %22, ptr noundef nonnull align 4 dereferenceable(24) %24, float noundef 1.000000e+00)
          to label %88 unwind label %108

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #7
  %89 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 480) #8
          to label %90 unwind label %104

90:                                               ; preds = %88
  store i1 true, ptr %27, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef @.str.181)
          to label %91 unwind label %112

91:                                               ; preds = %90
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %26, i32 noundef -15623919) #7
  call void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480) %89, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef %26, ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 8 dereferenceable(41) %22) #7
  store i1 false, ptr %27, align 1
  store ptr %89, ptr %3, align 8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  store i32 1, ptr %15, align 4
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %22) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  br label %125

92:                                               ; preds = %78
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  br label %127

96:                                               ; preds = %79
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  br label %127

100:                                              ; preds = %80
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  br label %120

104:                                              ; preds = %88, %86, %85, %84, %83, %82, %81
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %9, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %10, align 4
  br label %119

108:                                              ; preds = %87
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %9, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #7
  br label %119

112:                                              ; preds = %90
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %9, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  %116 = load i1, ptr %27, align 1
  br i1 %116, label %117, label %118

117:                                              ; preds = %112
  call void @_ZdlPvm(ptr noundef %89, i64 noundef 480) #9
  br label %118

118:                                              ; preds = %117, %112
  br label %119

119:                                              ; preds = %118, %108, %104
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %22) #7
  br label %120

120:                                              ; preds = %119, %100
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  br label %127

121:                                              ; preds = %75
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  store ptr null, ptr %3, align 8
  store i32 1, ptr %15, align 4
  br label %125

125:                                              ; preds = %124, %91, %63, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  %126 = load ptr, ptr %3, align 8
  ret ptr %126

127:                                              ; preds = %120, %96, %92, %74, %64, %55, %45, %41, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr %9, align 8
  %130 = load i32, ptr %10, align 4
  %131 = insertvalue { ptr, i32 } poison, ptr %129, 0
  %132 = insertvalue { ptr, i32 } %131, i32 %130, 1
  resume { ptr, i32 } %132
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"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::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 }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@.str.179 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

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

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

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

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

; Function Attrs: nounwind
declare void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0

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

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

declare void @_ZNK4juce14PathStrokeType17createStrokedPathERNS_4PathERKS1_RKNS_15AffineTransformEf(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(24), float noundef) local_unnamed_addr #4

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

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

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

declare void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4juce14LookAndFeel_V226createDocumentWindowButtonEi(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, i32 noundef %1) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Path", align 8
  %4 = alloca %"class.juce::Line", align 4
  %5 = alloca %"class.juce::Line", align 4
  %6 = alloca %"class.juce::String", align 8
  %7 = alloca %"class.juce::Colour", align 1
  %8 = alloca %"class.juce::Line", align 4
  %9 = alloca %"class.juce::String", align 8
  %10 = alloca %"class.juce::Colour", align 1
  %11 = alloca %"class.juce::Line", align 4
  %12 = alloca %"class.juce::Line", align 4
  %13 = alloca %"class.juce::Path", align 8
  %14 = alloca %"class.juce::PathStrokeType", align 4
  %15 = alloca %"class.juce::AffineTransform", align 4
  %16 = alloca %"class.juce::String", align 8
  %17 = alloca %"class.juce::Colour", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3)
  switch i32 %1, label %69 [
    i32 4, label %18
    i32 1, label %32
    i32 2, label %41
  ]

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0x3FD6666660000000)
          to label %19 unwind label %24

19:                                               ; preds = %18
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0x3FD6666660000000)
          to label %20 unwind label %26

20:                                               ; preds = %19
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  %21 = invoke noalias noundef nonnull dereferenceable(480) ptr @_Znwm(i64 noundef 480) #8
          to label %22 unwind label %28

22:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull @.str.179)
          to label %23 unwind label %30

23:                                               ; preds = %22
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %7, i32 noundef -2289408) #7
  call void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480) %21, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull %7, ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(41) %3) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %69

24:                                               ; preds = %18
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %70

26:                                               ; preds = %19
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %70

28:                                               ; preds = %33, %20
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %70

30:                                               ; preds = %22
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZdlPvm(ptr noundef nonnull %21, i64 noundef 480) #9
  br label %70

32:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 2.500000e-01)
          to label %33 unwind label %37

33:                                               ; preds = %32
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  %34 = invoke noalias noundef nonnull dereferenceable(480) ptr @_Znwm(i64 noundef 480) #8
          to label %35 unwind label %28

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull @.str.180)
          to label %36 unwind label %39

36:                                               ; preds = %35
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %10, i32 noundef -5601263) #7
  call void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480) %34, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull %10, ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(41) %3) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %69

37:                                               ; preds = %32
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %70

39:                                               ; preds = %35
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZdlPvm(ptr noundef nonnull %34, i64 noundef 480) #9
  br label %70

41:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 5.000000e-01, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 2.500000e-01)
          to label %42 unwind label %55

42:                                               ; preds = %41
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef 2.500000e-01)
          to label %43 unwind label %57

43:                                               ; preds = %42
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #7
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %13)
          to label %44 unwind label %59

44:                                               ; preds = %43
  invoke void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 4.500000e+01, float noundef 1.000000e+02)
          to label %45 unwind label %61

45:                                               ; preds = %44
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 0.000000e+00, float noundef 1.000000e+02)
          to label %46 unwind label %61

46:                                               ; preds = %45
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %47 unwind label %61

47:                                               ; preds = %46
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 1.000000e+02, float noundef 0.000000e+00)
          to label %48 unwind label %61

48:                                               ; preds = %47
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 1.000000e+02, float noundef 4.500000e+01)
          to label %49 unwind label %61

49:                                               ; preds = %48
  invoke void @_ZN4juce4Path12addRectangleEffff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 4.500000e+01, float noundef 4.500000e+01, float noundef 1.000000e+02, float noundef 1.000000e+02)
          to label %50 unwind label %61

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #7
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %14, float noundef 3.000000e+01) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %15) #7
  invoke void @_ZNK4juce14PathStrokeType17createStrokedPathERNS_4PathERKS1_RKNS_15AffineTransformEf(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(41) %13, ptr noundef nonnull align 8 dereferenceable(41) %13, ptr noundef nonnull align 4 dereferenceable(24) %15, float noundef 1.000000e+00)
          to label %51 unwind label %63

51:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %14) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #7
  %52 = invoke noalias noundef nonnull dereferenceable(480) ptr @_Znwm(i64 noundef 480) #8
          to label %53 unwind label %61

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.181)
          to label %54 unwind label %65

54:                                               ; preds = %53
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %17, i32 noundef -15623919) #7
  call void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480) %52, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull %17, ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(41) %13) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  br label %69

55:                                               ; preds = %41
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %70

57:                                               ; preds = %42
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %70

59:                                               ; preds = %43
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %68

61:                                               ; preds = %51, %49, %48, %47, %46, %45, %44
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %67

63:                                               ; preds = %50
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %14) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #7
  br label %67

65:                                               ; preds = %53
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @_ZdlPvm(ptr noundef nonnull %52, i64 noundef 480) #9
  br label %67

67:                                               ; preds = %65, %63, %61
  %.pn = phi { ptr, i32 } [ %66, %65 ], [ %62, %61 ], [ %64, %63 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %13) #7
  br label %68

68:                                               ; preds = %67, %59
  %.pn.pn = phi { ptr, i32 } [ %.pn, %67 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  br label %70

69:                                               ; preds = %2, %54, %36, %23
  %.012 = phi ptr [ %21, %23 ], [ %34, %36 ], [ %52, %54 ], [ null, %2 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  ret ptr %.012

70:                                               ; preds = %39, %30, %68, %57, %55, %37, %28, %26, %24
  %.pn16 = phi { ptr, i32 } [ %31, %30 ], [ %29, %28 ], [ %27, %26 ], [ %25, %24 ], [ %40, %39 ], [ %38, %37 ], [ %.pn.pn, %68 ], [ %58, %57 ], [ %56, %55 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn16
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14LookAndFeel_V217GlassWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES8_(ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass