Police have recovered the gun used in the attempted murder of taxi driver Sean O’Reilly two weeks ago, sources have said.