; 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_V326createDocumentWindowButtonEi(ptr noundef nonnull align 8 dereferenceable(316) %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 %62

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 %38

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 %42

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 %46

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 %50

36:                                               ; preds = %35
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %13, i32 noundef -2289408) #7
  invoke void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(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)
          to label %37 unwind label %54

37:                                               ; preds = %36
  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 %143

38:                                               ; preds = %31
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %9, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, 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 %145

42:                                               ; preds = %32
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, 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 %145

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

50:                                               ; preds = %35
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %9, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %10, align 4
  br label %58

54:                                               ; preds = %36
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %9, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %10, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br label %58

58:                                               ; preds = %54, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %59 = load i1, ptr %14, align 1
  br i1 %59, label %60, label %61

60:                                               ; preds = %58
  call void @_ZdlPvm(ptr noundef %34, i64 noundef 480) #9
  br label %61

61:                                               ; preds = %60, %58
  br label %145

62:                                               ; preds = %2
  %63 = load i32, ptr %5, align 4, !tbaa !9
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %87

65:                                               ; preds = %62
  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 %66 unwind label %71

66:                                               ; preds = %65
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  %67 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 480) #8
          to label %68 unwind label %46

68:                                               ; preds = %66
  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 %69 unwind label %75

69:                                               ; preds = %68
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %18, i32 noundef -5601263) #7
  invoke void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(ptr noundef nonnull align 8 dereferenceable(480) %67, 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)
          to label %70 unwind label %79

70:                                               ; preds = %69
  store i1 false, ptr %19, align 1
  store ptr %67, 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 %143

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %9, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, 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 %145

75:                                               ; preds = %68
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  br label %83

79:                                               ; preds = %69
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %9, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %10, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %83

83:                                               ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  %84 = load i1, ptr %19, align 1
  br i1 %84, label %85, label %86

85:                                               ; preds = %83
  call void @_ZdlPvm(ptr noundef %67, i64 noundef 480) #9
  br label %86

86:                                               ; preds = %85, %83
  br label %145

87:                                               ; preds = %62
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = icmp eq i32 %88, 2
  br i1 %89, label %90, label %139

90:                                               ; preds = %87
  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 %91 unwind label %105

91:                                               ; preds = %90
  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 %92 unwind label %109

92:                                               ; preds = %91
  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 %93 unwind label %113

93:                                               ; preds = %92
  invoke void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 4.500000e+01, float noundef 1.000000e+02)
          to label %94 unwind label %117

94:                                               ; preds = %93
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 0.000000e+00, float noundef 1.000000e+02)
          to label %95 unwind label %117

95:                                               ; preds = %94
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %96 unwind label %117

96:                                               ; preds = %95
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 1.000000e+02, float noundef 0.000000e+00)
          to label %97 unwind label %117

97:                                               ; preds = %96
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %22, float noundef 1.000000e+02, float noundef 4.500000e+01)
          to label %98 unwind label %117

98:                                               ; preds = %97
  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 %99 unwind label %117

99:                                               ; preds = %98
  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 %100 unwind label %121

100:                                              ; preds = %99
  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
  %101 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 480) #8
          to label %102 unwind label %117

102:                                              ; preds = %100
  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 %103 unwind label %125

103:                                              ; preds = %102
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %26, i32 noundef -15623919) #7
  invoke void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(ptr noundef nonnull align 8 dereferenceable(480) %101, 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)
          to label %104 unwind label %129

104:                                              ; preds = %103
  store i1 false, ptr %27, align 1
  store ptr %101, 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 %143

105:                                              ; preds = %90
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, 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 %145

109:                                              ; preds = %91
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, 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 %145

113:                                              ; preds = %92
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %9, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %10, align 4
  br label %138

117:                                              ; preds = %100, %98, %97, %96, %95, %94, %93
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %9, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %10, align 4
  br label %137

121:                                              ; preds = %99
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %9, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, 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 %137

125:                                              ; preds = %102
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %9, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %10, align 4
  br label %133

129:                                              ; preds = %103
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %9, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %10, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %133

133:                                              ; preds = %129, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  %134 = load i1, ptr %27, align 1
  br i1 %134, label %135, label %136

135:                                              ; preds = %133
  call void @_ZdlPvm(ptr noundef %101, i64 noundef 480) #9
  br label %136

136:                                              ; preds = %135, %133
  br label %137

137:                                              ; preds = %136, %121, %117
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %22) #7
  br label %138

138:                                              ; preds = %137, %113
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  br label %145

139:                                              ; preds = %87
  br label %140

140:                                              ; preds = %139
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  store ptr null, ptr %3, align 8
  store i32 1, ptr %15, align 4
  br label %143

143:                                              ; preds = %142, %104, %70, %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
  %144 = load ptr, ptr %3, align 8
  ret ptr %144

