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

; 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::Iterator" = type { i32, float, float, float, float, float, float, ptr, i64 }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::RelativePointPath" = type <{ %"class.juce::OwnedArray.201", i8, i8, [6 x i8] }>
%"class.juce::OwnedArray.201" = type { %"class.juce::ArrayAllocationBase.202", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.202" = type <{ %"class.juce::HeapBlock.203", i32, [4 x i8] }>
%"class.juce::HeapBlock.203" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce17RelativePointPathC2ERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(26) %0, ptr noundef nonnull align 8 dereferenceable(41) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.juce::Path::Iterator", align 8
  %8 = alloca %"class.juce::RelativePoint", align 8
  %9 = alloca i1, align 1
  %10 = alloca %"class.juce::RelativePoint", align 8
  %11 = alloca i1, align 1
  %12 = alloca %"class.juce::RelativePoint", align 8
  %13 = alloca %"class.juce::RelativePoint", align 8
  %14 = alloca i1, align 1
  %15 = alloca %"class.juce::RelativePoint", align 8
  %16 = alloca %"class.juce::RelativePoint", align 8
  %17 = alloca %"class.juce::RelativePoint", align 8
  %18 = alloca i1, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8
  %20 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 0
  call void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %20) #7
  %21 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 1
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = invoke noundef zeroext i1 @_ZNK4juce4Path21isUsingNonZeroWindingEv(ptr noundef nonnull align 8 dereferenceable(41) %22)
          to label %24 unwind label %31

24:                                               ; preds = %2
  %25 = zext i1 %23 to i8
  store i8 %25, ptr %21, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 2
  store i8 0, ptr %26, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #7
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4juce4Path8IteratorC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(41) %27) #7
  br label %28

28:                                               ; preds = %178, %24
  %29 = call noundef zeroext i1 @_ZN4juce4Path8Iterator4nextEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  br i1 %29, label %35, label %30

30:                                               ; preds = %28
  call void @_ZN4juce4Path8IteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  br label %180

31:                                               ; preds = %2
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %5, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %6, align 4
  br label %181

35:                                               ; preds = %28
  %36 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !17
  switch i32 %37, label %174 [
    i32 0, label %38
    i32 1, label %65
    i32 2, label %88
    i32 3, label %121
    i32 4, label %164
  ]

38:                                               ; preds = %35
  %39 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 0
  %40 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #8
          to label %41 unwind label %49

41:                                               ; preds = %38
  store i1 true, ptr %9, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  %42 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 1
  %43 = load float, ptr %42, align 4, !tbaa !22
  %44 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 2
  %45 = load float, ptr %44, align 8, !tbaa !23
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %8, float noundef %43, float noundef %45)
          to label %46 unwind label %53

46:                                               ; preds = %41
  invoke void @_ZN4juce17RelativePointPath12StartSubPathC1ERKNS_13RelativePointE(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %47 unwind label %57

47:                                               ; preds = %46
  store i1 false, ptr %9, align 1
  %48 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %39, ptr noundef %40) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  br label %178

49:                                               ; preds = %164, %121, %88, %65, %38
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %5, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %6, align 4
  br label %179

53:                                               ; preds = %41
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  br label %61

57:                                               ; preds = %46
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %61

61:                                               ; preds = %57, %53
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  %62 = load i1, ptr %9, align 1
  br i1 %62, label %63, label %64

63:                                               ; preds = %61
  call void @_ZdlPvm(ptr noundef %40, i64 noundef 32) #9
  br label %64

64:                                               ; preds = %63, %61
  br label %179

65:                                               ; preds = %35
  %66 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 0
  %67 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #8
          to label %68 unwind label %49

68:                                               ; preds = %65
  store i1 true, ptr %11, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %69 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 1
  %70 = load float, ptr %69, align 4, !tbaa !22
  %71 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 2
  %72 = load float, ptr %71, align 8, !tbaa !23
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %10, float noundef %70, float noundef %72)
          to label %73 unwind label %76

73:                                               ; preds = %68
  invoke void @_ZN4juce17RelativePointPath6LineToC1ERKNS_13RelativePointE(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %74 unwind label %80

74:                                               ; preds = %73
  store i1 false, ptr %11, align 1
  %75 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %66, ptr noundef %67) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %178

