; LLVM IR from bark-simulator/bark :: bark/world/opendrive/odrSpiral.ll (ZN4bark5world9opendrive9odrSpiralEddddddPdS2_S2_)

; 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.std::complex" = type { { double, double } }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4bark5world9opendrive7fresnelEdPdS2_(double noundef, ptr noundef, ptr 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 speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2

; Function Attrs: nounwind
declare double @cos(double noundef) #3

; Function Attrs: nounwind
declare double @sin(double noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4bark5world9opendrive9odrSpiralEddddddPdS2_S2_(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca %"class.std::complex", align 8
  %40 = alloca double, align 8
  %41 = alloca %"class.std::complex", align 8
  %42 = alloca %"class.std::complex", align 8
  %43 = alloca double, align 8
  %44 = alloca %"class.std::complex", align 8
  %45 = alloca %"class.std::complex", align 8
  %46 = alloca %"class.std::complex", align 8
  %47 = alloca double, align 8
  %48 = alloca %"class.std::complex", align 8
  %49 = alloca %"class.std::complex", align 8
  %50 = alloca %"class.std::complex", align 8
  %51 = alloca %"class.std::complex", align 8
  %52 = alloca double, align 8
  %53 = alloca %"class.std::complex", align 8
  %54 = alloca %"class.std::complex", align 8
  %55 = alloca %"class.std::complex", align 8
  %56 = alloca %"class.std::complex", align 8
  store double %0, ptr %10, align 8, !tbaa !5
  store double %1, ptr %11, align 8, !tbaa !5
  store double %2, ptr %12, align 8, !tbaa !5
  store double %3, ptr %13, align 8, !tbaa !5
  store double %4, ptr %14, align 8, !tbaa !5
  store double %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !9
  store ptr %8, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %57 = load double, ptr %11, align 8, !tbaa !5
  %58 = load double, ptr %12, align 8, !tbaa !5
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %19, double noundef %57, double noundef %58)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %20, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %59 = load double, ptr %13, align 8, !tbaa !5
  %60 = fcmp oeq double %59, 0.000000e+00
  br i1 %60, label %61, label %80

61:                                               ; preds = %9
  %62 = load double, ptr %14, align 8, !tbaa !5
  %63 = fcmp oeq double %62, 0.000000e+00
  br i1 %63, label %64, label %80

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %65 = load double, ptr %15, align 8, !tbaa !5
  %66 = load double, ptr %10, align 8, !tbaa !5
  %67 = fmul double %65, %66
  store double %67, ptr %24, align 8, !tbaa !5
  %68 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %69 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  %70 = getelementptr inbounds { double, double }, ptr %69, i32 0, i32 0
  %71 = extractvalue { double, double } %68, 0
  store double %71, ptr %70, align 8
  %72 = getelementptr inbounds { double, double }, ptr %69, i32 0, i32 1
  %73 = extractvalue { double, double } %68, 1
  store double %73, ptr %72, align 8
  %74 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %23)
  %75 = getelementptr inbounds %"class.std::complex", ptr %22, i32 0, i32 0
  %76 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 0
  %77 = extractvalue { double, double } %74, 0
  store double %77, ptr %76, align 8
  %78 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 1
  %79 = extractvalue { double, double } %74, 1
  store double %79, ptr %78, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %22, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %253

80:                                               ; preds = %61, %9
  %81 = load double, ptr %13, align 8, !tbaa !5
  %82 = fcmp oeq double %81, 0.000000e+00
  br i1 %82, label %83, label %132

