Coat of arms of the Counts of Hainaut.
Arms of Bavaria  quartered with Hainaut 

Blazon: Quarterly, I and IV fusilly in bend argent and azure; II and III grand-quarterly I and IV Or a lion rampant sable, armed and langued gules; II and III Or a lion rampant gules, armed and langued azure.
Modified from
Ipankonin