76:                                               ; preds = %68
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %5, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %6, align 4
  br label %84

80:                                               ; preds = %73
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %5, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %6, align 4
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %84

84:                                               ; preds = %80, %76
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  %85 = load i1, ptr %11, align 1
  br i1 %85, label %86, label %87

86:                                               ; preds = %84
  call void @_ZdlPvm(ptr noundef %67, i64 noundef 32) #9
  br label %87

87:                                               ; preds = %86, %84
  br label %179

88:                                               ; preds = %35
  %89 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 0
  %90 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #8
          to label %91 unwind label %49

91:                                               ; preds = %88
  store i1 true, ptr %14, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %92 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 1
  %93 = load float, ptr %92, align 4, !tbaa !22
  %94 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 2
  %95 = load float, ptr %94, align 8, !tbaa !23
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %12, float noundef %93, float noundef %95)
          to label %96 unwind label %104

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %97 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 3
  %98 = load float, ptr %97, align 4, !tbaa !24
  %99 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 4
  %100 = load float, ptr %99, align 8, !tbaa !25
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %13, float noundef %98, float noundef %100)
          to label %101 unwind label %108

101:                                              ; preds = %96
  invoke void @_ZN4juce17RelativePointPath11QuadraticToC1ERKNS_13RelativePointES4_(ptr noundef nonnull align 8 dereferenceable(48) %90, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %102 unwind label %112

102:                                              ; preds = %101
  store i1 false, ptr %14, align 1
  %103 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %89, ptr noundef %90) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %178

104:                                              ; preds = %91
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %5, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %6, align 4
  br label %117

108:                                              ; preds = %96
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %5, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %6, align 4
  br label %116

112:                                              ; preds = %101
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %5, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %6, align 4
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %116

116:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %117

117:                                              ; preds = %116, %104
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %118 = load i1, ptr %14, align 1
  br i1 %118, label %119, label %120

119:                                              ; preds = %117
  call void @_ZdlPvm(ptr noundef %90, i64 noundef 48) #9
  br label %120

120:                                              ; preds = %119, %117
  br label %179

121:                                              ; preds = %35
  %122 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 0
  %123 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #8
          to label %124 unwind label %49

124:                                              ; preds = %121
  store i1 true, ptr %18, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  %125 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 1
  %126 = load float, ptr %125, align 4, !tbaa !22
  %127 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 2
  %128 = load float, ptr %127, align 8, !tbaa !23
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %15, float noundef %126, float noundef %128)
          to label %129 unwind label %142

129:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  %130 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 3
  %131 = load float, ptr %130, align 4, !tbaa !24
  %132 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 4
  %133 = load float, ptr %132, align 8, !tbaa !25
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %16, float noundef %131, float noundef %133)
          to label %134 unwind label %146

134:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %135 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 5
  %136 = load float, ptr %135, align 4, !tbaa !26
  %137 = getelementptr inbounds %"class.juce::Path::Iterator", ptr %7, i32 0, i32 6
  %138 = load float, ptr %137, align 8, !tbaa !27
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %17, float noundef %136, float noundef %138)
          to label %139 unwind label %150

139:                                              ; preds = %134
  invoke void @_ZN4juce17RelativePointPath7CubicToC1ERKNS_13RelativePointES4_S4_(ptr noundef nonnull align 8 dereferenceable(64) %123, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %140 unwind label %154

140:                                              ; preds = %139
  store i1 false, ptr %18, align 1
  %141 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %122, ptr noundef %123) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  br label %178

142:                                              ; preds = %124
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %5, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %6, align 4
  br label %160

146:                                              ; preds = %129
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %5, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %6, align 4
  br label %159

150:                                              ; preds = %134
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %5, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %6, align 4
  br label %158

154:                                              ; preds = %139
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %5, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %6, align 4
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %158

158:                                              ; preds = %154, %150
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %159

159:                                              ; preds = %158, %146
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %160

160:                                              ; preds = %159, %142
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  %161 = load i1, ptr %18, align 1
  br i1 %161, label %162, label %163

162:                                              ; preds = %160
  call void @_ZdlPvm(ptr noundef %123, i64 noundef 64) #9
  br label %163

163:                                              ; preds = %162, %160
  br label %179

