if (state->myif == NULL) {
myif = (void *)os_zalloc(sizeof(struct netif));
state->myif = myif;
}
eagle_lwip_if_alloc: ; CODE XREF: wifi_softap_start+45j
; wifi_station_start+31j
addi a1, a1, 0xC0
s32i.n a14, a1, 0x3C
s32i.n a3, a1, 0x2C
s32i.n a13, a1, 0x38
s32i.n a12, a1, 0x34
s32i.n a0, a1, 0x30
mov.n a12, a2 ; state
l32i.n a0, a2, 0 ; state->myif
mov.n a13, a4
bnez.n a0, loc_40243085
movi.n a2, 60
l32r a0, a_pvPortMalloc
callx0 a0
mov.n a14, a2
s32i.n a2, a12, 0 ; state->myif = myif
loc_40243085:
s32i a12, a14, 28