83:                                               ; preds = %80
  %84 = load double, ptr %14, align 8, !tbaa !5
  %85 = fcmp une double %84, 0.000000e+00
  br i1 %85, label %86, label %132

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %87 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %88 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  %89 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 0
  %90 = extractvalue { double, double } %87, 0
  store double %90, ptr %89, align 8
  %91 = getelementptr inbounds { double, double }, ptr %88, i32 0, i32 1
  %92 = extractvalue { double, double } %87, 1
  store double %92, ptr %91, align 8
  %93 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %94 = getelementptr inbounds %"class.std::complex", ptr %27, i32 0, i32 0
  %95 = getelementptr inbounds { double, double }, ptr %94, i32 0, i32 0
  %96 = extractvalue { double, double } %93, 0
  store double %96, ptr %95, align 8
  %97 = getelementptr inbounds { double, double }, ptr %94, i32 0, i32 1
  %98 = extractvalue { double, double } %93, 1
  store double %98, ptr %97, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %99 = load double, ptr %14, align 8, !tbaa !5
  %100 = load double, ptr %10, align 8, !tbaa !5
  %101 = fmul double %99, %100
  %102 = call double @sin(double noundef %101) #8
  store double %102, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %103 = load double, ptr %14, align 8, !tbaa !5
  %104 = load double, ptr %10, align 8, !tbaa !5
  %105 = fmul double %103, %104
  %106 = call double @cos(double noundef %105) #8
  %107 = fsub double 1.000000e+00, %106
  store double %107, ptr %32, align 8, !tbaa !5
  %108 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %32)
  %109 = getelementptr inbounds %"class.std::complex", ptr %31, i32 0, i32 0
  %110 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 0
  %111 = extractvalue { double, double } %108, 0
  store double %111, ptr %110, align 8
  %112 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 1
  %113 = extractvalue { double, double } %108, 1
  store double %113, ptr %112, align 8
  %114 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(16) %31)
  %115 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  %116 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 0
  %117 = extractvalue { double, double } %114, 0
  store double %117, ptr %116, align 8
  %118 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 1
  %119 = extractvalue { double, double } %114, 1
  store double %119, ptr %118, align 8
  %120 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %121 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  %122 = getelementptr inbounds { double, double }, ptr %121, i32 0, i32 0
  %123 = extractvalue { double, double } %120, 0
  store double %123, ptr %122, align 8
  %124 = getelementptr inbounds { double, double }, ptr %121, i32 0, i32 1
  %125 = extractvalue { double, double } %120, 1
  store double %125, ptr %124, align 8
  %126 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %127 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %128 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 0
  %129 = extractvalue { double, double } %126, 0
  store double %129, ptr %128, align 8
  %130 = getelementptr inbounds { double, double }, ptr %127, i32 0, i32 1
  %131 = extractvalue { double, double } %126, 1
  store double %131, ptr %130, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %252

132:                                              ; preds = %83, %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %133 = load double, ptr %14, align 8, !tbaa !5
  %134 = load double, ptr %13, align 8, !tbaa !5
  %135 = load double, ptr %10, align 8, !tbaa !5
  %136 = call double @llvm.fmuladd.f64(double %134, double %135, double %133)
  %137 = load double, ptr %13, align 8, !tbaa !5
  %138 = call double @llvm.fabs.f64(double %137)
  %139 = fmul double 0x400921FB54442D18, %138
  %140 = call double @sqrt(double noundef %139) #8
  %141 = fdiv double %136, %140
  store double %141, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %142 = load double, ptr %33, align 8, !tbaa !5
  call void @_ZN4bark5world9opendrive7fresnelEdPdS2_(double noundef %142, ptr noundef %34, ptr noundef %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %143 = load double, ptr %14, align 8, !tbaa !5
  %144 = load double, ptr %13, align 8, !tbaa !5
  %145 = call double @llvm.fabs.f64(double %144)
  %146 = fmul double 0x400921FB54442D18, %145
  %147 = call double @sqrt(double noundef %146) #8
  %148 = fdiv double %143, %147
  store double %148, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %149 = load double, ptr %36, align 8, !tbaa !5
  call void @_ZN4bark5world9opendrive7fresnelEdPdS2_(double noundef %149, ptr noundef %37, ptr noundef %38)
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %150 = load double, ptr %13, align 8, !tbaa !5
  %151 = call double @llvm.fabs.f64(double %150)
  %152 = fdiv double 0x400921FB54442D18, %151
  %153 = call double @sqrt(double noundef %152) #8
  store double %153, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %154 = load double, ptr %15, align 8, !tbaa !5
  %155 = load double, ptr %14, align 8, !tbaa !5
  %156 = load double, ptr %14, align 8, !tbaa !5
  %157 = fmul double %155, %156
  %158 = fdiv double %157, 2.000000e+00
  %159 = load double, ptr %13, align 8, !tbaa !5
  %160 = fdiv double %158, %159
  %161 = fsub double %154, %160
  store double %161, ptr %43, align 8, !tbaa !5
  %162 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %43)
  %163 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  %164 = getelementptr inbounds { double, double }, ptr %163, i32 0, i32 0
  %165 = extractvalue { double, double } %162, 0
  store double %165, ptr %164, align 8
  %166 = getelementptr inbounds { double, double }, ptr %163, i32 0, i32 1
  %167 = extractvalue { double, double } %162, 1
  store double %167, ptr %166, align 8
  %168 = call { double, double } @_ZSt3expIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %42)
  %169 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %170 = getelementptr inbounds { double, double }, ptr %169, i32 0, i32 0
  %171 = extractvalue { double, double } %168, 0
  store double %171, ptr %170, align 8
  %172 = getelementptr inbounds { double, double }, ptr %169, i32 0, i32 1
  %173 = extractvalue { double, double } %168, 1
  store double %173, ptr %172, align 8
  %174 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(16) %41)
  %175 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  %176 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 0
  %177 = extractvalue { double, double } %174, 0
  store double %177, ptr %176, align 8
  %178 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 1
  %179 = extractvalue { double, double } %174, 1
  store double %179, ptr %178, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %44, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %180 = load double, ptr %13, align 8, !tbaa !5
  %181 = fcmp olt double %180, 0.000000e+00
  br i1 %181, label %182, label %211

182:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %183 = load double, ptr %35, align 8, !tbaa !5
  %184 = load double, ptr %38, align 8, !tbaa !5
  %185 = fsub double %183, %184
  %186 = fneg double %185
  store double %186, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #8
  %187 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %34)
  %188 = getelementptr inbounds %"class.std::complex", ptr %48, i32 0, i32 0
  %189 = getelementptr inbounds { double, double }, ptr %188, i32 0, i32 0
  %190 = extractvalue { double, double } %187, 0
  store double %190, ptr %189, align 8
  %191 = getelementptr inbounds { double, double }, ptr %188, i32 0, i32 1
  %192 = extractvalue { double, double } %187, 1
  store double %192, ptr %191, align 8
  %193 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(16) %48)
  %194 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  %195 = getelementptr inbounds { double, double }, ptr %194, i32 0, i32 0
  %196 = extractvalue { double, double } %193, 0
  store double %196, ptr %195, align 8
  %197 = getelementptr inbounds { double, double }, ptr %194, i32 0, i32 1
  %198 = extractvalue { double, double } %193, 1
  store double %198, ptr %197, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #8
  %199 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %37)
  %200 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  %201 = getelementptr inbounds { double, double }, ptr %200, i32 0, i32 0
  %202 = extractvalue { double, double } %199, 0
  store double %202, ptr %201, align 8
  %203 = getelementptr inbounds { double, double }, ptr %200, i32 0, i32 1
  %204 = extractvalue { double, double } %199, 1
  store double %204, ptr %203, align 8
  %205 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %49)
  %206 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  %207 = getelementptr inbounds { double, double }, ptr %206, i32 0, i32 0
  %208 = extractvalue { double, double } %205, 0
  store double %208, ptr %207, align 8
  %209 = getelementptr inbounds { double, double }, ptr %206, i32 0, i32 1
  %210 = extractvalue { double, double } %205, 1
  store double %210, ptr %209, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %45, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #8
  br label %239

211:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %212 = load double, ptr %35, align 8, !tbaa !5
  %213 = load double, ptr %38, align 8, !tbaa !5
  %214 = fsub double %212, %213
  store double %214, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #8
  %215 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %34)
  %216 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  %217 = getelementptr inbounds { double, double }, ptr %216, i32 0, i32 0
  %218 = extractvalue { double, double } %215, 0
  store double %218, ptr %217, align 8
  %219 = getelementptr inbounds { double, double }, ptr %216, i32 0, i32 1
  %220 = extractvalue { double, double } %215, 1
  store double %220, ptr %219, align 8
  %221 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(16) %53)
  %222 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  %223 = getelementptr inbounds { double, double }, ptr %222, i32 0, i32 0
  %224 = extractvalue { double, double } %221, 0
  store double %224, ptr %223, align 8
  %225 = getelementptr inbounds { double, double }, ptr %222, i32 0, i32 1
  %226 = extractvalue { double, double } %221, 1
  store double %226, ptr %225, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #8
  %227 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %37)
  %228 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  %229 = getelementptr inbounds { double, double }, ptr %228, i32 0, i32 0
  %230 = extractvalue { double, double } %227, 0
  store double %230, ptr %229, align 8
  %231 = getelementptr inbounds { double, double }, ptr %228, i32 0, i32 1
  %232 = extractvalue { double, double } %227, 1
  store double %232, ptr %231, align 8
  %233 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 8 dereferenceable(16) %54)
  %234 = getelementptr inbounds %"class.std::complex", ptr %50, i32 0, i32 0
  %235 = getelementptr inbounds { double, double }, ptr %234, i32 0, i32 0
  %236 = extractvalue { double, double } %233, 0
  store double %236, ptr %235, align 8
  %237 = getelementptr inbounds { double, double }, ptr %234, i32 0, i32 1
  %238 = extractvalue { double, double } %233, 1
  store double %238, ptr %237, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %50, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #8
  br label %239

