A bill that would create a new regulatory system for sports gambling in New York remains up in the air as the legislative session counts down to its final day, June 20.

Sen. John Bonacic, the Republican chairman of the chamber’s Racing And Wagering Committee, said Wednesday he expects his bill would be considered by the chamber as early as next week.

His Democratic counterpart, Assemblyman Gary Pretlow, is expected to have a bill released soon, as well.

But the measure, which is being considered after the Supreme Court struck down a federal ban on sports wagers, still remains on uncertain ground.

“With seven days left, if we get a chance, we’ll talk about it,” said Assembly Speaker Carl Heastie. “Where it goes after that, I’m not sure.”

Some lawmakers want to act on the measure this month in order to put its stamp on sports gambling regulations and allow for bets to be taken on mobile devices.

At the same time, representatives of the major sports leagues have appeared in Albany in support of a regulatory plan that includes efforts to crack down on suspicious bets. Both former Yankee managers, Joe Girardi and Joe Torre, now officials with Major League Baseball, have appeared at the state Capitol to stress that any bill bolster the “integrity” of the game.