Study of the Very High Energy Emission of M87 through its Broadband Spectral Energy Distribution