Gardiner qualifies for state tournament