Where to apply for an entry visa for work in Switzerland?

My place of residence My visa application should be submitted to
Jordan  Competent cantonal migration authority of the future employer of the domicile
Iraq   Competent cantonal migration authority of the future employer of the domicile