; LLVM IR from xirc/cp-algorithm :: aoj/CGL/CGL7G/main.ll (Z18tangent_on_circles7vector2dS_dRSt6vectorIS_SaIS_EE)

; 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"

%struct.vector2 = type { double, double }

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #0

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector2mlERKd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK7vector26lengthEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z2EQRKdS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18tangent_on_circles7vector2dS_dRSt6vectorIS_SaIS_EE(double %0, double %1, double noundef %2, double %3, double %4, double noundef %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #0 {
  %8 = alloca i32, align 4
  %9 = alloca %struct.vector2, align 8
  %10 = alloca %struct.vector2, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca %struct.vector2, align 8
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca %struct.vector2, align 8
  %19 = alloca %struct.vector2, align 8
  %20 = alloca %struct.vector2, align 8
  %21 = alloca %struct.vector2, align 8
  %22 = alloca double, align 8
  %23 = alloca %struct.vector2, align 8
  %24 = alloca %struct.vector2, align 8
  %25 = alloca %struct.vector2, align 8
  %26 = alloca %struct.vector2, align 8
  %27 = alloca %struct.vector2, align 8
  %28 = alloca %struct.vector2, align 8
  %29 = alloca %struct.vector2, align 8
  %30 = alloca %struct.vector2, align 8
  %31 = alloca %struct.vector2, align 8
  %32 = alloca %struct.vector2, align 8
  %33 = alloca %struct.vector2, align 8
  %34 = alloca %struct.vector2, align 8
  %35 = alloca %struct.vector2, align 8
  %36 = alloca %struct.vector2, align 8
  %37 = alloca double, align 8
  %38 = alloca %struct.vector2, align 8
  %39 = alloca %struct.vector2, align 8
  %40 = alloca %struct.vector2, align 8
  %41 = alloca %struct.vector2, align 8
  %42 = alloca double, align 8
  %43 = alloca %struct.vector2, align 8
  %44 = alloca %struct.vector2, align 8
  %45 = alloca %struct.vector2, align 8
  %46 = alloca %struct.vector2, align 8
  %47 = alloca %struct.vector2, align 8
  %48 = alloca %struct.vector2, align 8
  %49 = alloca %struct.vector2, align 8
  %50 = alloca %struct.vector2, align 8
  %51 = alloca %struct.vector2, align 8
  %52 = alloca %struct.vector2, align 8
  %53 = alloca %struct.vector2, align 8
  %54 = alloca %struct.vector2, align 8
  %55 = alloca %struct.vector2, align 8
  %56 = alloca %struct.vector2, align 8
  %57 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %0, ptr %57, align 8
  %58 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %1, ptr %58, align 8
  %59 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %3, ptr %59, align 8
  %60 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %4, ptr %60, align 8
  store double %2, ptr %11, align 8, !tbaa !5
  store double %5, ptr %12, align 8, !tbaa !5
  store ptr %6, ptr %13, align 8, !tbaa !9
  %61 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_ZNSt6vectorI7vector2SaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #5
  %62 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_ZNSt6vectorI7vector2SaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef 4)
  %63 = load double, ptr %11, align 8, !tbaa !5
  %64 = load double, ptr %12, align 8, !tbaa !5
  %65 = fcmp olt double %63, %64
  br i1 %65, label %66, label %67

66:                                               ; preds = %7
  call void @_ZSt4swapI7vector2ENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS4_ESt18is_move_assignableIS4_EEE5valueEvE4typeERS4_SD_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br label %67

67:                                               ; preds = %66, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %68 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %69 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %70 = extractvalue { double, double } %68, 0
  store double %70, ptr %69, align 8
  %71 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %72 = extractvalue { double, double } %68, 1
  store double %72, ptr %71, align 8
  %73 = call noundef double @_ZNK7vector26lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  store double %73, ptr %14, align 8, !tbaa !5
  %74 = load double, ptr %14, align 8, !tbaa !5
  %75 = load double, ptr %11, align 8, !tbaa !5
  %76 = load double, ptr %12, align 8, !tbaa !5
  %77 = fsub double %75, %76
  %78 = fcmp olt double %74, %77
  br i1 %78, label %79, label %80

