"E se me nona gavesse e rode sarìa na carioea", as they say here in the Veneto, which, literally translated, means "if my grandmother had wheels, she'd be be a wheelbarrow".
The literal translation is pretty clear, actually. If [something ridiculous/impossible] then [something else ridiculous/impossible]. In other words the comparison is a bit of a stretch.