; 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 @btConvexShape_getAabbNonVirtual(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %class.btMatrix3x3, align 4
  %11 = alloca %class.btVector3, align 4
  %12 = alloca %class.btTransform, align 4
  %13 = alloca %class.btVector3, align 4
  %14 = alloca %class.btVector3, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %15, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds float, ptr %16, i64 0
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds float, ptr %18, i64 1
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds float, ptr %20, i64 2
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds float, ptr %22, i64 3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds float, ptr %24, i64 4
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds float, ptr %26, i64 5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds float, ptr %28, i64 6
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds float, ptr %30, i64 7
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds float, ptr %32, i64 8
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %23, 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)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds float, ptr %34, i64 9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds float, ptr %36, i64 10
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds float, ptr %38, i64 11
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %39)
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #5
  call void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64) %12, ptr noundef nonnull align 4 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds float, ptr %40, i64 0
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds float, ptr %42, i64 1
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds float, ptr %44, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %45)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds float, ptr %46, i64 0
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = getelementptr inbounds float, ptr %48, i64 1
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds float, ptr %50, i64 2
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %51)
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK13btConvexShape17getAabbNonVirtualERK11btTransformR9btVector3S4_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 4 dereferenceable(64) %12, ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) %14)
  %53 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %54 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %53, i32 noundef 0)
  %55 = getelementptr inbounds %class.btVector3, ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds [4 x float], ptr %55, i64 0, i64 0
  %57 = load float, ptr %56, align 4, !tbaa !9
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds float, ptr %58, i64 0
  store float %57, ptr %59, align 4, !tbaa !9
  %60 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %61 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %60, i32 noundef 0)
  %62 = getelementptr inbounds %class.btVector3, ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds [4 x float], ptr %62, i64 0, i64 1
  %64 = load float, ptr %63, align 4, !tbaa !9
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds float, ptr %65, i64 1
  store float %64, ptr %66, align 4, !tbaa !9
  %67 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %68 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %67, i32 noundef 0)
  %69 = getelementptr inbounds %class.btVector3, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds [4 x float], ptr %69, i64 0, i64 2
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds float, ptr %72, i64 2
  store float %71, ptr %73, align 4, !tbaa !9
  %74 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %75 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %74, i32 noundef 1)
  %76 = getelementptr inbounds %class.btVector3, ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds [4 x float], ptr %76, i64 0, i64 0
  %78 = load float, ptr %77, align 4, !tbaa !9
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds float, ptr %79, i64 3
  store float %78, ptr %80, align 4, !tbaa !9
  %81 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %82 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %81, i32 noundef 1)
  %83 = getelementptr inbounds %class.btVector3, ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds [4 x float], ptr %83, i64 0, i64 1
  %85 = load float, ptr %84, align 4, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds float, ptr %86, i64 4
  store float %85, ptr %87, align 4, !tbaa !9
  %88 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %89 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %88, i32 noundef 1)
  %90 = getelementptr inbounds %class.btVector3, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds [4 x float], ptr %90, i64 0, i64 2
  %92 = load float, ptr %91, align 4, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds float, ptr %93, i64 5
  store float %92, ptr %94, align 4, !tbaa !9
  %95 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %96 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %95, i32 noundef 2)
  %97 = getelementptr inbounds %class.btVector3, ptr %96, i32 0, i32 0
  %98 = getelementptr inbounds [4 x float], ptr %97, i64 0, i64 0
  %99 = load float, ptr %98, align 4, !tbaa !9
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds float, ptr %100, i64 6
  store float %99, ptr %101, align 4, !tbaa !9
  %102 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %103 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %102, i32 noundef 2)
  %104 = getelementptr inbounds %class.btVector3, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds [4 x float], ptr %104, i64 0, i64 1
  %106 = load float, ptr %105, align 4, !tbaa !9
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds float, ptr %107, i64 7
  store float %106, ptr %108, align 4, !tbaa !9
  %109 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %110 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %109, i32 noundef 2)
  %111 = getelementptr inbounds %class.btVector3, ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds [4 x float], ptr %111, i64 0, i64 2
  %113 = load float, ptr %112, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds float, ptr %114, i64 8
  store float %113, ptr %115, align 4, !tbaa !9
  %116 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %117 = getelementptr inbounds %class.btVector3, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds [4 x float], ptr %117, i64 0, i64 0
  %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 9
  store float %119, ptr %121, align 4, !tbaa !9
  %122 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %123 = getelementptr inbounds %class.btVector3, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds [4 x float], ptr %123, i64 0, i64 1
  %125 = load float, ptr %124, align 4, !tbaa !9
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds float, ptr %126, i64 10
  store float %125, ptr %127, align 4, !tbaa !9
  %128 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %12)
  %129 = getelementptr inbounds %class.btVector3, ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds [4 x float], ptr %129, i64 0, i64 2
  %131 = load float, ptr %130, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds float, ptr %132, i64 11
  store float %131, ptr %133, align 4, !tbaa !9
  %134 = getelementptr inbounds %class.btVector3, ptr %13, i32 0, i32 0
  %135 = getelementptr inbounds [4 x float], ptr %134, i64 0, i64 0
  %136 = load float, ptr %135, align 4, !tbaa !9
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = getelementptr inbounds float, ptr %137, i64 0
  store float %136, ptr %138, align 4, !tbaa !9
  %139 = getelementptr inbounds %class.btVector3, ptr %13, i32 0, i32 0
  %140 = getelementptr inbounds [4 x float], ptr %139, i64 0, i64 1
  %141 = load float, ptr %140, align 4, !tbaa !9
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds float, ptr %142, i64 1
  store float %141, ptr %143, align 4, !tbaa !9
  %144 = getelementptr inbounds %class.btVector3, ptr %13, i32 0, i32 0
  %145 = getelementptr inbounds [4 x float], ptr %144, i64 0, i64 2
  %146 = load float, ptr %145, align 4, !tbaa !9
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = getelementptr inbounds float, ptr %147, i64 2
  store float %146, ptr %148, align 4, !tbaa !9
  %149 = getelementptr inbounds %class.btVector3, ptr %14, i32 0, i32 0
  %150 = getelementptr inbounds [4 x float], ptr %149, i64 0, i64 0
  %151 = load float, ptr %150, align 4, !tbaa !9
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = getelementptr inbounds float, ptr %152, i64 0
  store float %151, ptr %153, align 4, !tbaa !9
  %154 = getelementptr inbounds %class.btVector3, ptr %14, i32 0, i32 0
  %155 = getelementptr inbounds [4 x float], ptr %154, i64 0, i64 1
  %156 = load float, ptr %155, align 4, !tbaa !9
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds float, ptr %157, i64 1
  store float %156, ptr %158, align 4, !tbaa !9
  %159 = getelementptr inbounds %class.btVector3, ptr %14, i32 0, i32 0
  %160 = getelementptr inbounds [4 x float], ptr %159, i64 0, i64 2
  %161 = load float, ptr %160, align 4, !tbaa !9
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds float, ptr %162, i64 2
  store float %161, ptr %163, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