164:                                              ; preds = %35
  %165 = getelementptr inbounds %"class.juce::RelativePointPath", ptr %19, i32 0, i32 0
  %166 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #8
          to label %167 unwind label %49

167:                                              ; preds = %164
  invoke void @_ZN4juce17RelativePointPath12CloseSubPathC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %166)
          to label %168 unwind label %170

168:                                              ; preds = %167
  %169 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %165, ptr noundef %166) #7
  br label %178

170:                                              ; preds = %167
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %5, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %166, i64 noundef 16) #9
  br label %179

174:                                              ; preds = %35
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  br label %178

178:                                              ; preds = %177, %168, %140, %102, %74, %47
  br label %28, !llvm.loop !28

179:                                              ; preds = %170, %163, %120, %87, %64, %49
  call void @_ZN4juce4Path8IteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  br label %181

180:                                              ; preds = %30
  ret void

181:                                              ; preds = %179, %31
  call void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %20) #7
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %5, align 8
  %184 = load i32, ptr %6, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce4Path21isUsingNonZeroWindingEv(ptr noundef nonnull align 8 dereferenceable(41)) #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce4Path8IteratorC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN4juce4Path8Iterator4nextEv(ptr noundef nonnull align 8 dereferenceable(48)) #6

; Function Attrs: nounwind
declare void @_ZN4juce4Path8IteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #6

declare void @_ZN4juce13RelativePointC1Eff(ptr, float, float)

declare void @_ZN4juce17RelativePointPath12StartSubPathC1ERKNS_13RelativePointE(ptr, ptr)

declare void @_ZN4juce17RelativePointPath12CloseSubPathC1Ev(ptr)

declare void @_ZN4juce17RelativePointPath6LineToC1ERKNS_13RelativePointE(ptr, ptr)

declare void @_ZN4juce17RelativePointPath11QuadraticToC1ERKNS_13RelativePointES4_(ptr, ptr, ptr)

declare void @_ZN4juce17RelativePointPath7CubicToC1ERKNS_13RelativePointES4_S4_(ptr, ptr, ptr, ptr)

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "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, !15, i64 24}
!10 = !{!"_ZTSN4juce17RelativePointPathE", !11, i64 0, !15, i64 24, !15, i64 25}
!11 = !{!"_ZTSN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEE", !12, i64 0, !14, i64 16}
!12 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEE", !13, i64 0, !14, i64 8}
!13 = !{!"_ZTSN4juce9HeapBlockIPNS_17RelativePointPath11ElementBaseELb0EEE", !6, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!10, !15, i64 25}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTSN4juce4Path8IteratorE", !19, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !20, i64 16, !20, i64 20, !20, i64 24, !6, i64 32, !21, i64 40}
!19 = !{!"_ZTSN4juce4Path8Iterator15PathElementTypeE", !7, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!18, !20, i64 4}
!23 = !{!18, !20, i64 8}
!24 = !{!18, !20, i64 12}
!25 = !{!18, !20, i64 16}
!26 = !{!18, !20, i64 20}
!27 = !{!18, !20, i64 24}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.juce::Path::Iterator" = type { i32, float, float, float, float, float, float, ptr, i64 }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce17RelativePointPathC2ERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(26) %0, ptr noundef nonnull align 8 dereferenceable(41) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Path::Iterator", align 8
  %4 = alloca %"class.juce::RelativePoint", align 8
  %5 = alloca %"class.juce::RelativePoint", align 8
  %6 = alloca %"class.juce::RelativePoint", align 8
  %7 = alloca %"class.juce::RelativePoint", align 8
  %8 = alloca %"class.juce::RelativePoint", align 8
  %9 = alloca %"class.juce::RelativePoint", align 8
  %10 = alloca %"class.juce::RelativePoint", align 8
  tail call void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #7
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = tail call noundef zeroext i1 @_ZNK4juce4Path21isUsingNonZeroWindingEv(ptr noundef nonnull align 8 dereferenceable(41) %1)
  %13 = zext i1 %12 to i8
  store i8 %13, ptr %11, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 25
  store i8 0, ptr %14, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  call void @_ZN4juce4Path8IteratorC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(41) %1) #7
  %15 = call noundef zeroext i1 @_ZN4juce4Path8Iterator4nextEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  br i1 %15, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %16 = getelementptr inbounds i8, ptr %3, i64 4
  %17 = getelementptr inbounds i8, ptr %3, i64 8
  %18 = getelementptr inbounds i8, ptr %3, i64 12
  %19 = getelementptr inbounds i8, ptr %3, i64 16
  %20 = getelementptr inbounds i8, ptr %3, i64 20
  %21 = getelementptr inbounds i8, ptr %3, i64 24
  br label %22

