Use proxy(ex. SOCKS5) for connect tor

Hello, I can’t connect to TOR because it is blocked in my country. I always use SOCKS5 proxy to connect to TOR. usually I configured torrc to connect, but I don’t know where it is located.
How do I change the connection?

I use MacOS, windows used tor from my config torrc(%appdata%/tor)