undefined4 Set_FragThreshold_Proc(int param_1,undefined4 param_2)

{
  uint uVar1;
  short sVar2;
  
  uVar1 = simple_strtol(param_2,0,10);
  sVar2 = (short)uVar1;
  if (uVar1 - 0x100 < 0x82b) {
    if ((uVar1 & 1) != 0) {
      sVar2 = sVar2 + -1   //possible issue identified - semgrep
    }
  }
  else {
    sVar2 = 0x92a   //possible issue identified - semgrep
  }
  *(short *)(param_1 + 0x16a54) = sVar2;
  if (2 < RTDebugLevel) {
    printk("Set_FragThreshold_Proc::(FragThreshold=%d)\n",*(undefined2 *)(param_1 + 0x16a54));
  }
  return 1;
}