Get your motor running, do whatever it takes to avoid the mind-numbing, motorcycle comedy “CHIPS” (Warner Bros.).

The humor in this twist on the 1977-1983 NBC-TV drama series quickly skids off the road and into the gutter, where it remains.

Dax Shepard, who also wrote and directed, plays rookie California Highway Patrol officer Jon Baker, while Michael Pe√±a portrays Jon’s first partner Frank “Ponch” Poncherello, who is actually an undercover FBI agent investigating a corruption case.

As Jon makes a nudge of himself and Ponch gripes about it (until they inevitably bond), the script lurches from one base topic to another.

We stroll through more than one parking lot so that Ponch can ogle women in yoga pants as they bend over to put something in the trunk. We already know that Ponch is a philanderer since, as the opening sequence has shown us, he has to write down the name of the girl in bed with him lest he forget it in the morning.

There’s also a vaguely pro-divorce message. Jon, a washed-up extreme-sports motorcyclist, initially becomes a police recruit in an effort to win back his estranged wife, Karen (Kristen Bell), whose dad was a cop. But he eventually discovers, with Ponch’s help, that Karen is so selfish and greedy, he’s better off without her.

Since juvenile potty and bedroom gags must nowadays be rounded out with nauseating visuals, late developments include the decapitation of one character and the loss of four fingers by another.

The film contains scenes of gross-out gore, strong sexual content, including brief graphic activity, masturbation and full male and female nudity, much sexual and scatological humor, frequent profanity and pervasive rough and crude language. The Catholic News Service classification is O — morally offensive. The Motion Picture Association of America rating is R — restricted. Under 17 requires accompanying parent or adult guardian.