Hi azizi_nezamuddin
welcome to the Apple (user-to-user) Coimmunity.
Re: "Unable to retrieve last known location of Iphone : My iphone 12 pro max run ios 16.5 has been stolen".
Sorry to hear that your iPhone has been stolen and taken offline.
Apple support has some articles online (links below) that may be helpful.
What to do: If your iPhone, iPad, or iPod touch is lost or stolen - Apple Support
iCloud+ - Find My - Apple : says:
“You can even find devices that are offline or powered off.
If your missing device can’t connect to the internet or has little to no battery life, the Find My app can still help you track it down using the Find My network — hundreds of millions of iPhone, iPad and Mac devices around the world. Nearby devices securely send the location of your missing device to iCloud, then you can see where it is in the Find My app. It’s all anonymous and encrypted to protect everyone’s privacy.”
More info:
If Find My is offline or not working - Apple Support
If Find My iPhone or Find My iPad isn't enabled on your missing device - Apple Support
Find My - Official Apple Support
All the best :-)