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

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

declare noundef ptr @_Z22btAlignedAllocInternalmi(i64 noundef, i32 noundef) #1

; 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 #2 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 #3 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) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local ptr @btJacobianEntry_new2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.btVector3, align 4
  %14 = alloca %class.btMatrix3x3, align 4
  %15 = alloca %class.btMatrix3x3, align 4
  %16 = alloca %class.btVector3, align 4
  %17 = alloca %class.btVector3, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  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 8, ptr %11) #5
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds float, ptr %18, i64 0
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds float, ptr %20, i64 1
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds float, ptr %22, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %23)
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds float, ptr %24, i64 0
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds float, ptr %26, i64 1
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds float, ptr %28, i64 2
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds float, ptr %30, i64 3
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds float, ptr %32, i64 4
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds float, ptr %34, i64 5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds float, ptr %36, i64 6
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds float, ptr %38, i64 7
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds float, ptr %40, 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) %25, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %41)
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds float, ptr %42, i64 0
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds float, ptr %44, i64 1
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds float, ptr %46, i64 2
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = getelementptr inbounds float, ptr %48, i64 3
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds float, ptr %50, i64 4
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds float, ptr %52, i64 5
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds float, ptr %54, i64 6
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds float, ptr %56, i64 7
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds float, ptr %58, i64 8
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %15, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %59)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds float, ptr %60, i64 0
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds float, ptr %62, i64 1
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds float, ptr %64, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 4 dereferenceable(4) %65)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds float, ptr %66, i64 0
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds float, ptr %68, i64 1
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds float, ptr %70, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %72 = call noundef ptr @_Z22btAlignedAllocInternalmi(i64 noundef 84, i32 noundef 16)
  store ptr %72, ptr %12, align 8, !tbaa !5
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(ptr noundef nonnull align 4 dereferenceable(84) %73, ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(48) %14, ptr noundef nonnull align 4 dereferenceable(48) %15, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %17)
  store ptr %73, ptr %11, align 8, !tbaa !5
  %74 = getelementptr inbounds %class.btVector3, ptr %13, i32 0, i32 0
  %75 = getelementptr inbounds [4 x float], ptr %74, i64 0, i64 0
  %76 = load float, ptr %75, align 4, !tbaa !9
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds float, ptr %77, i64 0
  store float %76, ptr %78, align 4, !tbaa !9
  %79 = getelementptr inbounds %class.btVector3, ptr %13, i32 0, i32 0
  %80 = getelementptr inbounds [4 x float], ptr %79, i64 0, i64 1
  %81 = load float, ptr %80, align 4, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds float, ptr %82, i64 1
  store float %81, ptr %83, align 4, !tbaa !9
  %84 = getelementptr inbounds %class.btVector3, ptr %13, i32 0, i32 0
  %85 = getelementptr inbounds [4 x float], ptr %84, i64 0, i64 2
  %86 = load float, ptr %85, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds float, ptr %87, i64 2
  store float %86, ptr %88, align 4, !tbaa !9
  %89 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 0)
  %90 = getelementptr inbounds %class.btVector3, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds [4 x float], ptr %90, i64 0, i64 0
  %92 = load float, ptr %91, align 4, !tbaa !9
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds float, ptr %93, i64 0
  store float %92, ptr %94, align 4, !tbaa !9
  %95 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, 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 1
  %98 = load float, ptr %97, align 4, !tbaa !9
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds float, ptr %99, i64 1
  store float %98, ptr %100, align 4, !tbaa !9
  %101 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 0)
  %102 = getelementptr inbounds %class.btVector3, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds [4 x float], ptr %102, i64 0, i64 2
  %104 = load float, ptr %103, align 4, !tbaa !9
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds float, ptr %105, i64 2
  store float %104, ptr %106, align 4, !tbaa !9
  %107 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 1)
  %108 = getelementptr inbounds %class.btVector3, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds [4 x float], ptr %108, i64 0, i64 0
  %110 = load float, ptr %109, align 4, !tbaa !9
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds float, ptr %111, i64 3
  store float %110, ptr %112, align 4, !tbaa !9
  %113 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 1)
  %114 = getelementptr inbounds %class.btVector3, ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds [4 x float], ptr %114, i64 0, i64 1
  %116 = load float, ptr %115, align 4, !tbaa !9
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds float, ptr %117, i64 4
  store float %116, ptr %118, align 4, !tbaa !9
  %119 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 1)
  %120 = getelementptr inbounds %class.btVector3, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds [4 x float], ptr %120, i64 0, i64 2
  %122 = load float, ptr %121, align 4, !tbaa !9
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds float, ptr %123, i64 5
  store float %122, ptr %124, align 4, !tbaa !9
  %125 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 2)
  %126 = getelementptr inbounds %class.btVector3, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds [4 x float], ptr %126, i64 0, i64 0
  %128 = load float, ptr %127, align 4, !tbaa !9
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds float, ptr %129, i64 6
  store float %128, ptr %130, align 4, !tbaa !9
  %131 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, i32 noundef 2)
  %132 = getelementptr inbounds %class.btVector3, ptr %131, i32 0, i32 0
  %133 = getelementptr inbounds [4 x float], ptr %132, i64 0, i64 1
  %134 = load float, ptr %133, align 4, !tbaa !9
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = getelementptr inbounds float, ptr %135, i64 7
  store float %134, ptr %136, align 4, !tbaa !9
  %137 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %14, 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 %7, 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 @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 0)
  %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 %8, align 8, !tbaa !5
  %148 = getelementptr inbounds float, ptr %147, i64 0
  store float %146, ptr %148, align 4, !tbaa !9
  %149 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 0)
  %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 %8, align 8, !tbaa !5
  %154 = getelementptr inbounds float, ptr %153, i64 1
  store float %152, ptr %154, align 4, !tbaa !9
  %155 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 0)
  %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 %8, align 8, !tbaa !5
  %160 = getelementptr inbounds float, ptr %159, i64 2
  store float %158, ptr %160, align 4, !tbaa !9
  %161 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 1)
  %162 = getelementptr inbounds %class.btVector3, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds [4 x float], ptr %162, i64 0, i64 0
  %164 = load float, ptr %163, align 4, !tbaa !9
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = getelementptr inbounds float, ptr %165, i64 3
  store float %164, ptr %166, align 4, !tbaa !9
  %167 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 1)
  %168 = getelementptr inbounds %class.btVector3, ptr %167, i32 0, i32 0
  %169 = getelementptr inbounds [4 x float], ptr %168, i64 0, i64 1
  %170 = load float, ptr %169, align 4, !tbaa !9
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = getelementptr inbounds float, ptr %171, i64 4
  store float %170, ptr %172, align 4, !tbaa !9
  %173 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 1)
  %174 = getelementptr inbounds %class.btVector3, ptr %173, i32 0, i32 0
  %175 = getelementptr inbounds [4 x float], ptr %174, i64 0, i64 2
  %176 = load float, ptr %175, align 4, !tbaa !9
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  %178 = getelementptr inbounds float, ptr %177, i64 5
  store float %176, ptr %178, align 4, !tbaa !9
  %179 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 2)
  %180 = getelementptr inbounds %class.btVector3, ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds [4 x float], ptr %180, i64 0, i64 0
  %182 = load float, ptr %181, align 4, !tbaa !9
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = getelementptr inbounds float, ptr %183, i64 6
  store float %182, ptr %184, align 4, !tbaa !9
  %185 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 2)
  %186 = getelementptr inbounds %class.btVector3, ptr %185, i32 0, i32 0
  %187 = getelementptr inbounds [4 x float], ptr %186, i64 0, i64 1
  %188 = load float, ptr %187, align 4, !tbaa !9
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = getelementptr inbounds float, ptr %189, i64 7
  store float %188, ptr %190, align 4, !tbaa !9
  %191 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %15, i32 noundef 2)
  %192 = getelementptr inbounds %class.btVector3, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds [4 x float], ptr %192, i64 0, i64 2
  %194 = load float, ptr %193, align 4, !tbaa !9
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = getelementptr inbounds float, ptr %195, i64 8
  store float %194, ptr %196, align 4, !tbaa !9
  %197 = getelementptr inbounds %class.btVector3, ptr %16, i32 0, i32 0
  %198 = getelementptr inbounds [4 x float], ptr %197, i64 0, i64 0
  %199 = load float, ptr %198, align 4, !tbaa !9
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = getelementptr inbounds float, ptr %200, i64 0
  store float %199, ptr %201, align 4, !tbaa !9
  %202 = getelementptr inbounds %class.btVector3, ptr %16, i32 0, i32 0
  %203 = getelementptr inbounds [4 x float], ptr %202, i64 0, i64 1
  %204 = load float, ptr %203, align 4, !tbaa !9
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds float, ptr %205, i64 1
  store float %204, ptr %206, align 4, !tbaa !9
  %207 = getelementptr inbounds %class.btVector3, ptr %16, i32 0, i32 0
  %208 = getelementptr inbounds [4 x float], ptr %207, i64 0, i64 2
  %209 = load float, ptr %208, align 4, !tbaa !9
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = getelementptr inbounds float, ptr %210, i64 2
  store float %209, ptr %211, align 4, !tbaa !9
  %212 = getelementptr inbounds %class.btVector3, ptr %17, i32 0, i32 0
  %213 = getelementptr inbounds [4 x float], ptr %212, i64 0, i64 0
  %214 = load float, ptr %213, align 4, !tbaa !9
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = getelementptr inbounds float, ptr %215, i64 0
  store float %214, ptr %216, align 4, !tbaa !9
  %217 = getelementptr inbounds %class.btVector3, ptr %17, i32 0, i32 0
  %218 = getelementptr inbounds [4 x float], ptr %217, i64 0, i64 1
  %219 = load float, ptr %218, align 4, !tbaa !9
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = getelementptr inbounds float, ptr %220, i64 1
  store float %219, ptr %221, align 4, !tbaa !9
  %222 = getelementptr inbounds %class.btVector3, ptr %17, i32 0, i32 0
  %223 = getelementptr inbounds [4 x float], ptr %222, i64 0, i64 2
  %224 = load float, ptr %223, align 4, !tbaa !9
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  %226 = getelementptr inbounds float, ptr %225, i64 2
  store float %224, ptr %226, align 4, !tbaa !9
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret ptr %227
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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.btVector3 = type { [4 x float] }
%class.btMatrix3x3 = type { [3 x %class.btVector3] }

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

