FLOWERY BRANCH - Rex Ryan, who was interviewed by the Falcons for their head coaching vacancy, is set to take the Buffalo Bills head coaching job, according to an ESPN report.

There are still details to be ironed out. Ryan is expected to be hired as the new head coach of the Buffalo Bills, according to Adam Schefter of ESPN who didn’t cite a source. Ryan is represented by agent Jimmy Sexton.

Ryan, formerly of the New York Jets, reportedly interviewed with the Bills for a second time on Saturday.

He interviewed with the Falcons on Tuesday. He reportedly told the Falcons he wouldn’t go to Buffalo if they offered the job. His interview lasted five hours because it was interrupted by medical updates on owner Arthur Blank’s mother, who died the following day.

He also interviewed with the Falcons in 2008, but general manager Thomas Dimitroff favored and hired Mike Smith. With Dimitroff still in control, Ryan perhaps wanted a different situation.

With a son at Clemson and a summer home in Tennessee, Ryan reportedly favored the Falcons’ opening.

New England offensive coordinator Josh McDaniels and Seattle defensive coordinator Dan Quinn, considered top candidates for the Falcons’ opening, both advanced in the playoffs on Saturday.