; LLVM IR from csabahruska/bullet :: cbits (Bullet)

; 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.btMatrix3x3 = type { [3 x %class.btVector3] }
%class.btVector3 = type { [4 x float] }
%class.btTransform = type { %class.btMatrix3x3, %class.btVector3 }

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48), i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @btTransformUtil_calculateVelocity(ptr noundef %0, ptr noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %class.btMatrix3x3, align 4
  %12 = alloca %class.btVector3, align 4
  %13 = alloca %class.btTransform, align 4
  %14 = alloca %class.btMatrix3x3, align 4
  %15 = alloca %class.btVector3, align 4
  %16 = alloca %class.btTransform, align 4
  %17 = alloca %class.btVector3, align 4
  %18 = alloca %class.btVector3, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store float %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds float, ptr %19, i64 0
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds float, ptr %21, i64 1
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds float, ptr %23, i64 2
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds float, ptr %25, i64 3
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds float, ptr %27, i64 4
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds float, ptr %29, i64 5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds float, ptr %31, i64 6
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds float, ptr %33, i64 7
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds float, ptr %35, i64 8
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %11, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %36)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds float, ptr %37, i64 9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds float, ptr %39, i64 10
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds float, ptr %41, i64 11
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %42)
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #5
  call void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64) %13, ptr noundef nonnull align 4 dereferenceable(48) %11, ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds float, ptr %43, i64 0
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds float, ptr %45, i64 1
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds float, ptr %47, i64 2
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds float, ptr %49, i64 3
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds float, ptr %51, i64 4
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds float, ptr %53, i64 5
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds float, ptr %55, i64 6
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds float, ptr %57, i64 7
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds float, ptr %59, i64 8
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %14, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %60)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds float, ptr %61, i64 9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds float, ptr %63, i64 10
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds float, ptr %65, i64 11
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %66)
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #5
  call void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64) %16, ptr noundef nonnull align 4 dereferenceable(48) %14, ptr noundef nonnull align 4 dereferenceable(16) %15)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds float, ptr %67, i64 0
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds float, ptr %69, i64 1
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds float, ptr %71, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %72)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds float, ptr %73, i64 0
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds float, ptr %75, i64 1
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds float, ptr %77, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %76, ptr noundef nonnull align 4 dereferenceable(4) %78)
  %79 = load float, ptr %8, align 4, !tbaa !9
  call void @_ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(ptr noundef nonnull align 4 dereferenceable(64) %13, ptr noundef nonnull align 4 dereferenceable(64) %16, float noundef %79, ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %18)
  %80 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %81 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %80, i32 noundef 0)
  %82 = getelementptr inbounds %class.btVector3, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds [4 x float], ptr %82, i64 0, i64 0
  %84 = load float, ptr %83, align 4, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds float, ptr %85, i64 0
  store float %84, ptr %86, align 4, !tbaa !9
  %87 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %88 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %87, i32 noundef 0)
  %89 = getelementptr inbounds %class.btVector3, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds [4 x float], ptr %89, i64 0, i64 1
  %91 = load float, ptr %90, align 4, !tbaa !9
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds float, ptr %92, i64 1
  store float %91, ptr %93, align 4, !tbaa !9
  %94 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %95 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %94, i32 noundef 0)
  %96 = getelementptr inbounds %class.btVector3, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds [4 x float], ptr %96, i64 0, i64 2
  %98 = load float, ptr %97, align 4, !tbaa !9
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds float, ptr %99, i64 2
  store float %98, ptr %100, align 4, !tbaa !9
  %101 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %102 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %101, i32 noundef 1)
  %103 = getelementptr inbounds %class.btVector3, ptr %102, i32 0, i32 0
  %104 = getelementptr inbounds [4 x float], ptr %103, i64 0, i64 0
  %105 = load float, ptr %104, align 4, !tbaa !9
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds float, ptr %106, i64 3
  store float %105, ptr %107, align 4, !tbaa !9
  %108 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %109 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %108, i32 noundef 1)
  %110 = getelementptr inbounds %class.btVector3, ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds [4 x float], ptr %110, i64 0, i64 1
  %112 = load float, ptr %111, align 4, !tbaa !9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds float, ptr %113, i64 4
  store float %112, ptr %114, align 4, !tbaa !9
  %115 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %116 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %115, i32 noundef 1)
  %117 = getelementptr inbounds %class.btVector3, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds [4 x float], ptr %117, i64 0, i64 2
  %119 = load float, ptr %118, align 4, !tbaa !9
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds float, ptr %120, i64 5
  store float %119, ptr %121, align 4, !tbaa !9
  %122 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %123 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %122, i32 noundef 2)
  %124 = getelementptr inbounds %class.btVector3, ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds [4 x float], ptr %124, i64 0, i64 0
  %126 = load float, ptr %125, align 4, !tbaa !9
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds float, ptr %127, i64 6
  store float %126, ptr %128, align 4, !tbaa !9
  %129 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %130 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %129, i32 noundef 2)
  %131 = getelementptr inbounds %class.btVector3, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds [4 x float], ptr %131, i64 0, i64 1
  %133 = load float, ptr %132, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds float, ptr %134, i64 7
  store float %133, ptr %135, align 4, !tbaa !9
  %136 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %137 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %136, i32 noundef 2)
  %138 = getelementptr inbounds %class.btVector3, ptr %137, i32 0, i32 0
  %139 = getelementptr inbounds [4 x float], ptr %138, i64 0, i64 2
  %140 = load float, ptr %139, align 4, !tbaa !9
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds float, ptr %141, i64 8
  store float %140, ptr %142, align 4, !tbaa !9
  %143 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %144 = getelementptr inbounds %class.btVector3, ptr %143, i32 0, i32 0
  %145 = getelementptr inbounds [4 x float], ptr %144, i64 0, i64 0
  %146 = load float, ptr %145, align 4, !tbaa !9
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds float, ptr %147, i64 9
  store float %146, ptr %148, align 4, !tbaa !9
  %149 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %150 = getelementptr inbounds %class.btVector3, ptr %149, i32 0, i32 0
  %151 = getelementptr inbounds [4 x float], ptr %150, i64 0, i64 1
  %152 = load float, ptr %151, align 4, !tbaa !9
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds float, ptr %153, i64 10
  store float %152, ptr %154, align 4, !tbaa !9
  %155 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %13)
  %156 = getelementptr inbounds %class.btVector3, ptr %155, i32 0, i32 0
  %157 = getelementptr inbounds [4 x float], ptr %156, i64 0, i64 2
  %158 = load float, ptr %157, align 4, !tbaa !9
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds float, ptr %159, i64 11
  store float %158, ptr %160, align 4, !tbaa !9
  %161 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %162 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %161, i32 noundef 0)
  %163 = getelementptr inbounds %class.btVector3, ptr %162, i32 0, i32 0
  %164 = getelementptr inbounds [4 x float], ptr %163, i64 0, i64 0
  %165 = load float, ptr %164, align 4, !tbaa !9
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds float, ptr %166, i64 0
  store float %165, ptr %167, align 4, !tbaa !9
  %168 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %169 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %168, i32 noundef 0)
  %170 = getelementptr inbounds %class.btVector3, ptr %169, i32 0, i32 0
  %171 = getelementptr inbounds [4 x float], ptr %170, i64 0, i64 1
  %172 = load float, ptr %171, align 4, !tbaa !9
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds float, ptr %173, i64 1
  store float %172, ptr %174, align 4, !tbaa !9
  %175 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %176 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %175, i32 noundef 0)
  %177 = getelementptr inbounds %class.btVector3, ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds [4 x float], ptr %177, i64 0, i64 2
  %179 = load float, ptr %178, align 4, !tbaa !9
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds float, ptr %180, i64 2
  store float %179, ptr %181, align 4, !tbaa !9
  %182 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %183 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %182, i32 noundef 1)
  %184 = getelementptr inbounds %class.btVector3, ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds [4 x float], ptr %184, i64 0, i64 0
  %186 = load float, ptr %185, align 4, !tbaa !9
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = getelementptr inbounds float, ptr %187, i64 3
  store float %186, ptr %188, align 4, !tbaa !9
  %189 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %190 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %189, i32 noundef 1)
  %191 = getelementptr inbounds %class.btVector3, ptr %190, i32 0, i32 0
  %192 = getelementptr inbounds [4 x float], ptr %191, i64 0, i64 1
  %193 = load float, ptr %192, align 4, !tbaa !9
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds float, ptr %194, i64 4
  store float %193, ptr %195, align 4, !tbaa !9
  %196 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %197 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %196, i32 noundef 1)
  %198 = getelementptr inbounds %class.btVector3, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds [4 x float], ptr %198, i64 0, i64 2
  %200 = load float, ptr %199, align 4, !tbaa !9
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds float, ptr %201, i64 5
  store float %200, ptr %202, align 4, !tbaa !9
  %203 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %204 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %203, i32 noundef 2)
  %205 = getelementptr inbounds %class.btVector3, ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds [4 x float], ptr %205, i64 0, i64 0
  %207 = load float, ptr %206, align 4, !tbaa !9
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = getelementptr inbounds float, ptr %208, i64 6
  store float %207, ptr %209, align 4, !tbaa !9
  %210 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %211 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %210, i32 noundef 2)
  %212 = getelementptr inbounds %class.btVector3, ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds [4 x float], ptr %212, i64 0, i64 1
  %214 = load float, ptr %213, align 4, !tbaa !9
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = getelementptr inbounds float, ptr %215, i64 7
  store float %214, ptr %216, align 4, !tbaa !9
  %217 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %218 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %217, i32 noundef 2)
  %219 = getelementptr inbounds %class.btVector3, ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds [4 x float], ptr %219, i64 0, i64 2
  %221 = load float, ptr %220, align 4, !tbaa !9
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds float, ptr %222, i64 8
  store float %221, ptr %223, align 4, !tbaa !9
  %224 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %225 = getelementptr inbounds %class.btVector3, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds [4 x float], ptr %225, i64 0, i64 0
  %227 = load float, ptr %226, align 4, !tbaa !9
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = getelementptr inbounds float, ptr %228, i64 9
  store float %227, ptr %229, align 4, !tbaa !9
  %230 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %231 = getelementptr inbounds %class.btVector3, ptr %230, i32 0, i32 0
  %232 = getelementptr inbounds [4 x float], ptr %231, i64 0, i64 1
  %233 = load float, ptr %232, align 4, !tbaa !9
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds float, ptr %234, i64 10
  store float %233, ptr %235, align 4, !tbaa !9
  %236 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %16)
  %237 = getelementptr inbounds %class.btVector3, ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds [4 x float], ptr %237, i64 0, i64 2
  %239 = load float, ptr %238, align 4, !tbaa !9
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = getelementptr inbounds float, ptr %240, i64 11
  store float %239, ptr %241, align 4, !tbaa !9
  %242 = getelementptr inbounds %class.btVector3, ptr %17, i32 0, i32 0
  %243 = getelementptr inbounds [4 x float], ptr %242, i64 0, i64 0
  %244 = load float, ptr %243, align 4, !tbaa !9
  %245 = load ptr, ptr %9, align 8, !tbaa !5
  %246 = getelementptr inbounds float, ptr %245, i64 0
  store float %244, ptr %246, align 4, !tbaa !9
  %247 = getelementptr inbounds %class.btVector3, ptr %17, i32 0, i32 0
  %248 = getelementptr inbounds [4 x float], ptr %247, i64 0, i64 1
  %249 = load float, ptr %248, align 4, !tbaa !9
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = getelementptr inbounds float, ptr %250, i64 1
  store float %249, ptr %251, align 4, !tbaa !9
  %252 = getelementptr inbounds %class.btVector3, ptr %17, i32 0, i32 0
  %253 = getelementptr inbounds [4 x float], ptr %252, i64 0, i64 2
  %254 = load float, ptr %253, align 4, !tbaa !9
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = getelementptr inbounds float, ptr %255, i64 2
  store float %254, ptr %256, align 4, !tbaa !9
  %257 = getelementptr inbounds %class.btVector3, ptr %18, i32 0, i32 0
  %258 = getelementptr inbounds [4 x float], ptr %257, i64 0, i64 0
  %259 = load float, ptr %258, align 4, !tbaa !9
  %260 = load ptr, ptr %10, align 8, !tbaa !5
  %261 = getelementptr inbounds float, ptr %260, i64 0
  store float %259, ptr %261, align 4, !tbaa !9
  %262 = getelementptr inbounds %class.btVector3, ptr %18, i32 0, i32 0
  %263 = getelementptr inbounds [4 x float], ptr %262, i64 0, i64 1
  %264 = load float, ptr %263, align 4, !tbaa !9
  %265 = load ptr, ptr %10, align 8, !tbaa !5
  %266 = getelementptr inbounds float, ptr %265, i64 1
  store float %264, ptr %266, align 4, !tbaa !9
  %267 = getelementptr inbounds %class.btVector3, ptr %18, i32 0, i32 0
  %268 = getelementptr inbounds [4 x float], ptr %267, i64 0, i64 2
  %269 = load float, ptr %268, align 4, !tbaa !9
  %270 = load ptr, ptr %10, align 8, !tbaa !5
  %271 = getelementptr inbounds float, ptr %270, i64 2
  store float %269, ptr %271, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64), float noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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

