The cooking time depends on the thickness of the meat and on how cooked you like it. Pork is safe to eat at 145 degrees F, but some like it better at 160°F. Try to not cook it more than 160 degrees F to avoid dryness.
Find it online: https://allguiderecipes.info/air-fryer-pork-loin/