If from the examination before the judge or magistrate it appears that the person held is the person charged with having committed the crime alleged and that he probably committed the crime and, except in cases arising under section 13-3846, that he has fled from justice, the judge or magistrate must commit him to jail by a complaint reciting the accusation for such a time specified in the complaint, not exceeding thirty days, as will enable the arrest of the accused to be made under a warrant of the governor on a requisition of the executive authority of the state having jurisdiction of the offense, unless the accused gives bail as provided in section 13-3856 or until he is legally discharged.
A.R.S. § 13-3855