Such motion shall be made before the trial, hearing or proceeding unless there has been no opportunity to make such motion, or the person has not been aware of the grounds of the motion. If the motion is granted, the contents of the intercepted wire or oral communication, or evidence derived therefrom, shall not be received as evidence. In addition to any other right of appeal, the state shall have the right to appeal from an order granting a motion to suppress made under this subsection, or to appeal the denial of an application for an order of approval, if the person making or authorizing the application shall certify to the judge granting such motion or denying such application that the appeal is not taken for purposes of delay. Such appeal shall be taken within thirty days after the date the order is entered and shall be diligently prosecuted.
NMS § 30-12-8