._crit_edge:                                      ; preds = %103, %2
  call void @_ZN4juce4Path8IteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  ret void

22:                                               ; preds = %.lr.ph, %103
  %23 = load i32, ptr %3, align 8, !tbaa !16
  switch i32 %23, label %103 [
    i32 0, label %24
    i32 1, label %39
    i32 2, label %52
    i32 3, label %71
    i32 4, label %96
  ]

24:                                               ; preds = %22
  %25 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #8
          to label %26 unwind label %32

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %27 = load float, ptr %16, align 4, !tbaa !21
  %28 = load float, ptr %17, align 8, !tbaa !22
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %4, float noundef %27, float noundef %28)
          to label %29 unwind label %34

29:                                               ; preds = %26
  invoke void @_ZN4juce17RelativePointPath12StartSubPathC1ERKNS_13RelativePointE(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %30 unwind label %36

30:                                               ; preds = %29
  %31 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull %25) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %103

32:                                               ; preds = %96, %71, %52, %39, %24
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %105

34:                                               ; preds = %26
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %29
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %38

38:                                               ; preds = %36, %34
  %.pn24 = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @_ZdlPvm(ptr noundef nonnull %25, i64 noundef 32) #9
  br label %105

39:                                               ; preds = %22
  %40 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #8
          to label %41 unwind label %32

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %42 = load float, ptr %16, align 4, !tbaa !21
  %43 = load float, ptr %17, align 8, !tbaa !22
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %5, float noundef %42, float noundef %43)
          to label %44 unwind label %47

44:                                               ; preds = %41
  invoke void @_ZN4juce17RelativePointPath6LineToC1ERKNS_13RelativePointE(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %45 unwind label %49

45:                                               ; preds = %44
  %46 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull %40) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %103

47:                                               ; preds = %41
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %51

49:                                               ; preds = %44
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br label %51

51:                                               ; preds = %49, %47
  %.pn22 = phi { ptr, i32 } [ %50, %49 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @_ZdlPvm(ptr noundef nonnull %40, i64 noundef 32) #9
  br label %105

52:                                               ; preds = %22
  %53 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #8
          to label %54 unwind label %32

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %55 = load float, ptr %16, align 4, !tbaa !21
  %56 = load float, ptr %17, align 8, !tbaa !22
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %6, float noundef %55, float noundef %56)
          to label %57 unwind label %63

57:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %58 = load float, ptr %18, align 4, !tbaa !23
  %59 = load float, ptr %19, align 8, !tbaa !24
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %7, float noundef %58, float noundef %59)
          to label %60 unwind label %65

60:                                               ; preds = %57
  invoke void @_ZN4juce17RelativePointPath11QuadraticToC1ERKNS_13RelativePointES4_(ptr noundef nonnull align 8 dereferenceable(48) %53, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %61 unwind label %67

61:                                               ; preds = %60
  %62 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull %53) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %103

63:                                               ; preds = %54
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %70

65:                                               ; preds = %57
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %60
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %69

69:                                               ; preds = %67, %65
  %.pn19 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %70

70:                                               ; preds = %69, %63
  %.pn19.pn = phi { ptr, i32 } [ %.pn19, %69 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @_ZdlPvm(ptr noundef nonnull %53, i64 noundef 48) #9
  br label %105

71:                                               ; preds = %22
  %72 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #8
          to label %73 unwind label %32

73:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %74 = load float, ptr %16, align 4, !tbaa !21
  %75 = load float, ptr %17, align 8, !tbaa !22
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %8, float noundef %74, float noundef %75)
          to label %76 unwind label %85

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  %77 = load float, ptr %18, align 4, !tbaa !23
  %78 = load float, ptr %19, align 8, !tbaa !24
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %9, float noundef %77, float noundef %78)
          to label %79 unwind label %87

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %80 = load float, ptr %20, align 4, !tbaa !25
  %81 = load float, ptr %21, align 8, !tbaa !26
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %10, float noundef %80, float noundef %81)
          to label %82 unwind label %89

