void RTMPGetTxTscFromAsic(int param_1,char param_2,undefined1 *param_3)
{
byte bVar1;
int iVar2;
undefined1 *__s;
uint uVar3;
undefined1 local_20 [8];
undefined1 auStack_18 [4];
if (param_2 == '\0') {
__s = local_20;
memset(__s,0,8) //possible issue identified - semgrep
memset(param_3,0,6) //possible issue identified - semgrep
bVar1 = *(byte *)(param_1 + 0xb0);
if (*(char *)(param_1 + 0x5519) == '\0') {
uVar3 = (uint)(ushort)((bVar1 + 0xbfd) * 8);
do {
iVar2 = *(int *)(param_1 + 0xdc);
*__s = (char)*(undefined4 *)(iVar2 + 0x1000);
*__s = *(undefined1 *)(iVar2 + uVar3);
__s = __s + 1;
uVar3 = uVar3 + 1;
} while (__s != auStack_18);
}
else {
local_20[0] = 1;
}
if (*(int *)(param_1 + 0x51e4) == 6) {
*param_3 = local_20[0];
param_3[1] = local_20[1];
}
else {
param_3[1] = local_20[0];
*param_3 = local_20[2];
}
param_3[2] = local_20[4];
param_3[3] = local_20[5];
param_3[4] = local_20[6];
param_3[5] = local_20[7];
if (2 < RTDebugLevel) {
printk("RTMPGetTxTscFromAsic : WCID(%d) TxTsc 0x%02x-0x%02x-0x%02x-0x%02x-0x%02x-0x%02x \n",
bVar1 - 3,*param_3,param_3[1],param_3[2],param_3[3],param_3[4],param_3[5]);
}
}
else if (RTDebugLevel != 0) {
printk("RTMPGetTxTscFromAsic : invalid apidx(%d)\n");
}
return;
}