79:                                               ; preds = %67
  store i32 0, ptr %8, align 4
  store i32 1, ptr %16, align 4
  br label %309

80:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %81 = load double, ptr %11, align 8, !tbaa !5
  %82 = load double, ptr %12, align 8, !tbaa !5
  %83 = fsub double %81, %82
  store double %83, ptr %17, align 8, !tbaa !5
  %84 = call noundef zeroext i1 @_Z2EQRKdS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br i1 %84, label %85, label %107

85:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %86 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %87 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %88 = extractvalue { double, double } %86, 0
  store double %88, ptr %87, align 8
  %89 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %90 = extractvalue { double, double } %86, 1
  store double %90, ptr %89, align 8
  %91 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %92 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %93 = extractvalue { double, double } %91, 0
  store double %93, ptr %92, align 8
  %94 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %95 = extractvalue { double, double } %91, 1
  store double %95, ptr %94, align 8
  %96 = call { double, double } @_ZNK7vector2mlERKd(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %97 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %98 = extractvalue { double, double } %96, 0
  store double %98, ptr %97, align 8
  %99 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %100 = extractvalue { double, double } %96, 1
  store double %100, ptr %99, align 8
  %101 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %102 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %103 = extractvalue { double, double } %101, 0
  store double %103, ptr %102, align 8
  %104 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %105 = extractvalue { double, double } %101, 1
  store double %105, ptr %104, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  %106 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(16) %18)
  store i32 1, ptr %8, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %309

107:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %108 = load double, ptr %11, align 8, !tbaa !5
  %109 = load double, ptr %12, align 8, !tbaa !5
  %110 = fsub double %108, %109
  %111 = load double, ptr %14, align 8, !tbaa !5
  %112 = fdiv double %110, %111
  %113 = call double @acos(double noundef %112) #5
  store double %113, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  %114 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %115 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %116 = extractvalue { double, double } %114, 0
  store double %116, ptr %115, align 8
  %117 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %118 = extractvalue { double, double } %114, 1
  store double %118, ptr %117, align 8
  %119 = load double, ptr %22, align 8, !tbaa !5
  %120 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %25, double noundef %119)
  %121 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %122 = extractvalue { double, double } %120, 0
  store double %122, ptr %121, align 8
  %123 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %124 = extractvalue { double, double } %120, 1
  store double %124, ptr %123, align 8
  %125 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
  %126 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %127 = extractvalue { double, double } %125, 0
  store double %127, ptr %126, align 8
  %128 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %129 = extractvalue { double, double } %125, 1
  store double %129, ptr %128, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  %130 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %131 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %132 = extractvalue { double, double } %130, 0
  store double %132, ptr %131, align 8
  %133 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %134 = extractvalue { double, double } %130, 1
  store double %134, ptr %133, align 8
  %135 = load double, ptr %22, align 8, !tbaa !5
  %136 = fneg double %135
  %137 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %28, double noundef %136)
  %138 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %139 = extractvalue { double, double } %137, 0
  store double %139, ptr %138, align 8
  %140 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %141 = extractvalue { double, double } %137, 1
  store double %141, ptr %140, align 8
  %142 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %143 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %144 = extractvalue { double, double } %142, 0
  store double %144, ptr %143, align 8
  %145 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %146 = extractvalue { double, double } %142, 1
  store double %146, ptr %145, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  %147 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  %148 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %23)
  %149 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %150 = extractvalue { double, double } %148, 0
  store double %150, ptr %149, align 8
  %151 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %152 = extractvalue { double, double } %148, 1
  store double %152, ptr %151, align 8
  %153 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %30)
  %154 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %155 = extractvalue { double, double } %153, 0
  store double %155, ptr %154, align 8
  %156 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %157 = extractvalue { double, double } %153, 1
  store double %157, ptr %156, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %147, ptr noundef nonnull align 8 dereferenceable(16) %29)
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  %158 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  %159 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %160 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %161 = extractvalue { double, double } %159, 0
  store double %161, ptr %160, align 8
  %162 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %163 = extractvalue { double, double } %159, 1
  store double %163, ptr %162, align 8
  %164 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %165 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %166 = extractvalue { double, double } %164, 0
  store double %166, ptr %165, align 8
  %167 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %168 = extractvalue { double, double } %164, 1
  store double %168, ptr %167, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %158, ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  %169 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #5
  %170 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %23)
  %171 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %172 = extractvalue { double, double } %170, 0
  store double %172, ptr %171, align 8
  %173 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %174 = extractvalue { double, double } %170, 1
  store double %174, ptr %173, align 8
  %175 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %34)
  %176 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %177 = extractvalue { double, double } %175, 0
  store double %177, ptr %176, align 8
  %178 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %179 = extractvalue { double, double } %175, 1
  store double %179, ptr %178, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %169, ptr noundef nonnull align 8 dereferenceable(16) %33)
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  %180 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #5
  %181 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %182 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %183 = extractvalue { double, double } %181, 0
  store double %183, ptr %182, align 8
  %184 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %185 = extractvalue { double, double } %181, 1
  store double %185, ptr %184, align 8
  %186 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %36)
  %187 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %188 = extractvalue { double, double } %186, 0
  store double %188, ptr %187, align 8
  %189 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %190 = extractvalue { double, double } %186, 1
  store double %190, ptr %189, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %180, ptr noundef nonnull align 8 dereferenceable(16) %35)
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #5
  %191 = load double, ptr %14, align 8, !tbaa !5
  %192 = load double, ptr %11, align 8, !tbaa !5
  %193 = load double, ptr %12, align 8, !tbaa !5
  %194 = fadd double %192, %193
  %195 = fcmp olt double %191, %194
  br i1 %195, label %196, label %197

