Let's say that the Ottomans get taken out by Tamerlane and/or a more successful Hungarian Crusade. Mamluk Egypt obviously doesn't get conquered by them, but I have to wonder what would become of it. My general impression is that the Mamluks were on the way out by the 16th century owing to the Portuguese penetration into the Indian Ocean, but I have difficulty generally imagining the development of the Egyptian state without the Ottomans. Would it be swallowed whole by eg a more successful Ak Qoyunlu/Safavid Iran, or succumb to a Bedouin conquest?