Arduino in new M1 Apple chip

For all people wondering if Arduino works in the new MacBook Pro M1 chip. I bought this laptop one week ago and recently I tried to use my Arduino with it.

Unfortunately, my laptop restarted 3 times when the code had been uploaded to the Arduino, it was the blinking code something easy. I used a type C hub, not sure if this is the problem, to connect the Arduino Uno.

I recorded a video of what happened.
https://drive.google.com/file/d/1ksOZO_cShmuXsQnR_6Uw09n_YqZep-w9/view?usp=sharing

If anyone know how to solve it please let me know.

Pdt: I did downloaded the Arduino idle from the official website.

Best wishes!

What happens if you try it without the LED plugged in?