undefined4 DO_RACFG_CMD_E2PROM_READ16(int param_1,undefined4 param_2,int param_3)
{
uint uVar1;
ushort local_18;
ushort local_16 [3];
local_18 = 0;
local_16[0] = 0;
uVar1 = (*(ushort *)(param_3 + 0xc) & 0xff) << 8 | (uint)(*(ushort *)(param_3 + 0xc) >> 8);
(**(code **)(param_1 + 0x10))(param_1,uVar1,local_16);
local_18 = (ushort)((local_16[0] & 0xff) << 8) | local_16[0] >> 8;
if (2 < RTDebugLevel) {
printk("EEPROM Read offset = 0x%04x, value = 0x%04x\n",uVar1);
}
memcpy((void *)(param_3 + 0xe),&local_18,2) //possible issue identified - semgrep
ResponseToGUI(param_3,param_2,4,0);
return 0;
}