196:                                              ; preds = %107
  store i32 2, ptr %8, align 4
  store i32 1, ptr %16, align 4
  br label %308

197:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %198 = load double, ptr %11, align 8, !tbaa !5
  %199 = load double, ptr %12, align 8, !tbaa !5
  %200 = fadd double %198, %199
  store double %200, ptr %37, align 8, !tbaa !5
  %201 = call noundef zeroext i1 @_Z2EQRKdS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %37)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br i1 %201, label %202, label %224

202:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #5
  %203 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %204 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %205 = extractvalue { double, double } %203, 0
  store double %205, ptr %204, align 8
  %206 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %207 = extractvalue { double, double } %203, 1
  store double %207, ptr %206, align 8
  %208 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
  %209 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %210 = extractvalue { double, double } %208, 0
  store double %210, ptr %209, align 8
  %211 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %212 = extractvalue { double, double } %208, 1
  store double %212, ptr %211, align 8
  %213 = call { double, double } @_ZNK7vector2mlERKd(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %214 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %215 = extractvalue { double, double } %213, 0
  store double %215, ptr %214, align 8
  %216 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %217 = extractvalue { double, double } %213, 1
  store double %217, ptr %216, align 8
  %218 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %39)
  %219 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %220 = extractvalue { double, double } %218, 0
  store double %220, ptr %219, align 8
  %221 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %222 = extractvalue { double, double } %218, 1
  store double %222, ptr %221, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #5
  %223 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %223, ptr noundef nonnull align 8 dereferenceable(16) %38)
  store i32 3, ptr %8, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  br label %308

224:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %225 = load double, ptr %11, align 8, !tbaa !5
  %226 = load double, ptr %12, align 8, !tbaa !5
  %227 = fadd double %225, %226
  %228 = load double, ptr %14, align 8, !tbaa !5
  %229 = fdiv double %227, %228
  %230 = call double @acos(double noundef %229) #5
  store double %230, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #5
  %231 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %232 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %233 = extractvalue { double, double } %231, 0
  store double %233, ptr %232, align 8
  %234 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %235 = extractvalue { double, double } %231, 1
  store double %235, ptr %234, align 8
  %236 = load double, ptr %42, align 8, !tbaa !5
  %237 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %45, double noundef %236)
  %238 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %239 = extractvalue { double, double } %237, 0
  store double %239, ptr %238, align 8
  %240 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %241 = extractvalue { double, double } %237, 1
  store double %241, ptr %240, align 8
  %242 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
  %243 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %244 = extractvalue { double, double } %242, 0
  store double %244, ptr %243, align 8
  %245 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %246 = extractvalue { double, double } %242, 1
  store double %246, ptr %245, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #5
  %247 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %248 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %249 = extractvalue { double, double } %247, 0
  store double %249, ptr %248, align 8
  %250 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %251 = extractvalue { double, double } %247, 1
  store double %251, ptr %250, align 8
  %252 = load double, ptr %42, align 8, !tbaa !5
  %253 = fneg double %252
  %254 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %48, double noundef %253)
  %255 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %256 = extractvalue { double, double } %254, 0
  store double %256, ptr %255, align 8
  %257 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %258 = extractvalue { double, double } %254, 1
  store double %258, ptr %257, align 8
  %259 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %47)
  %260 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %261 = extractvalue { double, double } %259, 0
  store double %261, ptr %260, align 8
  %262 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %263 = extractvalue { double, double } %259, 1
  store double %263, ptr %262, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #5
  %264 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #5
  %265 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %43)
  %266 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %267 = extractvalue { double, double } %265, 0
  store double %267, ptr %266, align 8
  %268 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %269 = extractvalue { double, double } %265, 1
  store double %269, ptr %268, align 8
  %270 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %50)
  %271 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %272 = extractvalue { double, double } %270, 0
  store double %272, ptr %271, align 8
  %273 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %274 = extractvalue { double, double } %270, 1
  store double %274, ptr %273, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %264, ptr noundef nonnull align 8 dereferenceable(16) %49)
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  %275 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #5
  %276 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %46)
  %277 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %278 = extractvalue { double, double } %276, 0
  store double %278, ptr %277, align 8
  %279 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %280 = extractvalue { double, double } %276, 1
  store double %280, ptr %279, align 8
  %281 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %52)
  %282 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %283 = extractvalue { double, double } %281, 0
  store double %283, ptr %282, align 8
  %284 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %285 = extractvalue { double, double } %281, 1
  store double %285, ptr %284, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %275, ptr noundef nonnull align 8 dereferenceable(16) %51)
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #5
  %286 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #5
  %287 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %43)
  %288 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %289 = extractvalue { double, double } %287, 0
  store double %289, ptr %288, align 8
  %290 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %291 = extractvalue { double, double } %287, 1
  store double %291, ptr %290, align 8
  %292 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %54)
  %293 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 0
  %294 = extractvalue { double, double } %292, 0
  store double %294, ptr %293, align 8
  %295 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 1
  %296 = extractvalue { double, double } %292, 1
  store double %296, ptr %295, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %286, ptr noundef nonnull align 8 dereferenceable(16) %53)
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #5
  %297 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #5
  %298 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %46)
  %299 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %300 = extractvalue { double, double } %298, 0
  store double %300, ptr %299, align 8
  %301 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %302 = extractvalue { double, double } %298, 1
  store double %302, ptr %301, align 8
  %303 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %56)
  %304 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %305 = extractvalue { double, double } %303, 0
  store double %305, ptr %304, align 8
  %306 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %307 = extractvalue { double, double } %303, 1
  store double %307, ptr %306, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %297, ptr noundef nonnull align 8 dereferenceable(16) %55)
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #5
  store i32 4, ptr %8, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %308

308:                                              ; preds = %224, %202, %196
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %309

