Both banks reported lower gain-on-sale margins in 4Q21, a reflection of stiffer competition in the primary market.