A $24$-sided regular polygon is centered at $(0, 0)$ and at least one of its points lies on the $x$-axis. How many non-degenerate triangles formed from three vertices of the polygon contain the origin?