/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void fwupdater_main(int param_1,char **param_2)
{
int iVar1;
undefined4 uVar2;
while (iVar1 = getopt(param_1,param_2,"hi:"), 0 < iVar1) { //possible issue identified - semgrep
uVar2 = 0;
if ((iVar1 == 0x68) || (uVar2 = 0xffffffff, iVar1 != 0x69)) {
FUN_00407918(uVar2);
}
else {
DAT_00430e70 = _optarg;
}
}
if (DAT_00430e70 == 0) {
FUN_00407918(0xffffffff);
}
uVar2 = FUN_00407330(DAT_00430e70);
fwupgrade_log(uVar2);
FUN_00407908("%s: exit with code %d\n","fwupdater",0);
/* WARNING: Subroutine does not return */
exit(0);
}