239:                                              ; preds = %211, %182
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #8
  %240 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %44)
  %241 = getelementptr inbounds %"class.std::complex", ptr %56, i32 0, i32 0
  %242 = getelementptr inbounds { double, double }, ptr %241, i32 0, i32 0
  %243 = extractvalue { double, double } %240, 0
  store double %243, ptr %242, align 8
  %244 = getelementptr inbounds { double, double }, ptr %241, i32 0, i32 1
  %245 = extractvalue { double, double } %240, 1
  store double %245, ptr %244, align 8
  %246 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %56)
  %247 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  %248 = getelementptr inbounds { double, double }, ptr %247, i32 0, i32 0
  %249 = extractvalue { double, double } %246, 0
  store double %249, ptr %248, align 8
  %250 = getelementptr inbounds { double, double }, ptr %247, i32 0, i32 1
  %251 = extractvalue { double, double } %246, 1
  store double %251, ptr %250, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %55, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %252

252:                                              ; preds = %239, %86
  br label %253

253:                                              ; preds = %252, %64
  %254 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %255 = load ptr, ptr %16, align 8, !tbaa !9
  store double %254, ptr %255, align 8, !tbaa !5
  %256 = call noundef double @_ZNKSt7complexIdE4imagB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %257 = load ptr, ptr %17, align 8, !tbaa !9
  store double %256, ptr %257, align 8, !tbaa !5
  %258 = load double, ptr %13, align 8, !tbaa !5
  %259 = load double, ptr %10, align 8, !tbaa !5
  %260 = fmul double %258, %259
  %261 = load double, ptr %10, align 8, !tbaa !5
  %262 = fmul double %260, %261
  %263 = load double, ptr %14, align 8, !tbaa !5
  %264 = load double, ptr %10, align 8, !tbaa !5
  %265 = fmul double %263, %264
  %266 = call double @llvm.fmuladd.f64(double %262, double 5.000000e-01, double %265)
  %267 = load double, ptr %15, align 8, !tbaa !5
  %268 = fadd double %266, %267
  %269 = load ptr, ptr %18, align 8, !tbaa !9
  store double %268, ptr %269, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  ret void
}

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #7

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNKSt7complexIdE4imagB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16)) #4 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = { inlinehint 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { 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}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}


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

%"class.std::complex" = type { { double, double } }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4bark5world9opendrive7fresnelEdPdS2_(double noundef, ptr noundef, ptr 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 speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4bark5world9opendrive9odrSpiralEddddddPdS2_S2_(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef writeonly %8) local_unnamed_addr #0 {
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca double, align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca double, align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca double, align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca %"class.std::complex", align 8
  %35 = alloca double, align 8
  %36 = alloca %"class.std::complex", align 8
  %37 = alloca %"class.std::complex", align 8
  %38 = alloca %"class.std::complex", align 8
  %39 = alloca double, align 8
  %40 = alloca %"class.std::complex", align 8
  %41 = alloca %"class.std::complex", align 8
  %42 = alloca %"class.std::complex", align 8
  store double %4, ptr %10, align 8, !tbaa !5
  store double %5, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %12, double noundef %1, double noundef %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %13, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %14, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %43 = fcmp oeq double %3, 0.000000e+00
  %44 = fcmp oeq double %4, 0.000000e+00
  %or.cond = and i1 %43, %44
  br i1 %or.cond, label %45, label %54

45:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %46 = fmul double %5, %0
  store double %46, ptr %16, align 8, !tbaa !5
  %47 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %48 = extractvalue { double, double } %47, 0
  store double %48, ptr %15, align 8
  %49 = getelementptr inbounds i8, ptr %15, i64 8
  %50 = extractvalue { double, double } %47, 1
  store double %50, ptr %49, align 8
  %51 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %15)
  %52 = extractvalue { double, double } %51, 0
  %53 = extractvalue { double, double } %51, 1
  store double %52, ptr %14, align 8
  %.sroa.412.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store double %53, ptr %.sroa.412.0..sroa_idx, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %157

54:                                               ; preds = %9
  %55 = fcmp une double %4, 0.000000e+00
  %or.cond3 = and i1 %43, %55
  br i1 %or.cond3, label %56, label %87

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  %57 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %58 = extractvalue { double, double } %57, 0
  store double %58, ptr %19, align 8
  %59 = getelementptr inbounds i8, ptr %19, i64 8
  %60 = extractvalue { double, double } %57, 1
  store double %60, ptr %59, align 8
  %61 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %62 = extractvalue { double, double } %61, 0
  store double %62, ptr %18, align 8
  %63 = getelementptr inbounds i8, ptr %18, i64 8
  %64 = extractvalue { double, double } %61, 1
  store double %64, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %65 = load double, ptr %10, align 8, !tbaa !5
  %66 = fmul double %65, %0
  %67 = call double @sin(double noundef %66) #8
  store double %67, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %68 = load double, ptr %10, align 8, !tbaa !5
  %69 = fmul double %68, %0
  %70 = call double @cos(double noundef %69) #8
  %71 = fsub double 1.000000e+00, %70
  store double %71, ptr %23, align 8, !tbaa !5
  %72 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %73 = extractvalue { double, double } %72, 0
  store double %73, ptr %22, align 8
  %74 = getelementptr inbounds i8, ptr %22, i64 8
  %75 = extractvalue { double, double } %72, 1
  store double %75, ptr %74, align 8
  %76 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %77 = extractvalue { double, double } %76, 0
  store double %77, ptr %20, align 8
  %78 = getelementptr inbounds i8, ptr %20, i64 8
  %79 = extractvalue { double, double } %76, 1
  store double %79, ptr %78, align 8
  %80 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %81 = extractvalue { double, double } %80, 0
  store double %81, ptr %17, align 8
  %82 = getelementptr inbounds i8, ptr %17, i64 8
  %83 = extractvalue { double, double } %80, 1
  store double %83, ptr %82, align 8
  %84 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %17)
  %85 = extractvalue { double, double } %84, 0
  %86 = extractvalue { double, double } %84, 1
  store double %85, ptr %14, align 8
  %.sroa.410.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store double %86, ptr %.sroa.410.0..sroa_idx, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  br label %157

87:                                               ; preds = %54
  %88 = call double @llvm.fmuladd.f64(double %3, double %0, double %4)
  %89 = call double @llvm.fabs.f64(double %3)
  %90 = fmul double %89, 0x400921FB54442D18
  %91 = call double @sqrt(double noundef %90) #8
  %92 = fdiv double %88, %91
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  call void @_ZN4bark5world9opendrive7fresnelEdPdS2_(double noundef %92, ptr noundef nonnull %24, ptr noundef nonnull %25)
  %93 = call double @sqrt(double noundef %90) #8
  %94 = fdiv double %4, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  call void @_ZN4bark5world9opendrive7fresnelEdPdS2_(double noundef %94, ptr noundef nonnull %26, ptr noundef nonnull %27)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  %95 = fdiv double 0x400921FB54442D18, %89
  %sqrt = call double @llvm.sqrt.f64(double %95)
  store double %sqrt, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #8
  %96 = fmul double %4, %4
  %97 = fmul double %96, 5.000000e-01
  %98 = fdiv double %97, %3
  %99 = fsub double %5, %98
  store double %99, ptr %32, align 8, !tbaa !5
  %100 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %32)
  %101 = extractvalue { double, double } %100, 0
  store double %101, ptr %31, align 8
  %102 = getelementptr inbounds i8, ptr %31, i64 8
  %103 = extractvalue { double, double } %100, 1
  store double %103, ptr %102, align 8
  %104 = call { double, double } @_ZSt3expIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %105 = extractvalue { double, double } %104, 0
  store double %105, ptr %30, align 8
  %106 = getelementptr inbounds i8, ptr %30, i64 8
  %107 = extractvalue { double, double } %104, 1
  store double %107, ptr %106, align 8
  %108 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(16) %30)
  %109 = extractvalue { double, double } %108, 0
  store double %109, ptr %28, align 8
  %110 = getelementptr inbounds i8, ptr %28, i64 8
  %111 = extractvalue { double, double } %108, 1
  store double %111, ptr %110, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #8
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %33, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %112 = fcmp olt double %3, 0.000000e+00
  br i1 %112, label %113, label %131

113:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #8
  %114 = load double, ptr %25, align 8, !tbaa !5
  %115 = load double, ptr %27, align 8, !tbaa !5
  %116 = fsub double %114, %115
  %117 = fneg double %116
  store double %117, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #8
  %118 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %119 = extractvalue { double, double } %118, 0
  store double %119, ptr %36, align 8
  %120 = getelementptr inbounds i8, ptr %36, i64 8
  %121 = extractvalue { double, double } %118, 1
  store double %121, ptr %120, align 8
  %122 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(16) %36)
  %123 = extractvalue { double, double } %122, 0
  store double %123, ptr %34, align 8
  %124 = getelementptr inbounds i8, ptr %34, i64 8
  %125 = extractvalue { double, double } %122, 1
  store double %125, ptr %124, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #8
  %126 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %127 = extractvalue { double, double } %126, 0
  store double %127, ptr %37, align 8
  %128 = getelementptr inbounds i8, ptr %37, i64 8
  %129 = extractvalue { double, double } %126, 1
  store double %129, ptr %128, align 8
  %130 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(16) %37)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #8
  br label %148

131:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #8
  %132 = load double, ptr %25, align 8, !tbaa !5
  %133 = load double, ptr %27, align 8, !tbaa !5
  %134 = fsub double %132, %133
  store double %134, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #8
  %135 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %136 = extractvalue { double, double } %135, 0
  store double %136, ptr %40, align 8
  %137 = getelementptr inbounds i8, ptr %40, i64 8
  %138 = extractvalue { double, double } %135, 1
  store double %138, ptr %137, align 8
  %139 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(16) %40)
  %140 = extractvalue { double, double } %139, 0
  store double %140, ptr %38, align 8
  %141 = getelementptr inbounds i8, ptr %38, i64 8
  %142 = extractvalue { double, double } %139, 1
  store double %142, ptr %141, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #8
  %143 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_RKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %144 = extractvalue { double, double } %143, 0
  store double %144, ptr %41, align 8
  %145 = getelementptr inbounds i8, ptr %41, i64 8
  %146 = extractvalue { double, double } %143, 1
  store double %146, ptr %145, align 8
  %147 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %41)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #8
  br label %148

148:                                              ; preds = %131, %113
  %.pn = phi { double, double } [ %130, %113 ], [ %147, %131 ]
  %.sink = extractvalue { double, double } %.pn, 1
  %.sink34 = extractvalue { double, double } %.pn, 0
  store double %.sink34, ptr %33, align 8
  %149 = getelementptr inbounds i8, ptr %33, i64 8
  store double %.sink, ptr %149, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #8
  %150 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %33)
  %151 = extractvalue { double, double } %150, 0
  store double %151, ptr %42, align 8
  %152 = getelementptr inbounds i8, ptr %42, i64 8
  %153 = extractvalue { double, double } %150, 1
  store double %153, ptr %152, align 8
  %154 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %42)
  %155 = extractvalue { double, double } %154, 0
  %156 = extractvalue { double, double } %154, 1
  store double %155, ptr %14, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store double %156, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %157

157:                                              ; preds = %56, %148, %45
  %158 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %14)
  store double %158, ptr %6, align 8, !tbaa !5
  %159 = call noundef double @_ZNKSt7complexIdE4imagB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %14)
  store double %159, ptr %7, align 8, !tbaa !5
  %160 = fmul double %0, %3
  %161 = fmul double %160, %0
  %162 = load double, ptr %10, align 8, !tbaa !5
  %163 = fmul double %162, %0
  %164 = call double @llvm.fmuladd.f64(double %161, double 5.000000e-01, double %163)
  %165 = load double, ptr %11, align 8, !tbaa !5
  %166 = fadd double %165, %164
  store double %166, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #7

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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = { inlinehint 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 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 = !{!7, !7, i64 0}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass