def METHOD_NAME(packet: bytes) -> Arp:
    hwtype = hex(int(binascii.hexlify(packet[0:2])))
    ptype = packet[2:4]
    hwlen = packet[4]
    plen = packet[5]
    op = packet[6:8]
    hwsrc = MacAddress(_bytes_to_mac(packet[8:14]))
    psrc = _bytes_to_ip(packet[14:18])
    hwdst = MacAddress(_bytes_to_mac(packet[18:24]))
    pdst = _bytes_to_ip(packet[24:28])
    return Arp(hwtype, ptype, hwlen, plen, op, hwsrc, psrc, hwdst, pdst)