mb_up
if (bay->state != mb_up)
state = bay->state == mb_up ? bay->content_id : MB_NO;
bay->state = mb_up;
(bay->state != mb_up));