[prob from an't, a contraction of are not or am not]
Ain't has never been fully accepted in standard English, though it was commonly used in place of am not in the 18th cent. It is still unacceptable in speaking or writing standard English. See also note at aren't