declare void @_ZNK13btConvexShape17getAabbNonVirtualERK11btTransformR9btVector3S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4

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 = { "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 @btConvexShape_getAabbNonVirtual(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca %class.btMatrix3x3, align 4
  %6 = alloca %class.btVector3, align 4
  %7 = alloca %class.btTransform, align 4
  %8 = alloca %class.btVector3, align 8
  %9 = alloca %class.btVector3, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5
  %10 = getelementptr inbounds i8, ptr %1, i64 4
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = getelementptr inbounds i8, ptr %1, i64 12
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = getelementptr inbounds i8, ptr %1, i64 20
  %15 = getelementptr inbounds i8, ptr %1, i64 24
  %16 = getelementptr inbounds i8, ptr %1, i64 28
  %17 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZN11btMatrix3x3C2ERKfS1_S1_S1_S1_S1_S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, 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)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %18 = getelementptr inbounds i8, ptr %1, i64 36
  %19 = getelementptr inbounds i8, ptr %1, i64 40
  %20 = getelementptr inbounds i8, ptr %1, i64 44
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %6, 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 64, ptr nonnull %7) #5
  call void @_ZN11btTransformC2ERK11btMatrix3x3RK9btVector3(ptr noundef nonnull align 4 dereferenceable(64) %7, ptr noundef nonnull align 4 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(16) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %21 = getelementptr inbounds i8, ptr %2, i64 4
  %22 = getelementptr inbounds i8, ptr %2, i64 8
  call void @_ZN9btVector3C2ERKfS1_S1_(ptr noundef nonnull align 4 dereferenceable(16) %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)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  %23 = getelementptr inbounds i8, ptr %3, i64 4
  %24 = 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) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  call void @_ZNK13btConvexShape17getAabbNonVirtualERK11btTransformR9btVector3S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(64) %7, ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %9)
  %25 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %26 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %25, i32 noundef 0)
  %27 = load float, ptr %26, align 4, !tbaa !5
  store float %27, ptr %1, align 4, !tbaa !5
  %28 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %29 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %28, i32 noundef 0)
  %30 = getelementptr inbounds i8, ptr %29, i64 4
  %31 = load float, ptr %30, align 4, !tbaa !5
  store float %31, ptr %10, align 4, !tbaa !5
  %32 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %33 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %32, i32 noundef 0)
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  %35 = load float, ptr %34, align 4, !tbaa !5
  store float %35, ptr %11, align 4, !tbaa !5
  %36 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %37 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %36, i32 noundef 1)
  %38 = load float, ptr %37, align 4, !tbaa !5
  store float %38, ptr %12, align 4, !tbaa !5
  %39 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %40 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %39, i32 noundef 1)
  %41 = getelementptr inbounds i8, ptr %40, i64 4
  %42 = load float, ptr %41, align 4, !tbaa !5
  store float %42, ptr %13, align 4, !tbaa !5
  %43 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %44 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %43, i32 noundef 1)
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %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) %7)
  %48 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %47, i32 noundef 2)
  %49 = load float, ptr %48, align 4, !tbaa !5
  store float %49, ptr %15, align 4, !tbaa !5
  %50 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZN11btTransform8getBasisEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %51 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %50, i32 noundef 2)
  %52 = getelementptr inbounds i8, ptr %51, i64 4
  %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) %7)
  %55 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK11btMatrix3x36getRowEi(ptr noundef nonnull align 4 dereferenceable(48) %54, i32 noundef 2)
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  %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(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %59 = load float, ptr %58, align 4, !tbaa !5
  store float %59, ptr %18, align 4, !tbaa !5
  %60 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %61 = getelementptr inbounds i8, ptr %60, i64 4
  %62 = load float, ptr %61, align 4, !tbaa !5
  store float %62, ptr %19, align 4, !tbaa !5
  %63 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN11btTransform9getOriginEv(ptr noundef nonnull align 4 dereferenceable(64) %7)
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = load float, ptr %64, align 4, !tbaa !5
  store float %65, ptr %20, align 4, !tbaa !5
  %66 = load <2 x float>, ptr %8, align 8, !tbaa !5
  store <2 x float> %66, ptr %2, align 4, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %8, i64 8
  %68 = load float, ptr %67, align 8, !tbaa !5
  store float %68, ptr %22, align 4, !tbaa !5
  %69 = load <2 x float>, ptr %9, align 8, !tbaa !5
  store <2 x float> %69, ptr %3, align 4, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %9, i64 8
  %71 = load float, ptr %70, align 8, !tbaa !5
  store float %71, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  ret void
}

declare void @_ZNK13btConvexShape17getAabbNonVirtualERK11btTransformR9btVector3S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

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 = { "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