Below is the failure report generated by the code you posted, minus your notebook's serial number.
Failure ID Tag Checksum HP Serial Number Test Date Failure Code Device Includes Error Message
64X9XR-000AG2-MFPX7F-60R003 | OK | XXXXXXXXXX | 1/2/21 | 303 | Storage | Floppy Drive, Hard Drive, Memory Drive, Optical Drive, SCSI, Tape Drive | Hard Disk 1 Quick Test Failure |
You will need to install a new hard drive, and reinstall the operating system.
Below is the link to the service manual, where you can find the hard drive removal and replacement procedure.
h10032.www1.hp.com/ctg/Manual/c04825517
You may want to consider replacing the failed drive with a better performing 2.5" Solid State Drive (SSD).
You can reinstall W10 on the new drive by using the HP cloud recovery client software to create a bootable USB recovery drive.
This package provides the Cloud Recovery Client for supported models running a supported operating system. This Client Utility enables users to download the Recovery Kit from the cloud.
https://ftp.hp.com/pub/softpaq/sp85001-85500/sp85318.exe
I have attached the instructions below for how to use this utility...