Making function to turn 2 LEDS ON and OFF on ESP32-WROOM-32 on Assembly in Arduino IDE

Split the project into small pieces.
Why assembly code? Use the C language!
Start by making the communication work, then LED handling.
When both work, make them work in the same code and create the logic links between them making what You want.

A tip for better help: How to get the best out of this forum - Using Arduino / IDE 1.x - Arduino Forum