309:                                              ; preds = %308, %85, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %310 = load i32, ptr %8, align 4
  ret i32 %310
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: nounwind
declare double @acos(double noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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"

%struct.vector2 = type { double, double }

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector2mlERKd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK7vector26lengthEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z2EQRKdS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) 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 uwtable
declare dso_local { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_Z18tangent_on_circles7vector2dS_dRSt6vectorIS_SaIS_EE(double %0, double %1, double noundef %2, double %3, double %4, double noundef %5, ptr noundef nonnull align 8 dereferenceable(24) %6) local_unnamed_addr #0 {
  %8 = alloca %struct.vector2, align 8
  %9 = alloca %struct.vector2, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca %struct.vector2, align 8
  %14 = alloca double, align 8
  %15 = alloca %struct.vector2, align 8
  %16 = alloca %struct.vector2, align 8
  %17 = alloca %struct.vector2, align 8
  %18 = alloca %struct.vector2, align 8
  %19 = alloca %struct.vector2, align 8
  %20 = alloca %struct.vector2, align 8
  %21 = alloca %struct.vector2, align 8
  %22 = alloca %struct.vector2, align 8
  %23 = alloca %struct.vector2, align 8
  %24 = alloca %struct.vector2, align 8
  %25 = alloca %struct.vector2, align 8
  %26 = alloca %struct.vector2, align 8
  %27 = alloca %struct.vector2, align 8
  %28 = alloca %struct.vector2, align 8
  %29 = alloca %struct.vector2, align 8
  %30 = alloca %struct.vector2, align 8
  %31 = alloca %struct.vector2, align 8
  %32 = alloca %struct.vector2, align 8
  %33 = alloca double, align 8
  %34 = alloca %struct.vector2, align 8
  %35 = alloca %struct.vector2, align 8
  %36 = alloca %struct.vector2, align 8
  %37 = alloca %struct.vector2, align 8
  %38 = alloca %struct.vector2, align 8
  %39 = alloca %struct.vector2, align 8
  %40 = alloca %struct.vector2, align 8
  %41 = alloca %struct.vector2, align 8
  %42 = alloca %struct.vector2, align 8
  %43 = alloca %struct.vector2, align 8
  %44 = alloca %struct.vector2, align 8
  %45 = alloca %struct.vector2, align 8
  %46 = alloca %struct.vector2, align 8
  %47 = alloca %struct.vector2, align 8
  %48 = alloca %struct.vector2, align 8
  %49 = alloca %struct.vector2, align 8
  %50 = alloca %struct.vector2, align 8
  %51 = alloca %struct.vector2, align 8
  store double %0, ptr %8, align 8
  %52 = getelementptr inbounds i8, ptr %8, i64 8
  store double %1, ptr %52, align 8
  store double %3, ptr %9, align 8
  %53 = getelementptr inbounds i8, ptr %9, i64 8
  store double %4, ptr %53, align 8
  store double %2, ptr %10, align 8, !tbaa !5
  store double %5, ptr %11, align 8, !tbaa !5
  tail call void @_ZNSt6vectorI7vector2SaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  tail call void @_ZNSt6vectorI7vector2SaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 4)
  %54 = fcmp olt double %2, %5
  br i1 %54, label %55, label %56

55:                                               ; preds = %7
  call void @_ZSt4swapI7vector2ENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS4_ESt18is_move_assignableIS4_EEE5valueEvE4typeERS4_SD_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br label %56

56:                                               ; preds = %55, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  %57 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %58 = extractvalue { double, double } %57, 0
  store double %58, ptr %13, align 8
  %59 = getelementptr inbounds i8, ptr %13, i64 8
  %60 = extractvalue { double, double } %57, 1
  store double %60, ptr %59, align 8
  %61 = call noundef double @_ZNK7vector26lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  store double %61, ptr %12, align 8, !tbaa !5
  %62 = load double, ptr %10, align 8, !tbaa !5
  %63 = load double, ptr %11, align 8, !tbaa !5
  %64 = fsub double %62, %63
  %65 = fcmp olt double %61, %64
  br i1 %65, label %238, label %66

66:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store double %64, ptr %14, align 8, !tbaa !5
  %67 = call noundef zeroext i1 @_Z2EQRKdS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br i1 %67, label %68, label %85

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  %69 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %70 = extractvalue { double, double } %69, 0
  store double %70, ptr %18, align 8
  %71 = getelementptr inbounds i8, ptr %18, i64 8
  %72 = extractvalue { double, double } %69, 1
  store double %72, ptr %71, align 8
  %73 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  %74 = extractvalue { double, double } %73, 0
  store double %74, ptr %17, align 8
  %75 = getelementptr inbounds i8, ptr %17, i64 8
  %76 = extractvalue { double, double } %73, 1
  store double %76, ptr %75, align 8
  %77 = call { double, double } @_ZNK7vector2mlERKd(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %78 = extractvalue { double, double } %77, 0
  store double %78, ptr %16, align 8
  %79 = getelementptr inbounds i8, ptr %16, i64 8
  %80 = extractvalue { double, double } %77, 1
  store double %80, ptr %79, align 8
  %81 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %82 = extractvalue { double, double } %81, 0
  store double %82, ptr %15, align 8
  %83 = getelementptr inbounds i8, ptr %15, i64 8
  %84 = extractvalue { double, double } %81, 1
  store double %84, ptr %83, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %238

85:                                               ; preds = %66
  %86 = load double, ptr %10, align 8, !tbaa !5
  %87 = load double, ptr %11, align 8, !tbaa !5
  %88 = fsub double %86, %87
  %89 = load double, ptr %12, align 8, !tbaa !5
  %90 = fdiv double %88, %89
  %91 = call double @acos(double noundef %90) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  %92 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %93 = extractvalue { double, double } %92, 0
  store double %93, ptr %21, align 8
  %94 = getelementptr inbounds i8, ptr %21, i64 8
  %95 = extractvalue { double, double } %92, 1
  store double %95, ptr %94, align 8
  %96 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef %91)
  %97 = extractvalue { double, double } %96, 0
  store double %97, ptr %20, align 8
  %98 = getelementptr inbounds i8, ptr %20, i64 8
  %99 = extractvalue { double, double } %96, 1
  store double %99, ptr %98, align 8
  %100 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  %101 = extractvalue { double, double } %100, 0
  store double %101, ptr %19, align 8
  %102 = getelementptr inbounds i8, ptr %19, i64 8
  %103 = extractvalue { double, double } %100, 1
  store double %103, ptr %102, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  %104 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %105 = extractvalue { double, double } %104, 0
  store double %105, ptr %24, align 8
  %106 = getelementptr inbounds i8, ptr %24, i64 8
  %107 = extractvalue { double, double } %104, 1
  store double %107, ptr %106, align 8
  %108 = fneg double %91
  %109 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %24, double noundef %108)
  %110 = extractvalue { double, double } %109, 0
  store double %110, ptr %23, align 8
  %111 = getelementptr inbounds i8, ptr %23, i64 8
  %112 = extractvalue { double, double } %109, 1
  store double %112, ptr %111, align 8
  %113 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %114 = extractvalue { double, double } %113, 0
  store double %114, ptr %22, align 8
  %115 = getelementptr inbounds i8, ptr %22, i64 8
  %116 = extractvalue { double, double } %113, 1
  store double %116, ptr %115, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #5
  %117 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %118 = extractvalue { double, double } %117, 0
  store double %118, ptr %26, align 8
  %119 = getelementptr inbounds i8, ptr %26, i64 8
  %120 = extractvalue { double, double } %117, 1
  store double %120, ptr %119, align 8
  %121 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %122 = extractvalue { double, double } %121, 0
  store double %122, ptr %25, align 8
  %123 = getelementptr inbounds i8, ptr %25, i64 8
  %124 = extractvalue { double, double } %121, 1
  store double %124, ptr %123, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %25)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #5
  %125 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %126 = extractvalue { double, double } %125, 0
  store double %126, ptr %28, align 8
  %127 = getelementptr inbounds i8, ptr %28, i64 8
  %128 = extractvalue { double, double } %125, 1
  store double %128, ptr %127, align 8
  %129 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %28)
  %130 = extractvalue { double, double } %129, 0
  store double %130, ptr %27, align 8
  %131 = getelementptr inbounds i8, ptr %27, i64 8
  %132 = extractvalue { double, double } %129, 1
  store double %132, ptr %131, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #5
  %133 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %134 = extractvalue { double, double } %133, 0
  store double %134, ptr %30, align 8
  %135 = getelementptr inbounds i8, ptr %30, i64 8
  %136 = extractvalue { double, double } %133, 1
  store double %136, ptr %135, align 8
  %137 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %30)
  %138 = extractvalue { double, double } %137, 0
  store double %138, ptr %29, align 8
  %139 = getelementptr inbounds i8, ptr %29, i64 8
  %140 = extractvalue { double, double } %137, 1
  store double %140, ptr %139, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %29)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #5
  %141 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %142 = extractvalue { double, double } %141, 0
  store double %142, ptr %32, align 8
  %143 = getelementptr inbounds i8, ptr %32, i64 8
  %144 = extractvalue { double, double } %141, 1
  store double %144, ptr %143, align 8
  %145 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %146 = extractvalue { double, double } %145, 0
  store double %146, ptr %31, align 8
  %147 = getelementptr inbounds i8, ptr %31, i64 8
  %148 = extractvalue { double, double } %145, 1
  store double %148, ptr %147, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #5
  %149 = load double, ptr %12, align 8, !tbaa !5
  %150 = load double, ptr %10, align 8, !tbaa !5
  %151 = load double, ptr %11, align 8, !tbaa !5
  %152 = fadd double %150, %151
  %153 = fcmp olt double %149, %152
  br i1 %153, label %237, label %154

154:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #5
  store double %152, ptr %33, align 8, !tbaa !5
  %155 = call noundef zeroext i1 @_Z2EQRKdS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %33)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  br i1 %155, label %156, label %173

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #5
  %157 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %158 = extractvalue { double, double } %157, 0
  store double %158, ptr %37, align 8
  %159 = getelementptr inbounds i8, ptr %37, i64 8
  %160 = extractvalue { double, double } %157, 1
  store double %160, ptr %159, align 8
  %161 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
  %162 = extractvalue { double, double } %161, 0
  store double %162, ptr %36, align 8
  %163 = getelementptr inbounds i8, ptr %36, i64 8
  %164 = extractvalue { double, double } %161, 1
  store double %164, ptr %163, align 8
  %165 = call { double, double } @_ZNK7vector2mlERKd(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %166 = extractvalue { double, double } %165, 0
  store double %166, ptr %35, align 8
  %167 = getelementptr inbounds i8, ptr %35, i64 8
  %168 = extractvalue { double, double } %165, 1
  store double %168, ptr %167, align 8
  %169 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %35)
  %170 = extractvalue { double, double } %169, 0
  store double %170, ptr %34, align 8
  %171 = getelementptr inbounds i8, ptr %34, i64 8
  %172 = extractvalue { double, double } %169, 1
  store double %172, ptr %171, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #5
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %34)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #5
  br label %237

