From Arabic qadi or qazi, meaning judge or magistrate.
Like Quazi?
Swipe through thousands of names like it