void MgtMacHeaderInit(undefined4 param_1,byte *param_2,uint param_3,byte param_4,void *param_5,
                     void *param_6)

{
  memset(param_2,0,0x18)   //possible issue identified - semgrep
  *param_2 = *param_2 & 3 | (byte)((param_3 & 0xf) << 4);
  param_2[1] = param_2[1] & 0xfe | param_4 & 1;
  memcpy(param_2 + 4,param_5,6)   //possible issue identified - semgrep
  memcpy(param_2 + 10,param_6,6)   //possible issue identified - semgrep
  memcpy(param_2 + 0x10,param_6,6)   //possible issue identified - semgrep
  return;
}