/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_004022b4(int param_1,undefined4 param_2,char *param_3)

{
  int iVar1;
  undefined4 local_20 [3];
  
  iVar1 = br_find_port();
  if (iVar1 == 0) {
    fprintf(_stderr,"can\'t find port %s in bridge %s\n",param_2,param_1 + 8);
  }
  else {
    sscanf(param_3,"%i",local_20)   //possible issue identified - semgrep
    br_set_path_cost(iVar1,local_20[0]);
  }
  return;
}