Analysis: Gay marriage votes could sway Supreme Court