%class.btMatrix3x3 = type { [3 x %class.btVector3] }
%class.btVector3 = type { [4 x float] }
%class.btTransform = type { %class.btMatrix3x3, %class.btVector3 }

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @btTransformUtil_calculateVelocity(ptr noundef nonnull %0, ptr noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = alloca %class.btMatrix3x3, align 4
  %7 = alloca %class.btVector3, align 4
  %8 = alloca %class.btTransform, align 4
  %9 = alloca %class.btMatrix3x3, align 4
  %10 = alloca %class.btVector3, align 4
  %11 = alloca %class.btTransform, align 4
  %12 = alloca %class.btVector3, align 8
  %13 = alloca %class.btVector3, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #5
  %14 = getelementptr inbounds i8, ptr %0, i64 4
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = getelementptr inbounds i8, ptr %0, i64 12
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = getelementptr inbounds i8, ptr %0, i64 20
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = getelementptr inbounds i8, ptr %0, i64 28
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 36
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  %24 = getelementptr inbounds i8, ptr %0, i64 44
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(16) %7)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  %25 = getelementptr inbounds i8, ptr %1, i64 4
  %26 = getelementptr inbounds i8, ptr %1, i64 8
  %27 = getelementptr inbounds i8, ptr %1, i64 12
  %28 = getelementptr inbounds i8, ptr %1, i64 16
  %29 = getelementptr inbounds i8, ptr %1, i64 20
  %30 = getelementptr inbounds i8, ptr %1, i64 24
  %31 = getelementptr inbounds i8, ptr %1, i64 28
  %32 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  %33 = getelementptr inbounds i8, ptr %1, i64 36
  %34 = getelementptr inbounds i8, ptr %1, i64 40
  %35 = getelementptr inbounds i8, ptr %1, i64 44
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(16) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  %36 = getelementptr inbounds i8, ptr %3, i64 4
  %37 = getelementptr inbounds i8, ptr %3, i64 8
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  %38 = getelementptr inbounds i8, ptr %4, i64 4
  %39 = getelementptr inbounds i8, ptr %4, i64 8
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
  call void @_ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(ptr noundef nonnull align 4 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(64) %11, float noundef %2, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %13)
  %40 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %41 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %40, i32 noundef 0)
  %42 = load float, ptr %41, align 4, !tbaa !5
  store float %42, ptr %0, align 4, !tbaa !5
  %43 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %44 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %43, i32 noundef 0)
  %45 = getelementptr inbounds i8, ptr %44, i64 4
  %46 = load float, ptr %45, align 4, !tbaa !5
  store float %46, ptr %14, align 4, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %48 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %47, i32 noundef 0)
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = load float, ptr %49, align 4, !tbaa !5
  store float %50, ptr %15, align 4, !tbaa !5
  %51 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %52 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %51, i32 noundef 1)
  %53 = load float, ptr %52, align 4, !tbaa !5
  store float %53, ptr %16, align 4, !tbaa !5
  %54 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %55 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %54, i32 noundef 1)
  %56 = getelementptr inbounds i8, ptr %55, i64 4
  %57 = load float, ptr %56, align 4, !tbaa !5
  store float %57, ptr %17, align 4, !tbaa !5
  %58 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %59 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %58, i32 noundef 1)
  %60 = getelementptr inbounds i8, ptr %59, i64 8
  %61 = load float, ptr %60, align 4, !tbaa !5
  store float %61, ptr %18, align 4, !tbaa !5
  %62 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %63 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %62, i32 noundef 2)
  %64 = load float, ptr %63, align 4, !tbaa !5
  store float %64, ptr %19, align 4, !tbaa !5
  %65 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %66 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %65, i32 noundef 2)
  %67 = getelementptr inbounds i8, ptr %66, i64 4
  %68 = load float, ptr %67, align 4, !tbaa !5
  store float %68, ptr %20, align 4, !tbaa !5
  %69 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %70 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %69, i32 noundef 2)
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = load float, ptr %71, align 4, !tbaa !5
  store float %72, ptr %21, align 4, !tbaa !5
  %73 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %74 = load float, ptr %73, align 4, !tbaa !5
  store float %74, ptr %22, align 4, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %76 = getelementptr inbounds i8, ptr %75, i64 4
  %77 = load float, ptr %76, align 4, !tbaa !5
  store float %77, ptr %23, align 4, !tbaa !5
  %78 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load float, ptr %79, align 4, !tbaa !5
  store float %80, ptr %24, align 4, !tbaa !5
  %81 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %82 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %81, i32 noundef 0)
  %83 = load float, ptr %82, align 4, !tbaa !5
  store float %83, ptr %1, align 4, !tbaa !5
  %84 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %85 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %84, i32 noundef 0)
  %86 = getelementptr inbounds i8, ptr %85, i64 4
  %87 = load float, ptr %86, align 4, !tbaa !5
  store float %87, ptr %25, align 4, !tbaa !5
  %88 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %89 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %88, i32 noundef 0)
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  %91 = load float, ptr %90, align 4, !tbaa !5
  store float %91, ptr %26, align 4, !tbaa !5
  %92 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %93 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %92, i32 noundef 1)
  %94 = load float, ptr %93, align 4, !tbaa !5
  store float %94, ptr %27, align 4, !tbaa !5
  %95 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %96 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %95, i32 noundef 1)
  %97 = getelementptr inbounds i8, ptr %96, i64 4
  %98 = load float, ptr %97, align 4, !tbaa !5
  store float %98, ptr %28, align 4, !tbaa !5
  %99 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %100 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %99, i32 noundef 1)
  %101 = getelementptr inbounds i8, ptr %100, i64 8
  %102 = load float, ptr %101, align 4, !tbaa !5
  store float %102, ptr %29, align 4, !tbaa !5
  %103 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %104 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %103, i32 noundef 2)
  %105 = load float, ptr %104, align 4, !tbaa !5
  store float %105, ptr %30, align 4, !tbaa !5
  %106 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %107 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %106, i32 noundef 2)
  %108 = getelementptr inbounds i8, ptr %107, i64 4
  %109 = load float, ptr %108, align 4, !tbaa !5
  store float %109, ptr %31, align 4, !tbaa !5
  %110 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %111 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %110, i32 noundef 2)
  %112 = getelementptr inbounds i8, ptr %111, i64 8
  %113 = load float, ptr %112, align 4, !tbaa !5
  store float %113, ptr %32, align 4, !tbaa !5
  %114 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %115 = load float, ptr %114, align 4, !tbaa !5
  store float %115, ptr %33, align 4, !tbaa !5
  %116 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %117 = getelementptr inbounds i8, ptr %116, i64 4
  %118 = load float, ptr %117, align 4, !tbaa !5
  store float %118, ptr %34, align 4, !tbaa !5
  %119 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %11)
  %120 = getelementptr inbounds i8, ptr %119, i64 8
  %121 = load float, ptr %120, align 4, !tbaa !5
  store float %121, ptr %35, align 4, !tbaa !5
  %122 = load <2 x float>, ptr %12, align 8, !tbaa !5
  store <2 x float> %122, ptr %3, align 4, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %12, i64 8
  %124 = load float, ptr %123, align 8, !tbaa !5
  store float %124, ptr %37, align 4, !tbaa !5
  %125 = load <2 x float>, ptr %13, align 8, !tbaa !5
  store <2 x float> %125, ptr %4, align 4, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %13, i64 8
  %127 = load float, ptr %126, align 8, !tbaa !5
  store float %127, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15btTransformUtil17calculateVelocityERK11btTransformS2_fR9btVector3S4_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64), float noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass