; LLVM IR from unisa-acg/inverse-dynamics-solver :: ur10_inverse_dynamics_solver/src (getGravityCurrents)

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN28ur10_inverse_dynamics_solver18getGravityCurrentsEPKdPd(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %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 double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, 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 double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, 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 double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #4
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds double, ptr %43, i64 1
  %45 = load double, ptr %44, align 8, !tbaa !9
  %46 = call double @cos(double noundef %45) #4
  store double %46, ptr %32, align 8, !tbaa !9
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds double, ptr %47, i64 2
  %49 = load double, ptr %48, align 8, !tbaa !9
  %50 = call double @cos(double noundef %49) #4
  store double %50, ptr %36, align 8, !tbaa !9
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds double, ptr %51, i64 3
  %53 = load double, ptr %52, align 8, !tbaa !9
  %54 = call double @cos(double noundef %53) #4
  store double %54, ptr %37, align 8, !tbaa !9
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds double, ptr %55, i64 4
  %57 = load double, ptr %56, align 8, !tbaa !9
  %58 = call double @cos(double noundef %57) #4
  store double %58, ptr %38, align 8, !tbaa !9
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds double, ptr %59, i64 5
  %61 = load double, ptr %60, align 8, !tbaa !9
  %62 = call double @cos(double noundef %61) #4
  store double %62, ptr %39, align 8, !tbaa !9
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds double, ptr %63, i64 1
  %65 = load double, ptr %64, align 8, !tbaa !9
  %66 = call double @sin(double noundef %65) #4
  store double %66, ptr %40, align 8, !tbaa !9
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %67, i64 2
  %69 = load double, ptr %68, align 8, !tbaa !9
  %70 = call double @sin(double noundef %69) #4
  store double %70, ptr %41, align 8, !tbaa !9
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds double, ptr %71, i64 3
  %73 = load double, ptr %72, align 8, !tbaa !9
  %74 = call double @sin(double noundef %73) #4
  store double %74, ptr %42, align 8, !tbaa !9
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds double, ptr %75, i64 4
  %77 = load double, ptr %76, align 8, !tbaa !9
  %78 = call double @sin(double noundef %77) #4
  store double %78, ptr %24, align 8, !tbaa !9
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds double, ptr %79, i64 5
  %81 = load double, ptr %80, align 8, !tbaa !9
  %82 = call double @sin(double noundef %81) #4
  store double %82, ptr %25, align 8, !tbaa !9
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds double, ptr %83, i64 1
  %85 = load double, ptr %84, align 8, !tbaa !9
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds double, ptr %86, i64 2
  %88 = load double, ptr %87, align 8, !tbaa !9
  %89 = fadd double %85, %88
  store double %89, ptr %26, align 8, !tbaa !9
  %90 = load double, ptr %26, align 8, !tbaa !9
  %91 = call double @cos(double noundef %90) #4
  store double %91, ptr %27, align 8, !tbaa !9
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds double, ptr %92, i64 3
  %94 = load double, ptr %93, align 8, !tbaa !9
  %95 = load double, ptr %26, align 8, !tbaa !9
  %96 = fadd double %94, %95
  store double %96, ptr %28, align 8, !tbaa !9
  %97 = load double, ptr %26, align 8, !tbaa !9
  %98 = call double @sin(double noundef %97) #4
  store double %98, ptr %29, align 8, !tbaa !9
  %99 = load double, ptr %28, align 8, !tbaa !9
  %100 = call double @cos(double noundef %99) #4
  store double %100, ptr %30, align 8, !tbaa !9
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds double, ptr %101, i64 4
  %103 = load double, ptr %102, align 8, !tbaa !9
  %104 = load double, ptr %28, align 8, !tbaa !9
  %105 = fadd double %103, %104
  store double %105, ptr %26, align 8, !tbaa !9
  %106 = load double, ptr %28, align 8, !tbaa !9
  %107 = call double @sin(double noundef %106) #4
  store double %107, ptr %31, align 8, !tbaa !9
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds double, ptr %108, i64 4
  %110 = load double, ptr %109, align 8, !tbaa !9
  %111 = load double, ptr %28, align 8, !tbaa !9
  %112 = fsub double %111, %110
  store double %112, ptr %28, align 8, !tbaa !9
  %113 = load double, ptr %26, align 8, !tbaa !9
  %114 = call double @cos(double noundef %113) #4
  store double %114, ptr %33, align 8, !tbaa !9
  %115 = load double, ptr %26, align 8, !tbaa !9
  %116 = call double @sin(double noundef %115) #4
  store double %116, ptr %34, align 8, !tbaa !9
  %117 = load double, ptr %28, align 8, !tbaa !9
  %118 = call double @cos(double noundef %117) #4
  store double %118, ptr %35, align 8, !tbaa !9
  %119 = load double, ptr %28, align 8, !tbaa !9
  %120 = call double @sin(double noundef %119) #4
  store double %120, ptr %26, align 8, !tbaa !9
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %121, i64 0
  store double 0.000000e+00, ptr %122, align 8, !tbaa !9
  %123 = load double, ptr %32, align 8, !tbaa !9
  %124 = load double, ptr %36, align 8, !tbaa !9
  %125 = fmul double %123, %124
  store double %125, ptr %28, align 8, !tbaa !9
  %126 = load double, ptr %32, align 8, !tbaa !9
  %127 = load double, ptr %37, align 8, !tbaa !9
  %128 = fmul double %126, %127
  store double %128, ptr %11, align 8, !tbaa !9
  %129 = load double, ptr %36, align 8, !tbaa !9
  %130 = load double, ptr %37, align 8, !tbaa !9
  %131 = fmul double %129, %130
  store double %131, ptr %5, align 8, !tbaa !9
  %132 = load double, ptr %28, align 8, !tbaa !9
  %133 = load double, ptr %37, align 8, !tbaa !9
  %134 = fmul double %132, %133
  store double %134, ptr %12, align 8, !tbaa !9
  %135 = load double, ptr %12, align 8, !tbaa !9
  %136 = load double, ptr %38, align 8, !tbaa !9
  %137 = fmul double %135, %136
  store double %137, ptr %6, align 8, !tbaa !9
  %138 = load double, ptr %32, align 8, !tbaa !9
  %139 = load double, ptr %38, align 8, !tbaa !9
  %140 = fmul double %138, %139
  store double %140, ptr %7, align 8, !tbaa !9
  %141 = load double, ptr %36, align 8, !tbaa !9
  %142 = load double, ptr %38, align 8, !tbaa !9
  %143 = fmul double %141, %142
  store double %143, ptr %8, align 8, !tbaa !9
  %144 = load double, ptr %37, align 8, !tbaa !9
  %145 = load double, ptr %38, align 8, !tbaa !9
  %146 = fmul double %144, %145
  store double %146, ptr %9, align 8, !tbaa !9
  %147 = load double, ptr %28, align 8, !tbaa !9
  %148 = load double, ptr %39, align 8, !tbaa !9
  %149 = fmul double %147, %148
  %150 = load double, ptr %42, align 8, !tbaa !9
  %151 = fmul double %149, %150
  store double %151, ptr %10, align 8, !tbaa !9
  %152 = load double, ptr %11, align 8, !tbaa !9
  %153 = load double, ptr %39, align 8, !tbaa !9
  %154 = fmul double %152, %153
  %155 = load double, ptr %41, align 8, !tbaa !9
  %156 = fmul double %154, %155
  store double %156, ptr %13, align 8, !tbaa !9
  %157 = load double, ptr %5, align 8, !tbaa !9
  %158 = load double, ptr %39, align 8, !tbaa !9
  %159 = fmul double %157, %158
  %160 = load double, ptr %40, align 8, !tbaa !9
  %161 = fmul double %159, %160
  store double %161, ptr %14, align 8, !tbaa !9
  %162 = load double, ptr %28, align 8, !tbaa !9
  %163 = load double, ptr %42, align 8, !tbaa !9
  %164 = fmul double %162, %163
  %165 = load double, ptr %25, align 8, !tbaa !9
  %166 = fmul double %164, %165
  store double %166, ptr %15, align 8, !tbaa !9
  %167 = load double, ptr %11, align 8, !tbaa !9
  %168 = load double, ptr %41, align 8, !tbaa !9
  %169 = fmul double %167, %168
  %170 = load double, ptr %25, align 8, !tbaa !9
  %171 = fmul double %169, %170
  store double %171, ptr %16, align 8, !tbaa !9
  %172 = load double, ptr %5, align 8, !tbaa !9
  %173 = load double, ptr %40, align 8, !tbaa !9
  %174 = fmul double %172, %173
  %175 = load double, ptr %25, align 8, !tbaa !9
  %176 = fmul double %174, %175
  store double %176, ptr %17, align 8, !tbaa !9
  %177 = load double, ptr %39, align 8, !tbaa !9
  %178 = load double, ptr %40, align 8, !tbaa !9
  %179 = fmul double %177, %178
  %180 = load double, ptr %41, align 8, !tbaa !9
  %181 = fmul double %179, %180
  %182 = load double, ptr %42, align 8, !tbaa !9
  %183 = fmul double %181, %182
  store double %183, ptr %18, align 8, !tbaa !9
  %184 = load double, ptr %40, align 8, !tbaa !9
  %185 = load double, ptr %41, align 8, !tbaa !9
  %186 = fmul double %184, %185
  %187 = load double, ptr %42, align 8, !tbaa !9
  %188 = fmul double %186, %187
  %189 = load double, ptr %25, align 8, !tbaa !9
  %190 = fmul double %188, %189
  store double %190, ptr %19, align 8, !tbaa !9
  %191 = load double, ptr %6, align 8, !tbaa !9
  %192 = load double, ptr %39, align 8, !tbaa !9
  %193 = fmul double %191, %192
  store double %193, ptr %20, align 8, !tbaa !9
  %194 = load double, ptr %25, align 8, !tbaa !9
  %195 = load double, ptr %6, align 8, !tbaa !9
  %196 = fmul double %195, %194
  store double %196, ptr %6, align 8, !tbaa !9
  %197 = load double, ptr %7, align 8, !tbaa !9
  %198 = load double, ptr %39, align 8, !tbaa !9
  %199 = fmul double %197, %198
  %200 = load double, ptr %41, align 8, !tbaa !9
  %201 = fmul double %199, %200
  %202 = load double, ptr %42, align 8, !tbaa !9
  %203 = fmul double %201, %202
  store double %203, ptr %21, align 8, !tbaa !9
  %204 = load double, ptr %8, align 8, !tbaa !9
  %205 = load double, ptr %39, align 8, !tbaa !9
  %206 = fmul double %204, %205
  %207 = load double, ptr %40, align 8, !tbaa !9
  %208 = fmul double %206, %207
  %209 = load double, ptr %42, align 8, !tbaa !9
  %210 = fmul double %208, %209
  store double %210, ptr %22, align 8, !tbaa !9
  %211 = load double, ptr %9, align 8, !tbaa !9
  %212 = load double, ptr %39, align 8, !tbaa !9
  %213 = fmul double %211, %212
  %214 = load double, ptr %40, align 8, !tbaa !9
  %215 = fmul double %213, %214
  %216 = load double, ptr %41, align 8, !tbaa !9
  %217 = fmul double %215, %216
  store double %217, ptr %23, align 8, !tbaa !9
  %218 = load double, ptr %7, align 8, !tbaa !9
  %219 = load double, ptr %41, align 8, !tbaa !9
  %220 = fmul double %218, %219
  %221 = load double, ptr %42, align 8, !tbaa !9
  %222 = fmul double %220, %221
  %223 = load double, ptr %25, align 8, !tbaa !9
  %224 = fmul double %222, %223
  store double %224, ptr %7, align 8, !tbaa !9
  %225 = load double, ptr %8, align 8, !tbaa !9
  %226 = load double, ptr %40, align 8, !tbaa !9
  %227 = fmul double %225, %226
  %228 = load double, ptr %42, align 8, !tbaa !9
  %229 = fmul double %227, %228
  %230 = load double, ptr %25, align 8, !tbaa !9
  %231 = fmul double %229, %230
  store double %231, ptr %8, align 8, !tbaa !9
  %232 = load double, ptr %9, align 8, !tbaa !9
  %233 = load double, ptr %40, align 8, !tbaa !9
  %234 = fmul double %232, %233
  %235 = load double, ptr %41, align 8, !tbaa !9
  %236 = fmul double %234, %235
  %237 = load double, ptr %25, align 8, !tbaa !9
  %238 = fmul double %236, %237
  store double %238, ptr %9, align 8, !tbaa !9
  %239 = load double, ptr %32, align 8, !tbaa !9
  %240 = load double, ptr %40, align 8, !tbaa !9
  %241 = fmul double %240, 0x3F9EFB8313352FD1
  %242 = call double @llvm.fmuladd.f64(double %239, double 0xC0165B30520B2E49, double %241)
  %243 = load double, ptr %27, align 8, !tbaa !9
  %244 = fneg double %243
  %245 = call double @llvm.fmuladd.f64(double %244, double 0x4004E2FE2AC21762, double %242)
  %246 = load double, ptr %29, align 8, !tbaa !9
  %247 = call double @llvm.fmuladd.f64(double %246, double 0x3F91455D259A892A, double %245)
  %248 = load double, ptr %30, align 8, !tbaa !9
  %249 = load double, ptr %31, align 8, !tbaa !9
  %250 = fmul double %249, 0x3FC950358D9066C9
  %251 = call double @llvm.fmuladd.f64(double %248, double 0x3F77F0D0390058F3, double %250)
  %252 = load double, ptr %33, align 8, !tbaa !9
  %253 = fneg double %252
  %254 = call double @llvm.fmuladd.f64(double %253, double 0x3F6BD2B64728B952, double %251)
  %255 = load double, ptr %34, align 8, !tbaa !9
  %256 = fneg double %255
  %257 = call double @llvm.fmuladd.f64(double %256, double 0x3F8D1143DEF77445, double %254)
  %258 = fadd double %247, %257
  %259 = load double, ptr %35, align 8, !tbaa !9
  %260 = load double, ptr %26, align 8, !tbaa !9
  %261 = fmul double %260, 0x3F8D1143DEF77445
  %262 = call double @llvm.fmuladd.f64(double %259, double 0xBF6BD2B64728B952, double %261)
  %263 = load double, ptr %10, align 8, !tbaa !9
  %264 = call double @llvm.fmuladd.f64(double %263, double 0x3F73973D09D7CE47, double %262)
  %265 = load double, ptr %13, align 8, !tbaa !9
  %266 = call double @llvm.fmuladd.f64(double %265, double 0x3F73973D09D7CE47, double %264)
  %267 = fadd double %258, %266
  %268 = load double, ptr %14, align 8, !tbaa !9
  %269 = load double, ptr %15, align 8, !tbaa !9
  %270 = fmul double %269, 0x3F91BFD2EBC64197
  %271 = call double @llvm.fmuladd.f64(double %268, double 0x3F73973D09D7CE47, double %270)
  %272 = load double, ptr %16, align 8, !tbaa !9
  %273 = call double @llvm.fmuladd.f64(double %272, double 0x3F91BFD2EBC64197, double %271)
  %274 = load double, ptr %17, align 8, !tbaa !9
  %275 = call double @llvm.fmuladd.f64(double %274, double 0x3F91BFD2EBC64197, double %273)
  %276 = fadd double %267, %275
  %277 = load double, ptr %18, align 8, !tbaa !9
  %278 = load double, ptr %19, align 8, !tbaa !9
  %279 = fmul double %278, 0x3F91BFD2EBC64197
  %280 = fneg double %279
  %281 = call double @llvm.fmuladd.f64(double %277, double 0xBF73973D09D7CE47, double %280)
  %282 = load double, ptr %20, align 8, !tbaa !9
  %283 = fneg double %282
  %284 = call double @llvm.fmuladd.f64(double %283, double 0x3F91BFD2EBC64197, double %281)
  %285 = load double, ptr %6, align 8, !tbaa !9
  %286 = call double @llvm.fmuladd.f64(double %285, double 0x3F73973D09D7CE47, double %284)
  %287 = fadd double %276, %286
  %288 = load double, ptr %21, align 8, !tbaa !9
  %289 = load double, ptr %22, align 8, !tbaa !9
  %290 = fmul double %289, 0x3F91BFD2EBC64197
  %291 = call double @llvm.fmuladd.f64(double %288, double 0x3F91BFD2EBC64197, double %290)
  %292 = load double, ptr %23, align 8, !tbaa !9
  %293 = call double @llvm.fmuladd.f64(double %292, double 0x3F91BFD2EBC64197, double %291)
  %294 = load double, ptr %7, align 8, !tbaa !9
  %295 = fneg double %294
  %296 = call double @llvm.fmuladd.f64(double %295, double 0x3F73973D09D7CE47, double %293)
  %297 = fadd double %287, %296
  %298 = load double, ptr %8, align 8, !tbaa !9
  %299 = load double, ptr %9, align 8, !tbaa !9
  %300 = fmul double %299, 0x3F73973D09D7CE47
  %301 = fneg double %300
  %302 = call double @llvm.fmuladd.f64(double %298, double 0xBF73973D09D7CE47, double %301)
  %303 = fadd double %297, %302
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  %305 = getelementptr inbounds double, ptr %304, i64 1
  store double %303, ptr %305, align 8, !tbaa !9
  %306 = load double, ptr %27, align 8, !tbaa !9
  %307 = load double, ptr %29, align 8, !tbaa !9
  %308 = fmul double %307, 0x3F91D87520A355BA
  %309 = fneg double %308
  %310 = call double @llvm.fmuladd.f64(double %306, double 0xC00A52BB2AC1CB85, double %309)
  %311 = load double, ptr %30, align 8, !tbaa !9
  %312 = call double @llvm.fmuladd.f64(double %311, double 0x3F707526B34DEED1, double %310)
  %313 = load double, ptr %31, align 8, !tbaa !9
  %314 = call double @llvm.fmuladd.f64(double %313, double 0x3FCFCB6474548E98, double %312)
  %315 = load double, ptr %33, align 8, !tbaa !9
  %316 = load double, ptr %34, align 8, !tbaa !9
  %317 = fmul double %316, 0x3F93520A61E91248
  %318 = fneg double %317
  %319 = call double @llvm.fmuladd.f64(double %315, double 0xBF787C1EDF3247F8, double %318)
  %320 = load double, ptr %35, align 8, !tbaa !9
  %321 = fneg double %320
  %322 = call double @llvm.fmuladd.f64(double %321, double 0x3F787C1EDF3247F8, double %319)
  %323 = load double, ptr %26, align 8, !tbaa !9
  %324 = call double @llvm.fmuladd.f64(double %323, double 0x3F93520A61E91248, double %322)
  %325 = fadd double %314, %324
  %326 = load double, ptr %10, align 8, !tbaa !9
  %327 = load double, ptr %13, align 8, !tbaa !9
  %328 = fmul double %327, 0x3F71805D9EFA5B26
  %329 = call double @llvm.fmuladd.f64(double %326, double 0x3F71805D9EFA5B26, double %328)
  %330 = load double, ptr %14, align 8, !tbaa !9
  %331 = call double @llvm.fmuladd.f64(double %330, double 0x3F71805D9EFA5B26, double %329)
  %332 = load double, ptr %15, align 8, !tbaa !9
  %333 = call double @llvm.fmuladd.f64(double %332, double 0x3F6B7FEFD26CE9C2, double %331)
  %334 = fadd double %325, %333
  %335 = load double, ptr %16, align 8, !tbaa !9
  %336 = load double, ptr %17, align 8, !tbaa !9
  %337 = fmul double %336, 0x3F6B7FEFD26CE9C2
  %338 = call double @llvm.fmuladd.f64(double %335, double 0x3F6B7FEFD26CE9C2, double %337)
  %339 = load double, ptr %18, align 8, !tbaa !9
  %340 = fneg double %339
  %341 = call double @llvm.fmuladd.f64(double %340, double 0x3F71805D9EFA5B26, double %338)
  %342 = load double, ptr %19, align 8, !tbaa !9
  %343 = fneg double %342
  %344 = call double @llvm.fmuladd.f64(double %343, double 0x3F6B7FEFD26CE9C2, double %341)
  %345 = fadd double %334, %344
  %346 = load double, ptr %20, align 8, !tbaa !9
  %347 = load double, ptr %6, align 8, !tbaa !9
  %348 = fmul double %347, 0x3F71805D9EFA5B26
  %349 = call double @llvm.fmuladd.f64(double %346, double 0xBF6B7FEFD26CE9C2, double %348)
  %350 = load double, ptr %21, align 8, !tbaa !9
  %351 = call double @llvm.fmuladd.f64(double %350, double 0x3F6B7FEFD26CE9C2, double %349)
  %352 = load double, ptr %22, align 8, !tbaa !9
  %353 = call double @llvm.fmuladd.f64(double %352, double 0x3F6B7FEFD26CE9C2, double %351)
  %354 = fadd double %345, %353
  %355 = load double, ptr %23, align 8, !tbaa !9
  %356 = load double, ptr %7, align 8, !tbaa !9
  %357 = fmul double %356, 0x3F71805D9EFA5B26
  %358 = fneg double %357
  %359 = call double @llvm.fmuladd.f64(double %355, double 0x3F6B7FEFD26CE9C2, double %358)
  %360 = load double, ptr %8, align 8, !tbaa !9
  %361 = fneg double %360
  %362 = call double @llvm.fmuladd.f64(double %361, double 0x3F71805D9EFA5B26, double %359)
  %363 = load double, ptr %9, align 8, !tbaa !9
  %364 = fneg double %363
  %365 = call double @llvm.fmuladd.f64(double %364, double 0x3F71805D9EFA5B26, double %362)
  %366 = fadd double %354, %365
  %367 = load ptr, ptr %4, align 8, !tbaa !5
  %368 = getelementptr inbounds double, ptr %367, i64 2
  store double %366, ptr %368, align 8, !tbaa !9
  %369 = load double, ptr %30, align 8, !tbaa !9
  %370 = load double, ptr %31, align 8, !tbaa !9
  %371 = fmul double %370, 0x3FD0091E941A65D9
  %372 = call double @llvm.fmuladd.f64(double %369, double 0x3F67BE3B252E3978, double %371)
  %373 = load double, ptr %33, align 8, !tbaa !9
  %374 = fneg double %373
  %375 = call double @llvm.fmuladd.f64(double %374, double 0x3F92C1D9B919C7F0, double %372)
  %376 = load double, ptr %34, align 8, !tbaa !9
  %377 = fneg double %376
  %378 = call double @llvm.fmuladd.f64(double %377, double 0x3FA19E16E83EEC34, double %375)
  %379 = load double, ptr %35, align 8, !tbaa !9
  %380 = load double, ptr %26, align 8, !tbaa !9
  %381 = fmul double %380, 0x3FA19E16E83EEC34
  %382 = call double @llvm.fmuladd.f64(double %379, double 0xBF92C1D9B919C7F0, double %381)
  %383 = load double, ptr %10, align 8, !tbaa !9
  %384 = fneg double %383
  %385 = call double @llvm.fmuladd.f64(double %384, double 0x3F80329EAB1FA627, double %382)
  %386 = load double, ptr %13, align 8, !tbaa !9
  %387 = fneg double %386
  %388 = call double @llvm.fmuladd.f64(double %387, double 0x3F80329EAB1FA627, double %385)
  %389 = fadd double %378, %388
  %390 = load double, ptr %14, align 8, !tbaa !9
  %391 = load double, ptr %15, align 8, !tbaa !9
  %392 = fmul double %391, 0x3F76D1B39DC30FE4
  %393 = call double @llvm.fmuladd.f64(double %390, double 0xBF80329EAB1FA627, double %392)
  %394 = load double, ptr %16, align 8, !tbaa !9
  %395 = call double @llvm.fmuladd.f64(double %394, double 0x3F76D1B39DC30FE4, double %393)
  %396 = load double, ptr %17, align 8, !tbaa !9
  %397 = call double @llvm.fmuladd.f64(double %396, double 0x3F76D1B39DC30FE4, double %395)
  %398 = fadd double %389, %397
  %399 = load double, ptr %18, align 8, !tbaa !9
  %400 = load double, ptr %19, align 8, !tbaa !9
  %401 = fmul double %400, 0x3F76D1B39DC30FE4
  %402 = fneg double %401
  %403 = call double @llvm.fmuladd.f64(double %399, double 0x3F80329EAB1FA627, double %402)
  %404 = load double, ptr %20, align 8, !tbaa !9
  %405 = fneg double %404
  %406 = call double @llvm.fmuladd.f64(double %405, double 0x3F76D1B39DC30FE4, double %403)
  %407 = load double, ptr %6, align 8, !tbaa !9
  %408 = fneg double %407
  %409 = call double @llvm.fmuladd.f64(double %408, double 0x3F80329EAB1FA627, double %406)
  %410 = fadd double %398, %409
  %411 = load double, ptr %21, align 8, !tbaa !9
  %412 = load double, ptr %22, align 8, !tbaa !9
  %413 = fmul double %412, 0x3F76D1B39DC30FE4
  %414 = call double @llvm.fmuladd.f64(double %411, double 0x3F76D1B39DC30FE4, double %413)
  %415 = load double, ptr %23, align 8, !tbaa !9
  %416 = call double @llvm.fmuladd.f64(double %415, double 0x3F76D1B39DC30FE4, double %414)
  %417 = load double, ptr %7, align 8, !tbaa !9
  %418 = call double @llvm.fmuladd.f64(double %417, double 0x3F80329EAB1FA627, double %416)
  %419 = fadd double %410, %418
  %420 = load double, ptr %8, align 8, !tbaa !9
  %421 = load double, ptr %9, align 8, !tbaa !9
  %422 = fmul double %421, 0x3F80329EAB1FA627
  %423 = call double @llvm.fmuladd.f64(double %420, double 0x3F80329EAB1FA627, double %422)
  %424 = fadd double %419, %423
  %425 = load ptr, ptr %4, align 8, !tbaa !5
  %426 = getelementptr inbounds double, ptr %425, i64 3
  store double %424, ptr %426, align 8, !tbaa !9
  %427 = load double, ptr %33, align 8, !tbaa !9
  %428 = load double, ptr %34, align 8, !tbaa !9
  %429 = fmul double %428, 0x3F9E0E6F3923AC9A
  %430 = fneg double %429
  %431 = call double @llvm.fmuladd.f64(double %427, double 0x3F507BE5DBC1A97B, double %430)
  %432 = load double, ptr %35, align 8, !tbaa !9
  %433 = fneg double %432
  %434 = call double @llvm.fmuladd.f64(double %433, double 0x3F507BE5DBC1A97B, double %431)
  %435 = load double, ptr %26, align 8, !tbaa !9
  %436 = fneg double %435
  %437 = call double @llvm.fmuladd.f64(double %436, double 0x3F9E0E6F3923AC9A, double %434)
  %438 = load double, ptr %39, align 8, !tbaa !9
  %439 = load double, ptr %24, align 8, !tbaa !9
  %440 = fmul double %438, %439
  %441 = load double, ptr %31, align 8, !tbaa !9
  %442 = fmul double %440, %441
  %443 = load double, ptr %24, align 8, !tbaa !9
  %444 = load double, ptr %25, align 8, !tbaa !9
  %445 = fmul double %443, %444
  %446 = load double, ptr %31, align 8, !tbaa !9
  %447 = fmul double %445, %446
  %448 = fmul double %447, 0x3F5A01E153426C55
  %449 = fneg double %448
  %450 = call double @llvm.fmuladd.f64(double %442, double 0xBF79880F34FD3F24, double %449)
  %451 = fadd double %437, %450
  %452 = load ptr, ptr %4, align 8, !tbaa !5
  %453 = getelementptr inbounds double, ptr %452, i64 4
  store double %451, ptr %453, align 8, !tbaa !9
  %454 = load double, ptr %38, align 8, !tbaa !9
  %455 = load double, ptr %28, align 8, !tbaa !9
  %456 = fmul double %455, %454
  store double %456, ptr %28, align 8, !tbaa !9
  %457 = load double, ptr %38, align 8, !tbaa !9
  %458 = load double, ptr %11, align 8, !tbaa !9
  %459 = fmul double %458, %457
  store double %459, ptr %11, align 8, !tbaa !9
  %460 = load double, ptr %38, align 8, !tbaa !9
  %461 = load double, ptr %5, align 8, !tbaa !9
  %462 = fmul double %461, %460
  store double %462, ptr %5, align 8, !tbaa !9
  %463 = load double, ptr %12, align 8, !tbaa !9
  %464 = load double, ptr %39, align 8, !tbaa !9
  %465 = fmul double %463, %464
  %466 = load double, ptr %12, align 8, !tbaa !9
  %467 = load double, ptr %25, align 8, !tbaa !9
  %468 = fmul double %466, %467
  %469 = fmul double %468, 0x3F7128ECC3050980
  %470 = call double @llvm.fmuladd.f64(double %465, double 0x3F56C0F3C3F16343, double %469)
  %471 = load double, ptr %32, align 8, !tbaa !9
  %472 = load double, ptr %39, align 8, !tbaa !9
  %473 = fmul double %471, %472
  %474 = load double, ptr %41, align 8, !tbaa !9
  %475 = fmul double %473, %474
  %476 = load double, ptr %42, align 8, !tbaa !9
  %477 = fmul double %475, %476
  %478 = fneg double %477
  %479 = call double @llvm.fmuladd.f64(double %478, double 0x3F56C0F3C3F16343, double %470)
  %480 = load double, ptr %36, align 8, !tbaa !9
  %481 = load double, ptr %39, align 8, !tbaa !9
  %482 = fmul double %480, %481
  %483 = load double, ptr %40, align 8, !tbaa !9
  %484 = fmul double %482, %483
  %485 = load double, ptr %42, align 8, !tbaa !9
  %486 = fmul double %484, %485
  %487 = fneg double %486
  %488 = call double @llvm.fmuladd.f64(double %487, double 0x3F56C0F3C3F16343, double %479)
  %489 = load double, ptr %37, align 8, !tbaa !9
  %490 = load double, ptr %39, align 8, !tbaa !9
  %491 = fmul double %489, %490
  %492 = load double, ptr %40, align 8, !tbaa !9
  %493 = fmul double %491, %492
  %494 = load double, ptr %41, align 8, !tbaa !9
  %495 = fmul double %493, %494
  %496 = load double, ptr %32, align 8, !tbaa !9
  %497 = load double, ptr %41, align 8, !tbaa !9
  %498 = fmul double %496, %497
  %499 = load double, ptr %42, align 8, !tbaa !9
  %500 = fmul double %498, %499
  %501 = load double, ptr %25, align 8, !tbaa !9
  %502 = fmul double %500, %501
  %503 = fmul double %502, 0x3F7128ECC3050980
  %504 = fneg double %503
  %505 = call double @llvm.fmuladd.f64(double %495, double 0xBF56C0F3C3F16343, double %504)
  %506 = load double, ptr %36, align 8, !tbaa !9
  %507 = load double, ptr %40, align 8, !tbaa !9
  %508 = fmul double %506, %507
  %509 = load double, ptr %42, align 8, !tbaa !9
  %510 = fmul double %508, %509
  %511 = load double, ptr %25, align 8, !tbaa !9
  %512 = fmul double %510, %511
  %513 = fneg double %512
  %514 = call double @llvm.fmuladd.f64(double %513, double 0x3F7128ECC3050980, double %505)
  %515 = load double, ptr %37, align 8, !tbaa !9
  %516 = load double, ptr %40, align 8, !tbaa !9
  %517 = fmul double %515, %516
  %518 = load double, ptr %41, align 8, !tbaa !9
  %519 = fmul double %517, %518
  %520 = load double, ptr %25, align 8, !tbaa !9
  %521 = fmul double %519, %520
  %522 = fneg double %521
  %523 = call double @llvm.fmuladd.f64(double %522, double 0x3F7128ECC3050980, double %514)
  %524 = fadd double %488, %523
  %525 = load double, ptr %28, align 8, !tbaa !9
  %526 = load double, ptr %39, align 8, !tbaa !9
  %527 = fmul double %525, %526
  %528 = load double, ptr %42, align 8, !tbaa !9
  %529 = fmul double %527, %528
  %530 = load double, ptr %11, align 8, !tbaa !9
  %531 = load double, ptr %39, align 8, !tbaa !9
  %532 = fmul double %530, %531
  %533 = load double, ptr %41, align 8, !tbaa !9
  %534 = fmul double %532, %533
  %535 = fmul double %534, 0x3F7128ECC3050980
  %536 = call double @llvm.fmuladd.f64(double %529, double 0x3F7128ECC3050980, double %535)
  %537 = load double, ptr %5, align 8, !tbaa !9
  %538 = load double, ptr %39, align 8, !tbaa !9
  %539 = fmul double %537, %538
  %540 = load double, ptr %40, align 8, !tbaa !9
  %541 = fmul double %539, %540
  %542 = call double @llvm.fmuladd.f64(double %541, double 0x3F7128ECC3050980, double %536)
  %543 = load double, ptr %28, align 8, !tbaa !9
  %544 = load double, ptr %42, align 8, !tbaa !9
  %545 = fmul double %543, %544
  %546 = load double, ptr %25, align 8, !tbaa !9
  %547 = fmul double %545, %546
  %548 = fneg double %547
  %549 = call double @llvm.fmuladd.f64(double %548, double 0x3F56C0F3C3F16343, double %542)
  %550 = fadd double %524, %549
  %551 = load double, ptr %11, align 8, !tbaa !9
  %552 = load double, ptr %41, align 8, !tbaa !9
  %553 = fmul double %551, %552
  %554 = load double, ptr %25, align 8, !tbaa !9
  %555 = fmul double %553, %554
  %556 = load double, ptr %5, align 8, !tbaa !9
  %557 = load double, ptr %40, align 8, !tbaa !9
  %558 = fmul double %556, %557
  %559 = load double, ptr %25, align 8, !tbaa !9
  %560 = fmul double %558, %559
  %561 = fmul double %560, 0x3F56C0F3C3F16343
  %562 = fneg double %561
  %563 = call double @llvm.fmuladd.f64(double %555, double 0xBF56C0F3C3F16343, double %562)
  %564 = load double, ptr %38, align 8, !tbaa !9
  %565 = load double, ptr %39, align 8, !tbaa !9
  %566 = fmul double %564, %565
  %567 = load double, ptr %40, align 8, !tbaa !9
  %568 = fmul double %566, %567
  %569 = load double, ptr %41, align 8, !tbaa !9
  %570 = fmul double %568, %569
  %571 = load double, ptr %42, align 8, !tbaa !9
  %572 = fmul double %570, %571
  %573 = fneg double %572
  %574 = call double @llvm.fmuladd.f64(double %573, double 0x3F7128ECC3050980, double %563)
  %575 = load double, ptr %38, align 8, !tbaa !9
  %576 = load double, ptr %40, align 8, !tbaa !9
  %577 = fmul double %575, %576
  %578 = load double, ptr %41, align 8, !tbaa !9
  %579 = fmul double %577, %578
  %580 = load double, ptr %42, align 8, !tbaa !9
  %581 = fmul double %579, %580
  %582 = load double, ptr %25, align 8, !tbaa !9
  %583 = fmul double %581, %582
  %584 = call double @llvm.fmuladd.f64(double %583, double 0x3F56C0F3C3F16343, double %574)
  %585 = fadd double %550, %584
  %586 = load ptr, ptr %4, align 8, !tbaa !5
  %587 = getelementptr inbounds double, ptr %586, i64 5
  store double %585, ptr %587, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !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"

; Function Attrs: mustprogress nofree nounwind willreturn memory(write, argmem: readwrite) uwtable
define dso_local void @_ZN28ur10_inverse_dynamics_solver18getGravityCurrentsEPKdPd(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load double, ptr %3, align 8, !tbaa !5
  %5 = tail call double @cos(double noundef %4) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load double, ptr %6, align 8, !tbaa !5
  %8 = tail call double @cos(double noundef %7) #4
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load double, ptr %9, align 8, !tbaa !5
  %11 = tail call double @cos(double noundef %10) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = load double, ptr %12, align 8, !tbaa !5
  %14 = tail call double @cos(double noundef %13) #4
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = load double, ptr %15, align 8, !tbaa !5
  %17 = tail call double @cos(double noundef %16) #4
  %18 = load double, ptr %3, align 8, !tbaa !5
  %19 = tail call double @sin(double noundef %18) #4
  %20 = load double, ptr %6, align 8, !tbaa !5
  %21 = tail call double @sin(double noundef %20) #4
  %22 = load double, ptr %9, align 8, !tbaa !5
  %23 = tail call double @sin(double noundef %22) #4
  %24 = load double, ptr %12, align 8, !tbaa !5
  %25 = tail call double @sin(double noundef %24) #4
  %26 = load double, ptr %15, align 8, !tbaa !5
  %27 = tail call double @sin(double noundef %26) #4
  %28 = load double, ptr %3, align 8, !tbaa !5
  %29 = load double, ptr %6, align 8, !tbaa !5
  %30 = fadd double %28, %29
  %31 = tail call double @cos(double noundef %30) #4
  %32 = load double, ptr %9, align 8, !tbaa !5
  %33 = fadd double %30, %32
  %34 = tail call double @sin(double noundef %30) #4
  %35 = tail call double @cos(double noundef %33) #4
  %36 = load double, ptr %12, align 8, !tbaa !5
  %37 = fadd double %33, %36
  %38 = tail call double @sin(double noundef %33) #4
  %39 = load double, ptr %12, align 8, !tbaa !5
  %40 = fsub double %33, %39
  %41 = tail call double @cos(double noundef %37) #4
  %42 = tail call double @sin(double noundef %37) #4
  %43 = tail call double @cos(double noundef %40) #4
  %44 = tail call double @sin(double noundef %40) #4
  store double 0.000000e+00, ptr %1, align 8, !tbaa !5
  %45 = fmul double %5, %11
  %46 = fmul double %17, %19
  %47 = fmul double %46, %21
  %48 = insertelement <2 x double> poison, double %19, i64 0
  %49 = insertelement <2 x double> %48, double %38, i64 1
  %50 = fmul <2 x double> %49, <double 0x3F9EFB8313352FD1, double 0x3FC950358D9066C9>
  %51 = insertelement <2 x double> poison, double %5, i64 0
  %52 = insertelement <2 x double> %51, double %35, i64 1
  %53 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %52, <2 x double> <double 0xC0165B30520B2E49, double 0x3F77F0D0390058F3>, <2 x double> %50)
  %54 = insertelement <2 x double> poison, double %31, i64 0
  %55 = insertelement <2 x double> %54, double %41, i64 1
  %56 = fneg <2 x double> %55
  %57 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %56, <2 x double> <double 0x4004E2FE2AC21762, double 0x3F6BD2B64728B952>, <2 x double> %53)
  %58 = insertelement <2 x double> poison, double %34, i64 0
  %59 = getelementptr inbounds i8, ptr %1, i64 8
  %60 = fmul double %34, 0xBF91D87520A355BA
  %61 = tail call double @llvm.fmuladd.f64(double %31, double 0xC00A52BB2AC1CB85, double %60)
  %62 = tail call double @llvm.fmuladd.f64(double %35, double 0x3F707526B34DEED1, double %61)
  %63 = tail call double @llvm.fmuladd.f64(double %38, double 0x3FCFCB6474548E98, double %62)
  %64 = fneg double %43
  %65 = insertelement <2 x double> poison, double %14, i64 0
  %66 = insertelement <2 x double> %65, double %5, i64 1
  %67 = insertelement <2 x double> poison, double %8, i64 0
  %68 = shufflevector <2 x double> %67, <2 x double> poison, <2 x i32> zeroinitializer
  %69 = fmul <2 x double> %66, %68
  %70 = insertelement <2 x double> %66, double %11, i64 0
  %71 = shufflevector <2 x double> %65, <2 x double> poison, <2 x i32> zeroinitializer
  %72 = fmul <2 x double> %70, %71
  %73 = extractelement <2 x double> %69, i64 1
  %74 = fmul double %73, %17
  %75 = fmul double %74, %23
  %76 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %77 = insertelement <2 x double> %76, double %45, i64 1
  %78 = insertelement <2 x double> poison, double %23, i64 0
  %79 = insertelement <2 x double> %78, double %17, i64 1
  %80 = fmul <2 x double> %77, %79
  %81 = insertelement <2 x double> poison, double %27, i64 0
  %82 = insertelement <2 x double> %81, double %21, i64 1
  %83 = fmul <2 x double> %80, %82
  %84 = insertelement <2 x double> %68, double %19, i64 0
  %85 = shufflevector <2 x double> %82, <2 x double> %70, <2 x i32> <i32 1, i32 2>
  %86 = fmul <2 x double> %84, %85
  %87 = insertelement <2 x double> %86, double %45, i64 0
  %88 = insertelement <2 x double> %85, double %17, i64 1
  %89 = fmul <2 x double> %87, %88
  %90 = insertelement <2 x double> %81, double %19, i64 1
  %91 = fmul <2 x double> %89, %90
  %92 = insertelement <2 x double> %78, double %19, i64 1
  %93 = fmul <2 x double> %86, %92
  %94 = shufflevector <2 x double> %81, <2 x double> poison, <2 x i32> zeroinitializer
  %95 = fmul <2 x double> %93, %94
  %96 = shufflevector <2 x double> %88, <2 x double> %70, <2 x i32> <i32 1, i32 2>
  %97 = fmul <2 x double> %69, %96
  %98 = insertelement <2 x double> %84, double %14, i64 1
  %99 = fmul <2 x double> %97, %98
  %100 = insertelement <2 x double> %99, double %47, i64 0
  %101 = fmul <2 x double> %100, %79
  %102 = insertelement <2 x double> %78, double %27, i64 1
  %103 = fmul <2 x double> %99, %102
  %104 = shufflevector <2 x double> %88, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %105 = fmul <2 x double> %72, %104
  %106 = shufflevector <2 x double> %84, <2 x double> %85, <2 x i32> <i32 0, i32 2>
  %107 = fmul <2 x double> %105, %106
  %108 = shufflevector <2 x double> %106, <2 x double> %78, <2 x i32> <i32 1, i32 2>
  %109 = fmul <2 x double> %107, %108
  %110 = extractelement <2 x double> %72, i64 1
  %111 = fmul double %110, %21
  %112 = fmul double %111, %23
  %113 = fmul double %112, %27
  %114 = extractelement <2 x double> %69, i64 0
  %115 = fmul double %114, %19
  %116 = extractelement <2 x double> %72, i64 0
  %117 = fmul double %116, %19
  %118 = fneg double %113
  %119 = insertelement <2 x double> poison, double %44, i64 0
  %120 = insertelement <2 x double> %119, double %42, i64 1
  %121 = fmul <2 x double> %120, <double 0x3F8D1143DEF77445, double 0xBF93520A61E91248>
  %122 = insertelement <2 x double> poison, double %43, i64 0
  %123 = insertelement <2 x double> %122, double %41, i64 1
  %124 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %123, <2 x double> <double 0xBF6BD2B64728B952, double 0xBF787C1EDF3247F8>, <2 x double> %121)
  %125 = insertelement <2 x double> poison, double %75, i64 0
  %126 = insertelement <2 x double> %125, double %64, i64 1
  %127 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %126, <2 x double> <double 0x3F73973D09D7CE47, double 0x3F787C1EDF3247F8>, <2 x double> %124)
  %128 = shufflevector <2 x double> %83, <2 x double> %119, <2 x i32> <i32 1, i32 2>
  %129 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %128, <2 x double> <double 0x3F73973D09D7CE47, double 0x3F93520A61E91248>, <2 x double> %127)
  %130 = fmul <2 x double> %83, <double 0x3F91BFD2EBC64197, double 0x3F71805D9EFA5B26>
  %131 = shufflevector <2 x double> %91, <2 x double> %125, <2 x i32> <i32 1, i32 2>
  %132 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %131, <2 x double> <double 0x3F73973D09D7CE47, double 0x3F71805D9EFA5B26>, <2 x double> %130)
  %133 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %91, <2 x double> <double 0x3F91BFD2EBC64197, double 0x3F71805D9EFA5B26>, <2 x double> %132)
  %134 = shufflevector <2 x double> %95, <2 x double> %83, <2 x i32> <i32 1, i32 2>
  %135 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %134, <2 x double> <double 0x3F91BFD2EBC64197, double 0x3F6B7FEFD26CE9C2>, <2 x double> %133)
  %136 = fmul <2 x double> %95, <double 0xBF91BFD2EBC64197, double 0x3F6B7FEFD26CE9C2>
  %137 = shufflevector <2 x double> %101, <2 x double> %91, <2 x i32> <i32 0, i32 2>
  %138 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %137, <2 x double> <double 0xBF73973D09D7CE47, double 0x3F6B7FEFD26CE9C2>, <2 x double> %136)
  %139 = shufflevector <2 x double> %101, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %140 = fneg <2 x double> %139
  %141 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %140, <2 x double> <double 0x3F91BFD2EBC64197, double 0x3F71805D9EFA5B26>, <2 x double> %138)
  %142 = extractelement <2 x double> %95, i64 0
  %143 = fneg double %142
  %144 = shufflevector <2 x double> %103, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %145 = insertelement <2 x double> %144, double %143, i64 1
  %146 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %145, <2 x double> <double 0x3F73973D09D7CE47, double 0x3F6B7FEFD26CE9C2>, <2 x double> %141)
  %147 = fmul <2 x double> %103, <double 0x3F91BFD2EBC64197, double 0x3F71805D9EFA5B26>
  %148 = shufflevector <2 x double> %109, <2 x double> %101, <2 x i32> <i32 1, i32 3>
  %149 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %148, <2 x double> <double 0x3F91BFD2EBC64197, double 0xBF6B7FEFD26CE9C2>, <2 x double> %147)
  %150 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %109, <2 x double> <double 0x3F91BFD2EBC64197, double 0x3F6B7FEFD26CE9C2>, <2 x double> %149)
  %151 = insertelement <2 x double> %144, double %118, i64 0
  %152 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %151, <2 x double> <double 0x3F73973D09D7CE47, double 0x3F6B7FEFD26CE9C2>, <2 x double> %150)
  %153 = fmul double %113, 0xBF71805D9EFA5B26
  %154 = extractelement <2 x double> %109, i64 0
  %155 = tail call double @llvm.fmuladd.f64(double %154, double 0x3F6B7FEFD26CE9C2, double %153)
  %156 = fneg double %75
  %157 = insertelement <2 x double> %83, double %42, i64 0
  %158 = fneg <2 x double> %157
  %159 = shufflevector <2 x double> %58, <2 x double> %158, <2 x i32> <i32 0, i32 2>
  %160 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %159, <2 x double> <double 0x3F91455D259A892A, double 0x3F8D1143DEF77445>, <2 x double> %57)
  %shift = shufflevector <2 x double> %160, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %161 = fadd <2 x double> %160, %shift
  %162 = insertelement <2 x double> %161, double %63, i64 1
  %163 = fadd <2 x double> %162, %129
  %164 = fadd <2 x double> %135, %163
  %165 = fadd <2 x double> %146, %164
  %166 = fadd <2 x double> %152, %165
  %167 = insertelement <2 x double> poison, double %38, i64 0
  %168 = insertelement <2 x double> %167, double %44, i64 1
  %169 = fmul <2 x double> %168, <double 0x3FD0091E941A65D9, double 0x3FA19E16E83EEC34>
  %170 = insertelement <2 x double> poison, double %35, i64 0
  %171 = insertelement <2 x double> %170, double %43, i64 1
  %172 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %171, <2 x double> <double 0x3F67BE3B252E3978, double 0xBF92C1D9B919C7F0>, <2 x double> %169)
  %173 = shufflevector <2 x double> %56, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %174 = insertelement <2 x double> %173, double %156, i64 1
  %175 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %174, <2 x double> <double 0x3F92C1D9B919C7F0, double 0x3F80329EAB1FA627>, <2 x double> %172)
  %176 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %158, <2 x double> <double 0x3FA19E16E83EEC34, double 0x3F80329EAB1FA627>, <2 x double> %175)
  %shift246 = shufflevector <2 x double> %176, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %177 = fadd <2 x double> %176, %shift246
  %178 = extractelement <2 x double> %177, i64 0
  %179 = extractelement <2 x double> %83, i64 0
  %180 = fmul double %179, 0x3F76D1B39DC30FE4
  %181 = extractelement <2 x double> %91, i64 1
  %182 = tail call double @llvm.fmuladd.f64(double %181, double 0xBF80329EAB1FA627, double %180)
  %183 = extractelement <2 x double> %91, i64 0
  %184 = tail call double @llvm.fmuladd.f64(double %183, double 0x3F76D1B39DC30FE4, double %182)
  %185 = extractelement <2 x double> %95, i64 1
  %186 = tail call double @llvm.fmuladd.f64(double %185, double 0x3F76D1B39DC30FE4, double %184)
  %187 = fadd double %186, %178
  %188 = fmul double %142, 0xBF76D1B39DC30FE4
  %189 = extractelement <2 x double> %101, i64 0
  %190 = tail call double @llvm.fmuladd.f64(double %189, double 0x3F80329EAB1FA627, double %188)
  %191 = extractelement <2 x double> %140, i64 0
  %192 = tail call double @llvm.fmuladd.f64(double %191, double 0x3F76D1B39DC30FE4, double %190)
  %193 = extractelement <2 x double> %103, i64 1
  %194 = fneg double %193
  %195 = tail call double @llvm.fmuladd.f64(double %194, double 0x3F80329EAB1FA627, double %192)
  %196 = fadd double %195, %187
  %197 = extractelement <2 x double> %103, i64 0
  %198 = fmul double %197, 0x3F76D1B39DC30FE4
  %199 = extractelement <2 x double> %109, i64 1
  %200 = tail call double @llvm.fmuladd.f64(double %199, double 0x3F76D1B39DC30FE4, double %198)
  %201 = tail call double @llvm.fmuladd.f64(double %154, double 0x3F76D1B39DC30FE4, double %200)
  %202 = tail call double @llvm.fmuladd.f64(double %113, double 0x3F80329EAB1FA627, double %201)
  %203 = fadd double %202, %196
  %204 = getelementptr inbounds i8, ptr %1, i64 24
  %205 = fmul double %42, 0xBF9E0E6F3923AC9A
  %206 = tail call double @llvm.fmuladd.f64(double %41, double 0x3F507BE5DBC1A97B, double %205)
  %207 = tail call double @llvm.fmuladd.f64(double %64, double 0x3F507BE5DBC1A97B, double %206)
  %208 = fneg double %44
  %209 = tail call double @llvm.fmuladd.f64(double %208, double 0x3F9E0E6F3923AC9A, double %207)
  %210 = insertelement <2 x double> poison, double %117, i64 0
  %211 = insertelement <2 x double> %210, double %25, i64 1
  %212 = insertelement <2 x double> poison, double %21, i64 0
  %213 = insertelement <2 x double> %212, double %27, i64 1
  %214 = fmul <2 x double> %211, %213
  %215 = insertelement <2 x double> poison, double %27, i64 0
  %216 = insertelement <2 x double> %215, double %38, i64 1
  %217 = fmul <2 x double> %214, %216
  %218 = extractelement <2 x double> %217, i64 0
  %219 = fmul double %218, 0xBF73973D09D7CE47
  %220 = insertelement <2 x double> poison, double %115, i64 0
  %221 = insertelement <2 x double> %220, double %17, i64 1
  %222 = insertelement <2 x double> %211, double %23, i64 0
  %223 = fmul <2 x double> %221, %222
  %224 = fmul <2 x double> %223, %216
  %225 = extractelement <2 x double> %224, i64 0
  %226 = fneg double %225
  %227 = tail call double @llvm.fmuladd.f64(double %226, double 0x3F71805D9EFA5B26, double %155)
  %228 = fneg double %218
  %229 = insertelement <2 x double> %224, double %228, i64 1
  %230 = insertelement <2 x double> poison, double %219, i64 0
  %231 = insertelement <2 x double> %230, double %227, i64 1
  %232 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %229, <2 x double> <double 0xBF73973D09D7CE47, double 0x3F71805D9EFA5B26>, <2 x double> %231)
  %233 = fadd <2 x double> %232, %166
  store <2 x double> %233, ptr %59, align 8, !tbaa !5
  %234 = fmul <2 x double> %217, <double 0x3F80329EAB1FA627, double 0xBF5A01E153426C55>
  %235 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %224, <2 x double> <double 0x3F80329EAB1FA627, double 0xBF79880F34FD3F24>, <2 x double> %234)
  %236 = insertelement <2 x double> poison, double %203, i64 0
  %237 = insertelement <2 x double> %236, double %209, i64 1
  %238 = fadd <2 x double> %235, %237
  store <2 x double> %238, ptr %204, align 8, !tbaa !5
  %239 = fmul double %73, %14
  %240 = fmul double %45, %14
  %241 = extractelement <2 x double> %86, i64 1
  %242 = fmul double %241, %14
  %243 = extractelement <2 x double> %97, i64 1
  %244 = fmul double %243, %17
  %245 = fmul double %243, %27
  %246 = fmul double %245, 0x3F7128ECC3050980
  %247 = tail call double @llvm.fmuladd.f64(double %244, double 0x3F56C0F3C3F16343, double %246)
  %248 = fneg double %5
  %249 = fmul double %17, %248
  %250 = fmul double %249, %21
  %251 = fmul double %250, %23
  %252 = tail call double @llvm.fmuladd.f64(double %251, double 0x3F56C0F3C3F16343, double %247)
  %253 = fneg double %8
  %254 = fmul double %17, %253
  %255 = fmul double %254, %19
  %256 = fmul double %255, %23
  %257 = tail call double @llvm.fmuladd.f64(double %256, double 0x3F56C0F3C3F16343, double %252)
  %258 = fmul double %11, %17
  %259 = fmul double %258, %19
  %260 = fmul double %259, %21
  %261 = fmul double %5, %21
  %262 = fmul double %261, %23
  %263 = fmul double %262, %27
  %264 = fmul double %263, 0xBF7128ECC3050980
  %265 = tail call double @llvm.fmuladd.f64(double %260, double 0xBF56C0F3C3F16343, double %264)
  %266 = fmul double %19, %253
  %267 = fmul double %266, %23
  %268 = fmul double %267, %27
  %269 = tail call double @llvm.fmuladd.f64(double %268, double 0x3F7128ECC3050980, double %265)
  %270 = fneg double %11
  %271 = fmul double %19, %270
  %272 = fmul double %271, %21
  %273 = fmul double %272, %27
  %274 = tail call double @llvm.fmuladd.f64(double %273, double 0x3F7128ECC3050980, double %269)
  %275 = fadd double %257, %274
  %276 = fmul double %239, %17
  %277 = fmul double %276, %23
  %278 = fmul double %240, %17
  %279 = fmul double %278, %21
  %280 = fmul double %279, 0x3F7128ECC3050980
  %281 = tail call double @llvm.fmuladd.f64(double %277, double 0x3F7128ECC3050980, double %280)
  %282 = fmul double %242, %17
  %283 = fmul double %282, %19
  %284 = tail call double @llvm.fmuladd.f64(double %283, double 0x3F7128ECC3050980, double %281)
  %285 = fneg double %239
  %286 = fmul double %23, %285
  %287 = fmul double %286, %27
  %288 = tail call double @llvm.fmuladd.f64(double %287, double 0x3F56C0F3C3F16343, double %284)
  %289 = fadd double %288, %275
  %290 = fmul double %240, %21
  %291 = fmul double %290, %27
  %292 = fmul double %242, %19
  %293 = fmul double %292, %27
  %294 = fmul double %293, 0xBF56C0F3C3F16343
  %295 = tail call double @llvm.fmuladd.f64(double %291, double 0xBF56C0F3C3F16343, double %294)
  %296 = fneg double %14
  %297 = fmul double %17, %296
  %298 = fmul double %297, %19
  %299 = fmul double %298, %21
  %300 = fmul double %299, %23
  %301 = tail call double @llvm.fmuladd.f64(double %300, double 0x3F7128ECC3050980, double %295)
  %302 = fmul double %14, %19
  %303 = fmul double %302, %21
  %304 = fmul double %303, %23
  %305 = fmul double %304, %27
  %306 = tail call double @llvm.fmuladd.f64(double %305, double 0x3F56C0F3C3F16343, double %301)
  %307 = fadd double %306, %289
  %308 = getelementptr inbounds i8, ptr %1, i64 40
  store double %307, ptr %308, align 8, !tbaa !5
  ret void
}

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { mustprogress nofree nounwind willreturn memory(write, argmem: readwrite) 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 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass,VectorCombinePass