/* WARNING: Removing unreachable block (ram,0x00487f8c) */

longlong FUN_00487f20(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 *puVar2;
  undefined1 auStackX_0 [16];
  
  iVar1 = 0x102c;
  syscall(0)   //possible issue identified - semgrep
  if (auStackX_0 != (undefined1 *)0x18) {
    puVar2 = (undefined4 *)FUN_0047f6f0(param_1,param_4);
    *puVar2 = 0x102c;
    iVar1 = -1;
  }
  return (longlong)iVar1;
}