Accretion with two-phase gas supply and its application in black hole X-ray binaries — arXiv2