Where does the word guinea from guinea wop come from?

.... not sure of the genesis of "guinea" ... but I'm told "wop" was derived from Immigration officials stamping W.O.P. on papers of arriving Italians, meaning With-Out-Passport