82:                                               ; preds = %79
  invoke void @_ZN4juce17RelativePointPath7CubicToC1ERKNS_13RelativePointES4_S4_(ptr noundef nonnull align 8 dereferenceable(64) %72, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %83 unwind label %91

83:                                               ; preds = %82
  %84 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull %72) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %103

85:                                               ; preds = %73
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %95

87:                                               ; preds = %76
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %94

89:                                               ; preds = %79
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %93

91:                                               ; preds = %82
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %93

93:                                               ; preds = %91, %89
  %.pn = phi { ptr, i32 } [ %92, %91 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %94

94:                                               ; preds = %93, %87
  %.pn.pn = phi { ptr, i32 } [ %.pn, %93 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %95

95:                                               ; preds = %94, %85
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %94 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZdlPvm(ptr noundef nonnull %72, i64 noundef 64) #9
  br label %105

96:                                               ; preds = %22
  %97 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #8
          to label %98 unwind label %32

98:                                               ; preds = %96
  invoke void @_ZN4juce17RelativePointPath12CloseSubPathC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %97)
          to label %99 unwind label %101

99:                                               ; preds = %98
  %100 = call noundef ptr @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull %97) #7
  br label %103

101:                                              ; preds = %98
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %97, i64 noundef 16) #9
  br label %105

103:                                              ; preds = %22, %99, %83, %61, %45, %30
  %104 = call noundef zeroext i1 @_ZN4juce4Path8Iterator4nextEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  br i1 %104, label %22, label %._crit_edge, !llvm.loop !27

105:                                              ; preds = %95, %70, %51, %38, %101, %32
  %.pn26 = phi { ptr, i32 } [ %102, %101 ], [ %33, %32 ], [ %.pn.pn.pn, %95 ], [ %.pn19.pn, %70 ], [ %.pn22, %51 ], [ %.pn24, %38 ]
  call void @_ZN4juce4Path8IteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @_ZN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #7
  resume { ptr, i32 } %.pn26
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce4Path21isUsingNonZeroWindingEv(ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce4Path8IteratorC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN4juce4Path8Iterator4nextEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN4juce4Path8IteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #6

declare void @_ZN4juce13RelativePointC1Eff(ptr, float, float) local_unnamed_addr

declare void @_ZN4juce17RelativePointPath12StartSubPathC1ERKNS_13RelativePointE(ptr, ptr) local_unnamed_addr

declare void @_ZN4juce17RelativePointPath12CloseSubPathC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce17RelativePointPath6LineToC1ERKNS_13RelativePointE(ptr, ptr) local_unnamed_addr

declare void @_ZN4juce17RelativePointPath11QuadraticToC1ERKNS_13RelativePointES4_(ptr, ptr, ptr) local_unnamed_addr

declare void @_ZN4juce17RelativePointPath7CubicToC1ERKNS_13RelativePointES4_S4_(ptr, ptr, ptr, ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "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, !14, i64 24}
!6 = !{!"_ZTSN4juce17RelativePointPathE", !7, i64 0, !14, i64 24, !14, i64 25}
!7 = !{!"_ZTSN4juce10OwnedArrayINS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEE", !8, i64 0, !13, i64 16}
!8 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17RelativePointPath11ElementBaseENS_20DummyCriticalSectionEEE", !9, i64 0, !13, i64 8}
!9 = !{!"_ZTSN4juce9HeapBlockIPNS_17RelativePointPath11ElementBaseELb0EEE", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"int", !11, i64 0}
!14 = !{!"bool", !11, i64 0}
!15 = !{!6, !14, i64 25}
!16 = !{!17, !18, i64 0}
!17 = !{!"_ZTSN4juce4Path8IteratorE", !18, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !10, i64 32, !20, i64 40}
!18 = !{!"_ZTSN4juce4Path8Iterator15PathElementTypeE", !11, i64 0}
!19 = !{!"float", !11, i64 0}
!20 = !{!"long", !11, i64 0}
!21 = !{!17, !19, i64 4}
!22 = !{!17, !19, i64 8}
!23 = !{!17, !19, i64 12}
!24 = !{!17, !19, i64 16}
!25 = !{!17, !19, i64 20}
!26 = !{!17, !19, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass