Analysis shows government officials received millions from gambling interest groups