declare noundef ptr @_Z22btAlignedAllocInternalmi(i64 noundef, i32 noundef) local_unnamed_addr #1

; 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 #2 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 #3 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 #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @btJacobianEntry_new2(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #3 {
  %6 = alloca %class.btVector3, align 8
  %7 = alloca %class.btMatrix3x3, align 4
  %8 = alloca %class.btMatrix3x3, align 4
  %9 = alloca %class.btVector3, align 8
  %10 = alloca %class.btVector3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 4
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #5
  %13 = getelementptr inbounds i8, ptr %1, i64 4
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  %15 = getelementptr inbounds i8, ptr %1, i64 12
  %16 = getelementptr inbounds i8, ptr %1, i64 16
  %17 = getelementptr inbounds i8, ptr %1, i64 20
  %18 = getelementptr inbounds i8, ptr %1, i64 24
  %19 = getelementptr inbounds i8, ptr %1, i64 28
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %13, 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)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  %21 = getelementptr inbounds i8, ptr %2, i64 4
  %22 = getelementptr inbounds i8, ptr %2, i64 8
  %23 = getelementptr inbounds i8, ptr %2, i64 12
  %24 = getelementptr inbounds i8, ptr %2, i64 16
  %25 = getelementptr inbounds i8, ptr %2, i64 20
  %26 = getelementptr inbounds i8, ptr %2, i64 24
  %27 = getelementptr inbounds i8, ptr %2, i64 28
  %28 = getelementptr inbounds i8, ptr %2, i64 32
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %8, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, 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)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  %29 = getelementptr inbounds i8, ptr %3, i64 4
  %30 = getelementptr inbounds i8, ptr %3, i64 8
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  %31 = getelementptr inbounds i8, ptr %4, i64 4
  %32 = getelementptr inbounds i8, ptr %4, i64 8
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %33 = call noundef ptr @_Z22btAlignedAllocInternalmi(i64 noundef 84, i32 noundef 16)
  call void @_ZN15btJacobianEntryC2ERK9btVector3RK11btMatrix3x3S5_S2_S2_(ptr noundef nonnull align 4 dereferenceable(84) %33, ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(48) %8, ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %10)
  %34 = load <2 x float>, ptr %6, align 8, !tbaa !5
  store <2 x float> %34, ptr %0, align 4, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %6, i64 8
  %36 = load float, ptr %35, align 8, !tbaa !5
  store float %36, ptr %12, align 4, !tbaa !5
  %37 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 0)
  %38 = load float, ptr %37, align 4, !tbaa !5
  store float %38, ptr %1, align 4, !tbaa !5
  %39 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 0)
  %40 = getelementptr inbounds i8, ptr %39, i64 4
  %41 = load float, ptr %40, align 4, !tbaa !5
  store float %41, ptr %13, align 4, !tbaa !5
  %42 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 0)
  %43 = getelementptr inbounds i8, ptr %42, i64 8
  %44 = load float, ptr %43, align 4, !tbaa !5
  store float %44, ptr %14, align 4, !tbaa !5
  %45 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 1)
  %46 = load float, ptr %45, align 4, !tbaa !5
  store float %46, ptr %15, align 4, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 1)
  %48 = getelementptr inbounds i8, ptr %47, i64 4
  %49 = load float, ptr %48, align 4, !tbaa !5
  store float %49, ptr %16, align 4, !tbaa !5
  %50 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 1)
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = load float, ptr %51, align 4, !tbaa !5
  store float %52, ptr %17, align 4, !tbaa !5
  %53 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 2)
  %54 = load float, ptr %53, align 4, !tbaa !5
  store float %54, ptr %18, align 4, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 2)
  %56 = getelementptr inbounds i8, ptr %55, i64 4
  %57 = load float, ptr %56, align 4, !tbaa !5
  store float %57, ptr %19, align 4, !tbaa !5
  %58 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %7, i32 noundef 2)
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load float, ptr %59, align 4, !tbaa !5
  store float %60, ptr %20, align 4, !tbaa !5
  %61 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 0)
  %62 = load float, ptr %61, align 4, !tbaa !5
  store float %62, ptr %2, align 4, !tbaa !5
  %63 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 0)
  %64 = getelementptr inbounds i8, ptr %63, i64 4
  %65 = load float, ptr %64, align 4, !tbaa !5
  store float %65, ptr %21, align 4, !tbaa !5
  %66 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 0)
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = load float, ptr %67, align 4, !tbaa !5
  store float %68, ptr %22, align 4, !tbaa !5
  %69 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 1)
  %70 = load float, ptr %69, align 4, !tbaa !5
  store float %70, ptr %23, align 4, !tbaa !5
  %71 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 1)
  %72 = getelementptr inbounds i8, ptr %71, i64 4
  %73 = load float, ptr %72, align 4, !tbaa !5
  store float %73, ptr %24, align 4, !tbaa !5
  %74 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 1)
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  %76 = load float, ptr %75, align 4, !tbaa !5
  store float %76, ptr %25, align 4, !tbaa !5
  %77 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 2)
  %78 = load float, ptr %77, align 4, !tbaa !5
  store float %78, ptr %26, align 4, !tbaa !5
  %79 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 2)
  %80 = getelementptr inbounds i8, ptr %79, i64 4
  %81 = load float, ptr %80, align 4, !tbaa !5
  store float %81, ptr %27, align 4, !tbaa !5
  %82 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 2)
  %83 = getelementptr inbounds i8, ptr %82, i64 8
  %84 = load float, ptr %83, align 4, !tbaa !5
  store float %84, ptr %28, align 4, !tbaa !5
  %85 = load <2 x float>, ptr %9, align 8, !tbaa !5
  store <2 x float> %85, ptr %3, align 4, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %9, i64 8
  %87 = load float, ptr %86, align 8, !tbaa !5
  store float %87, ptr %30, align 4, !tbaa !5
  %88 = load <2 x float>, ptr %10, align 8, !tbaa !5
  store <2 x float> %88, ptr %4, align 4, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %10, i64 8
  %90 = load float, ptr %89, align 8, !tbaa !5
  store float %90, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  ret ptr %33
}

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

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