Ifyour Mac has a headphone socket then the iRig2 should work as a cheap starting point (although another forum member had a recent bad unit but was fine with its slightly bigger brother the iRig HD 2).
If your amp is not anything fancy, you could consider something like the positive grid Riff and Bias software. It should work on a Mac and it covers amp (headphone or separate speaker), modeling and interface.
Usually they are trrs output/input devices. The male jack has 4 rings instead of three: R,L, ground, mic. Similar to tablets and phone with headphone jack input. It is how the headphones with a mic for phone calls work.
3a8082e126