173:                                              ; preds = %154
  %174 = load double, ptr %10, align 8, !tbaa !5
  %175 = load double, ptr %11, align 8, !tbaa !5
  %176 = fadd double %174, %175
  %177 = load double, ptr %12, align 8, !tbaa !5
  %178 = fdiv double %176, %177
  %179 = call double @acos(double noundef %178) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #5
  %180 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %181 = extractvalue { double, double } %180, 0
  store double %181, ptr %40, align 8
  %182 = getelementptr inbounds i8, ptr %40, i64 8
  %183 = extractvalue { double, double } %180, 1
  store double %183, ptr %182, align 8
  %184 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %40, double noundef %179)
  %185 = extractvalue { double, double } %184, 0
  store double %185, ptr %39, align 8
  %186 = getelementptr inbounds i8, ptr %39, i64 8
  %187 = extractvalue { double, double } %184, 1
  store double %187, ptr %186, align 8
  %188 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
  %189 = extractvalue { double, double } %188, 0
  store double %189, ptr %38, align 8
  %190 = getelementptr inbounds i8, ptr %38, i64 8
  %191 = extractvalue { double, double } %188, 1
  store double %191, ptr %190, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #5
  %192 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %193 = extractvalue { double, double } %192, 0
  store double %193, ptr %43, align 8
  %194 = getelementptr inbounds i8, ptr %43, i64 8
  %195 = extractvalue { double, double } %192, 1
  store double %195, ptr %194, align 8
  %196 = fneg double %179
  %197 = call { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16) %43, double noundef %196)
  %198 = extractvalue { double, double } %197, 0
  store double %198, ptr %42, align 8
  %199 = getelementptr inbounds i8, ptr %42, i64 8
  %200 = extractvalue { double, double } %197, 1
  store double %200, ptr %199, align 8
  %201 = call { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
  %202 = extractvalue { double, double } %201, 0
  store double %202, ptr %41, align 8
  %203 = getelementptr inbounds i8, ptr %41, i64 8
  %204 = extractvalue { double, double } %201, 1
  store double %204, ptr %203, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #5
  %205 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(16) %38)
  %206 = extractvalue { double, double } %205, 0
  store double %206, ptr %45, align 8
  %207 = getelementptr inbounds i8, ptr %45, i64 8
  %208 = extractvalue { double, double } %205, 1
  store double %208, ptr %207, align 8
  %209 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %45)
  %210 = extractvalue { double, double } %209, 0
  store double %210, ptr %44, align 8
  %211 = getelementptr inbounds i8, ptr %44, i64 8
  %212 = extractvalue { double, double } %209, 1
  store double %212, ptr %211, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %44)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #5
  %213 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(16) %41)
  %214 = extractvalue { double, double } %213, 0
  store double %214, ptr %47, align 8
  %215 = getelementptr inbounds i8, ptr %47, i64 8
  %216 = extractvalue { double, double } %213, 1
  store double %216, ptr %215, align 8
  %217 = call { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %47)
  %218 = extractvalue { double, double } %217, 0
  store double %218, ptr %46, align 8
  %219 = getelementptr inbounds i8, ptr %46, i64 8
  %220 = extractvalue { double, double } %217, 1
  store double %220, ptr %219, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %46)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %48) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %49) #5
  %221 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %38)
  %222 = extractvalue { double, double } %221, 0
  store double %222, ptr %49, align 8
  %223 = getelementptr inbounds i8, ptr %49, i64 8
  %224 = extractvalue { double, double } %221, 1
  store double %224, ptr %223, align 8
  %225 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %49)
  %226 = extractvalue { double, double } %225, 0
  store double %226, ptr %48, align 8
  %227 = getelementptr inbounds i8, ptr %48, i64 8
  %228 = extractvalue { double, double } %225, 1
  store double %228, ptr %227, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %48)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %50) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %51) #5
  %229 = call { double, double } @_ZmlRKdRK7vector2(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %41)
  %230 = extractvalue { double, double } %229, 0
  store double %230, ptr %51, align 8
  %231 = getelementptr inbounds i8, ptr %51, i64 8
  %232 = extractvalue { double, double } %229, 1
  store double %232, ptr %231, align 8
  %233 = call { double, double } @_ZNK7vector2miERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %51)
  %234 = extractvalue { double, double } %233, 0
  store double %234, ptr %50, align 8
  %235 = getelementptr inbounds i8, ptr %50, i64 8
  %236 = extractvalue { double, double } %233, 1
  store double %236, ptr %235, align 8
  call void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %50)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %51) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #5
  br label %237

237:                                              ; preds = %85, %173, %156
  %.0 = phi i32 [ 3, %156 ], [ 4, %173 ], [ 2, %85 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  br label %238

238:                                              ; preds = %56, %237, %68
  %.1 = phi i32 [ 1, %68 ], [ %.0, %237 ], [ 0, %56 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  ret i32 %.1
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapI7vector2ENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS4_ESt18is_move_assignableIS4_EEE5valueEvE4typeERS4_SD_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector2plERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector210normalizedEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @acos(double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7vector27rotatedEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7vector2SaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 nofree nounwind willreturn memory(write) "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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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