145:                                              ; preds = %138, %109, %105, %86, %71, %61, %46, %42, %38
  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 %146

146:                                              ; preds = %145
  %147 = load ptr, ptr %9, align 8
  %148 = load i32, ptr %10, align 4
  %149 = insertvalue { ptr, i32 } poison, ptr %147, 0
  %150 = insertvalue { ptr, i32 } %149, i32 %148, 1
  resume { ptr, i32 } %150
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(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 #6 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_V326createDocumentWindowButtonEi(ptr nocapture noundef nonnull readnone align 8 dereferenceable(316) %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 %81 [
    i32 4, label %18
    i32 1, label %36
    i32 2, label %49
  ]

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 %25

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 %27

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 %29

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 %31

23:                                               ; preds = %22
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %7, i32 noundef -2289408) #7
  invoke void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(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)
          to label %24 unwind label %33

24:                                               ; preds = %23
  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 %81

25:                                               ; preds = %18
  %26 = 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 %82

27:                                               ; preds = %19
  %28 = 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 %82

29:                                               ; preds = %37, %20
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %82

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

33:                                               ; preds = %23
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br label %35

35:                                               ; preds = %33, %31
  %.pn22 = phi { ptr, i32 } [ %34, %33 ], [ %32, %31 ]
  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 %82

36:                                               ; 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 %37 unwind label %42

37:                                               ; preds = %36
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  %38 = invoke noalias noundef nonnull dereferenceable(480) ptr @_Znwm(i64 noundef 480) #8
          to label %39 unwind label %29

39:                                               ; preds = %37
  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 %40 unwind label %44

40:                                               ; preds = %39
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %10, i32 noundef -5601263) #7
  invoke void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(ptr noundef nonnull align 8 dereferenceable(480) %38, 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)
          to label %41 unwind label %46

41:                                               ; preds = %40
  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 %81

42:                                               ; preds = %36
  %43 = 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 %82

44:                                               ; preds = %39
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %40
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %48

48:                                               ; preds = %46, %44
  %.pn20 = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZdlPvm(ptr noundef nonnull %38, i64 noundef 480) #9
  br label %82

49:                                               ; 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 %50 unwind label %64

50:                                               ; preds = %49
  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 %51 unwind label %66

51:                                               ; preds = %50
  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 %52 unwind label %68

52:                                               ; preds = %51
  invoke void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 4.500000e+01, float noundef 1.000000e+02)
          to label %53 unwind label %70

53:                                               ; preds = %52
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 0.000000e+00, float noundef 1.000000e+02)
          to label %54 unwind label %70

54:                                               ; preds = %53
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %55 unwind label %70

55:                                               ; preds = %54
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 1.000000e+02, float noundef 0.000000e+00)
          to label %56 unwind label %70

56:                                               ; preds = %55
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %13, float noundef 1.000000e+02, float noundef 4.500000e+01)
          to label %57 unwind label %70

57:                                               ; preds = %56
  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 %58 unwind label %70

58:                                               ; preds = %57
  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 %59 unwind label %72

59:                                               ; preds = %58
  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
  %60 = invoke noalias noundef nonnull dereferenceable(480) ptr @_Znwm(i64 noundef 480) #8
          to label %61 unwind label %70

61:                                               ; preds = %59
  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 %62 unwind label %74

62:                                               ; preds = %61
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %17, i32 noundef -15623919) #7
  invoke void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(ptr noundef nonnull align 8 dereferenceable(480) %60, 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)
          to label %63 unwind label %76

63:                                               ; preds = %62
  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 %81

64:                                               ; preds = %49
  %65 = 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 %82

66:                                               ; preds = %50
  %67 = 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 %82

68:                                               ; preds = %51
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %80

70:                                               ; preds = %59, %57, %56, %55, %54, %53, %52
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %79

72:                                               ; preds = %58
  %73 = 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 %79

74:                                               ; preds = %61
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %62
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @_ZdlPvm(ptr noundef nonnull %60, i64 noundef 480) #9
  br label %79

79:                                               ; preds = %78, %72, %70
  %.pn.pn = phi { ptr, i32 } [ %.pn, %78 ], [ %71, %70 ], [ %73, %72 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %13) #7
  br label %80

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

81:                                               ; preds = %2, %63, %41, %24
  %.015 = phi ptr [ %21, %24 ], [ %38, %41 ], [ %60, %63 ], [ 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 %.015

82:                                               ; preds = %48, %35, %80, %66, %64, %42, %29, %27, %25
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %35 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ], [ %.pn20, %48 ], [ %43, %42 ], [ %.pn.pn.pn, %80 ], [ %67, %66 ], [ %65, %64 ]
  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 } %.pn22.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce35LookAndFeel_V3_DocumentWindowButtonC2ERKNS_6StringENS_6ColourERKNS_4PathES7_(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 #6 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