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

int ipneigh_list_or_flush(char **argv,int flush)

{
  long lVar1;
  byte *key;
  uint uVar2;
  int iVar3;
  int iVar4;
  long lVar5;
  byte *pbVar6;
  char *key_00;
  byte *pbVar7;
  char *name;
  long in_FS_OFFSET;
  bool bVar8;
  bool bVar9;
  byte bVar10;
  ndmsg ndm;
  rtnl_handle rth;
  char flushb [3584];
  
  bVar10 = 0;
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  ndm.ndm_family = '\0';
  ndm.ndm_pad1 = '\0';
  ndm.ndm_pad2 = 0;
  ndm.ndm_ifindex = 0;
  ndm.ndm_state = 0;
  ndm.ndm_flags = '\0';
  ndm.ndm_type = '\0';
  _bb_common_bufsiz1 = 0;
  DAT_001c6608 = 0;
  DAT_001c6610 = 0;
  DAT_001c6618 = 0;
  _DAT_001c6620 = (char *)0x0;
  _DAT_001c6628 = 0;
  _DAT_001c6630 = (rtnl_handle *)0x0;
  DAT_001c6604 = 0;
  _DAT_001c6600 = 0xffffffff;
  if ((flush != 0) && (*argv == (char *)0x0)) {
                    /* WARNING: Subroutine does not return */
    bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");
  }
  _bb_common_bufsiz1 = (ulong)(uint)(int)preferred_family;
  DAT_001c6600 = (-(uint)(flush == 0) & 0x180) - 0xc1;
  key_00 = *argv;
  if (key_00 == (char *)0x0) {
    xrtnl_open(&rth);
    ll_init_map(&rth);
  }
  else {
    bVar9 = false;
    name = (char *)0x0;
    do {
      iVar4 = index_in_substrings("to",key_00);
      if (iVar4 == 1) {
        argv = next_arg(argv);
        name = *argv;
      }
      else if (iVar4 == 2) {
        argv = next_arg(argv);
        bVar8 = false;
        bVar9 = !bVar9;
        if (bVar9) {
          DAT_001c6600 = 0;
        }
        key = (byte *)*argv;
        lVar5 = 4;
        pbVar6 = key;
        pbVar7 = (byte *)0x1b7a25;
        do {
          if (lVar5 == 0) break;
          lVar5 = lVar5 + -1;
          bVar8 = *pbVar6 < *pbVar7;
          bVar9 = *pbVar6 == *pbVar7;
          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;
          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;
        } while (bVar9);
        if ((!bVar8 && !bVar9) == bVar8) {
          uVar2 = -(uint)(flush == 0) | 0xffffffbf;
        }
        else {
          iVar4 = index_in_substrings("permanent",(char *)key);
          if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");
          }
          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];
          if ((&nuds_10897)[iVar4] == 0) {
            uVar2 = 0x100;
          }
        }
        DAT_001c6600 = DAT_001c6600 | uVar2;
        bVar9 = true;
      }
      else {
        if (iVar4 == 0) {
          argv = next_arg(argv);
        }
        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);
        if (bb_common_bufsiz1 == 0) {
          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);
        }
      }
      key_00 = argv[1];
      argv = argv + 1;
    } while (key_00 != (char *)0x0);
    xrtnl_open(&rth);
    ll_init_map(&rth);
    if (name != (char *)0x0) {
      iVar4 = xll_name_to_index(name);
      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);
      if (iVar4 == 0) {
                    /* WARNING: Subroutine does not return */
        bb_error_msg_and_die("can\'t find device \'%s\'",name);
      }
    }
  }
  if (flush == 0) {
    ndm.ndm_family = (__u8)_bb_common_bufsiz1;
    iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);
    if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
      bb_perror_msg_and_die("can\'t send dump request");
    }
    iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);
    if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
      bb_error_msg_and_die("dump terminated");
    }
  }
  else {
    _DAT_001c6620 = flushb;
    _DAT_001c6628 = 0xe0000000000;
    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;
    iVar4 = 0;
    _DAT_001c6630 = &rth;
    while( true ) {
      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);
      if (iVar3 < 0) {
                    /* WARNING: Subroutine does not return */
        bb_perror_msg_and_die("can\'t send dump request");
      }
      DAT_001c6618 = DAT_001c6618 & 0xffffffff;
      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);
      if (iVar3 < 0) {
                    /* WARNING: Subroutine does not return */
        bb_perror_msg_and_die("flush terminated");
      }
      if (DAT_001c6618._4_4_ == 0) break;
      iVar3 = flush_update();
      if (iVar3 < 0) {
                    /* WARNING: Subroutine does not return */
        xfunc_die();
      }
      iVar4 = iVar4 + 1;
      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);
      if (iVar4 == 10) {
                    /* WARNING: Subroutine does not return */
        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);
      }
    }
    if (iVar4 == 0) {
      puts("Nothing to flush");
    }
    else {
      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);
    }
  }
  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return 0;
}



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

undefined8 FUN_00138d74(long *param_1,int param_2)

{
  long *plVar1;
  byte *pbVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  long lVar6;
  byte *pbVar7;
  byte *pbVar8;
  long lVar9;
  long in_FS_OFFSET;
  bool bVar10;
  bool bVar11;
  byte bVar12;
  undefined8 local_e84;
  undefined4 local_e7c;
  undefined1 local_e78 [48];
  undefined1 local_e48 [3592];
  long local_40;
  
  bVar12 = 0;
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  local_e84 = 0;
  local_e7c = 0;
  _DAT_001c65f8 = 0;
  DAT_001c6608 = 0;
  DAT_001c6610 = 0;
  _DAT_001c6618 = 0;
  _DAT_001c6620 = (undefined1 *)0x0;
  _DAT_001c6628 = 0;
  DAT_001c6630 = (undefined1 *)0x0;
  _DAT_001c6604 = 0;
  _DAT_001c6600 = 0xffffffff;
  if ((param_2 != 0) && (*param_1 == 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");
  }
  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;
  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;
  if (*param_1 == 0) {
    FUN_0013cca6(local_e78);
    FUN_0013da55(local_e78);
  }
  else {
    bVar11 = false;
    lVar9 = 0;
    do {
      iVar5 = FUN_0010d49f(&DAT_001baaad);
      if (iVar5 == 1) {
        param_1 = (long *)FUN_0013e77d(param_1);
        lVar9 = *param_1;
      }
      else if (iVar5 == 2) {
        param_1 = (long *)FUN_0013e77d(param_1);
        bVar10 = false;
        bVar11 = !bVar11;
        if (bVar11) {
          _DAT_001c6600 = 0;
        }
        pbVar2 = (byte *)*param_1;
        lVar6 = 4;
        pbVar7 = pbVar2;
        pbVar8 = (byte *)0x1b7a25;
        do {
          if (lVar6 == 0) break;
          lVar6 = lVar6 + -1;
          bVar10 = *pbVar7 < *pbVar8;
          bVar11 = *pbVar7 == *pbVar8;
          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;
          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;
        } while (bVar11);
        if ((!bVar10 && !bVar11) == bVar10) {
          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;
        }
        else {
          iVar5 = FUN_0010d49f("permanent",pbVar2);
          if (iVar5 < 0) {
                    /* WARNING: Subroutine does not return */
            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");
          }
          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];
          if ((&DAT_001baa60)[iVar5] == 0) {
            uVar3 = 0x100;
          }
        }
        _DAT_001c6600 = _DAT_001c6600 | uVar3;
        bVar11 = true;
      }
      else {
        if (iVar5 == 0) {
          param_1 = (long *)FUN_0013e77d(param_1);
        }
        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);
        if (DAT_001c65f8 == 0) {
          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);
        }
      }
      plVar1 = param_1 + 1;
      param_1 = param_1 + 1;
    } while (*plVar1 != 0);
    FUN_0013cca6(local_e78);
    FUN_0013da55(local_e78);
    if (lVar9 != 0) {
      iVar5 = FUN_0013da32(lVar9);
      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);
      if (iVar5 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010dc50("can\'t find device \'%s\'",lVar9);
      }
    }
  }
  if (param_2 == 0) {
    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);
    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);
    if (iVar5 < 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0010d88d("can\'t send dump request");
    }
    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);
    if (iVar5 < 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0010dc50("dump terminated");
    }
  }
  else {
    _DAT_001c6620 = local_e48;
    _DAT_001c6628 = 0xe0000000000;
    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;
    iVar5 = 0;
    DAT_001c6630 = local_e78;
    while( true ) {
      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);
      if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010d88d("can\'t send dump request");
      }
      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;
      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);
      if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010d88d("flush terminated");
      }
      if (DAT_001c661c == 0) break;
      iVar4 = FUN_00138d27();
      if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010de6a();
      }
      iVar5 = iVar5 + 1;
      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);
      if (iVar5 == 10) {
                    /* WARNING: Subroutine does not return */
        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);
      }
    }
    if (iVar5 == 0) {
      puts("Nothing to flush");
    }
    else {
      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);
    }
  }
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return 0;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0xe68
MOV RBP,RDI
MOV R12D,ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0xe58],RAX
XOR EAX,EAX
MOV qword ptr [RSP + 0x14],0x0
MOV dword ptr [RSP + 0x1c],0x0
MOV qword ptr [0x001c65f8],0x0
MOV qword ptr [0x001c6600],0x0
MOV qword ptr [0x001c6608],0x0
MOV qword ptr [0x001c6610],0x0
MOV qword ptr [0x001c6618],0x0
MOV qword ptr [0x001c6620],0x0
MOV qword ptr [0x001c6628],0x0
MOV qword ptr [0x001c6630],0x0
MOV dword ptr [0x001c6600],0xffffffff
TEST ESI,ESI
JZ 0x001391a5
CMP qword ptr [RDI],0x0
JNZ 0x001390d8
LEA RSI,[0x1ba943]
LEA RDI,[0x1b677d]
CALL 0x0010dc50
CMP EAX,0x2
JNZ 0x00138ed1
MOV RDI,RBP
CALL 0x0013e77d
MOV RBX,RAX
CMP dword ptr [RSP + 0xc],0x0
JNZ 0x00138e5b
MOV dword ptr [0x001c6600],0x0
MOV RBP,qword ptr [RBX]
MOV ECX,0x4
MOV RSI,RBP
MOV RDI,R15
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x00138e90
CMP R12D,0x1
SBB EAX,EAX
OR EAX,0xffffffbf
OR dword ptr [0x001c6600],EAX
MOV dword ptr [RSP + 0xc],0x1
JMP 0x00139155
MOV RSI,RBP
LEA RDI,[0x1baa69]
CALL 0x0010d49f
TEST EAX,EAX
JNS 0x00138ebe
LEA RDX,[0x1ba954]
MOV RSI,RBP
LEA RDI,[0x1b675f]
MOV EAX,0x0
CALL 0x0010dc50
CDQE
MOVZX EAX,byte ptr [R14 + RAX*0x1]
TEST EAX,EAX
MOV ECX,0x100
CMOVZ EAX,ECX
JMP 0x00138e7d
MOV RBX,RBP
TEST EAX,EAX
JNZ 0x00138ee3
MOV RDI,RBP
CALL 0x0013e77d
MOV RBX,RAX
MOV EDX,dword ptr [0x001c65f8]
MOV RSI,qword ptr [RBX]
LEA RDI,[0x1c6608]
CALL 0x0013e521
CMP dword ptr [0x001c65f8],0x0
JNZ 0x00139155
MOVZX EAX,byte ptr [0x001c6608]
MOV dword ptr [0x001c65f8],EAX
JMP 0x00139155
MOV dword ptr [0x001c661c],0x0
MOV EDX,0x0
LEA RSI,[0x1391ce]
MOV RDI,RBP
CALL 0x0013cec5
TEST EAX,EAX
JNS 0x00138f4a
LEA RDI,[0x1ba98d]
MOV EAX,0x0
CALL 0x0010d88d
CMP dword ptr [0x001c661c],0x0
JNZ 0x00138f9e
TEST EBX,EBX
JNZ 0x00138f84
LEA RDI,[0x1ba99e]
CALL 0x0010b260
MOV EAX,0x0
MOV RCX,qword ptr [RSP + 0xe58]
XOR RCX,qword ptr FS:[0x28]
JZ 0x001391bc
CALL 0x0010b500
MOV EDX,EBX
LEA RSI,[0x1ab3a8]
MOV EDI,0x1
MOV EAX,0x0
CALL 0x0010bf80
JMP 0x00138f63
CALL 0x00138d27
TEST EAX,EAX
JNS 0x00138fac
CALL 0x0010de6a
ADD EBX,0x1
MOV ECX,dword ptr [0x001c661c]
MOV EDX,EBX
LEA RSI,[0x1ab3d8]
MOV EDI,0x1
MOV EAX,0x0
CALL 0x0010bf80
CMP EBX,0xa
JNZ 0x001390ac
MOV ESI,0xa
LEA RDI,[0x1ab400]
MOV EAX,0x0
CALL 0x0010dc50
MOV EAX,dword ptr [0x001c65f8]
MOV byte ptr [RSP + 0x14],AL
LEA RDX,[RSP + 0x14]
LEA RDI,[RSP + 0x20]
MOV ECX,0xc
MOV ESI,0x1e
CALL 0x0013cde5
TEST EAX,EAX
JNS 0x00139024
LEA RDI,[0x1ba975]
MOV EAX,0x0
CALL 0x0010d88d
LEA RDI,[RSP + 0x20]
MOV EDX,0x0
LEA RSI,[0x1391ce]
CALL 0x0013cec5
TEST EAX,EAX
JNS 0x00138f63
LEA RDI,[0x1ba9af]
MOV EAX,0x0
CALL 0x0010dc50
LEA RBX,[RSP + 0x20]
MOV RDI,RBX
CALL 0x0013cca6
MOV RDI,RBX
CALL 0x0013da55
TEST R12D,R12D
JZ 0x00138fec
LEA RAX,[RSP + 0x50]
MOV qword ptr [0x001c6620],RAX
MOV dword ptr [0x001c6628],0x0
MOV dword ptr [0x001c662c],0xe00
AND dword ptr [0x001c6600],0xffffffdf
LEA RAX,[RSP + 0x20]
MOV qword ptr [0x001c6630],RAX
MOV EBX,0x0
MOV RBP,RAX
MOV EDX,0x1e
MOV ESI,dword ptr [0x001c65f8]
MOV RDI,RBP
CALL 0x0013cd7d
TEST EAX,EAX
JNS 0x00138f17
LEA RDI,[0x1ba975]
MOV EAX,0x0
CALL 0x0010d88d
MOV EAX,0xffffff3f
CMP dword ptr [0x001c65f8],0x0
JNZ 0x00139103
MOVSX EAX,byte ptr [0x001c65a6]
MOV dword ptr [0x001c65f8],EAX
CMP R12D,0x1
SBB EAX,EAX
AND EAX,0x180
SUB EAX,0xc1
MOV dword ptr [0x001c6600],EAX
MOV RSI,qword ptr [RBP]
TEST RSI,RSI
JZ 0x00139053
MOV dword ptr [RSP + 0xc],0x0
MOV R13D,0x0
LEA R15,[0x1b7a25]
LEA R14,[0x1baa60]
LEA RDI,[0x1baaad]
CALL 0x0010d49f
CMP EAX,0x1
JNZ 0x00138e36
MOV RDI,RBP
CALL 0x0013e77d
MOV RBX,RAX
MOV R13,qword ptr [RAX]
LEA RBP,[RBX + 0x8]
MOV RSI,qword ptr [RBX + 0x8]
TEST RSI,RSI
JNZ 0x00139132
LEA RBX,[RSP + 0x20]
MOV RDI,RBX
CALL 0x0013cca6
MOV RDI,RBX
CALL 0x0013da55
TEST R13,R13
JZ 0x00139068
MOV RDI,R13
CALL 0x0013da32
MOV dword ptr [0x001c65fc],EAX
TEST EAX,EAX
JNZ 0x00139068
MOV RSI,R13
LEA RDI,[0x1ba95e]
CALL 0x0010dc50
MOV EAX,0xbf
CMP dword ptr [0x001c65f8],0x0
JNZ 0x00139103
JMP 0x001390e6
ADD RSP,0xe68
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 FUN_00138d74(long *param_1,int param_2)\n\n{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined8 FUN_00138d74(long *param_1,int param_2)\n\n{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00138d74(long *param_1,int param_2)" identifier (parameter_list "(long *param_1,int param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return 0;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "undefined8 local_e84;" type_identifier identifier ;) (declaration "undefined4 local_e7c;" type_identifier identifier ;) (declaration "undefined1 local_e78 [48];" type_identifier (array_declarator "local_e78 [48]" identifier [ number_literal ]) ;) (declaration "undefined1 local_e48 [3592];" type_identifier (array_declarator "local_e48 [3592]" identifier [ number_literal ]) ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "local_e84 = 0;" (assignment_expression "local_e84 = 0" identifier = number_literal) ;) (expression_statement "local_e7c = 0;" (assignment_expression "local_e7c = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c65f8 = 0;" (assignment_expression "_DAT_001c65f8 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6608 = 0;" (assignment_expression "DAT_001c6608 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6610 = 0;" (assignment_expression "DAT_001c6610 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6618 = 0;" (assignment_expression "_DAT_001c6618 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6620 = (undefined1 *)0x0;" (assignment_expression "_DAT_001c6620 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_DAT_001c6628 = 0;" (assignment_expression "_DAT_001c6628 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6630 = (undefined1 *)0x0;" (assignment_expression "DAT_001c6630 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_DAT_001c6604 = 0;" (assignment_expression "_DAT_001c6604 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6600 = 0xffffffff;" (assignment_expression "_DAT_001c6600 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((param_2 != 0) && (*param_1 == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }" if (parenthesized_expression "((param_2 != 0) && (*param_1 == 0))" ( (binary_expression "(param_2 != 0) && (*param_1 == 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }" { comment (expression_statement "FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");" (call_expression "FUN_0010dc50("%s requires an argument","\"ip neigh flush\"")" identifier (argument_list "("%s requires an argument","\"ip neigh flush\"")" ( (string_literal ""%s requires an argument"" " string_content ") , (string_literal ""\"ip neigh flush\""" " escape_sequence string_content escape_sequence ") ))) ;) })) (expression_statement "_DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;" (assignment_expression "_DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6" identifier = (cast_expression "(ulong)(uint)(int)DAT_001c65a6" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)(int)DAT_001c65a6" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(int)DAT_001c65a6" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "_DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;" (assignment_expression "_DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1" identifier = (binary_expression "(-(uint)(param_2 == 0) & 0x180) - 0xc1" (parenthesized_expression "(-(uint)(param_2 == 0) & 0x180)" ( (binary_expression "-(uint)(param_2 == 0) & 0x180" (unary_expression "-(uint)(param_2 == 0)" - (call_expression "(uint)(param_2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )))) & number_literal) )) - number_literal)) ;) (if_statement "if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }" { (expression_statement "FUN_0013cca6(local_e78);" (call_expression "FUN_0013cca6(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) (expression_statement "FUN_0013da55(local_e78);" (call_expression "FUN_0013da55(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) }) (else_clause "else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" else (compound_statement "{\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" { (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);" do (compound_statement "{\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    }" { (expression_statement "iVar5 = FUN_0010d49f(&DAT_001baaad);" (assignment_expression "iVar5 = FUN_0010d49f(&DAT_001baaad)" identifier = (call_expression "FUN_0010d49f(&DAT_001baaad)" identifier (argument_list "(&DAT_001baaad)" ( (pointer_expression "&DAT_001baaad" & identifier) )))) ;) (if_statement "if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }" { (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" identifier = (cast_expression "(long *)FUN_0013e77d(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0013e77d(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "lVar9 = *param_1;" (assignment_expression "lVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" else (if_statement "if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }" { (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" identifier = (cast_expression "(long *)FUN_0013e77d(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0013e77d(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) (expression_statement "bVar11 = !bVar11;" (assignment_expression "bVar11 = !bVar11" identifier = (unary_expression "!bVar11" ! identifier)) ;) (if_statement "if (bVar11) {\n          _DAT_001c6600 = 0;\n        }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n          _DAT_001c6600 = 0;\n        }" { (expression_statement "_DAT_001c6600 = 0;" (assignment_expression "_DAT_001c6600 = 0" identifier = number_literal) ;) })) (expression_statement "pbVar2 = (byte *)*param_1;" (assignment_expression "pbVar2 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "lVar6 = 4;" (assignment_expression "lVar6 = 4" identifier = number_literal) ;) (expression_statement "pbVar7 = pbVar2;" (assignment_expression "pbVar7 = pbVar2" identifier = identifier) ;) (expression_statement "pbVar8 = (byte *)0x1b7a25;" (assignment_expression "pbVar8 = (byte *)0x1b7a25" identifier = (cast_expression "(byte *)0x1b7a25" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);" do (compound_statement "{\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        }" { (if_statement "if (lVar6 == 0) break;" if (parenthesized_expression "(lVar6 == 0)" ( (binary_expression "lVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar10 = *pbVar7 < *pbVar8;" (assignment_expression "bVar10 = *pbVar7 < *pbVar8" identifier = (binary_expression "*pbVar7 < *pbVar8" (pointer_expression "*pbVar7" * identifier) < (pointer_expression "*pbVar8" * identifier))) ;) (expression_statement "bVar11 = *pbVar7 == *pbVar8;" (assignment_expression "bVar11 = *pbVar7 == *pbVar8" identifier = (binary_expression "*pbVar7 == *pbVar8" (pointer_expression "*pbVar7" * identifier) == (pointer_expression "*pbVar8" * identifier))) ;) (expression_statement "pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1" identifier = (binary_expression "pbVar7 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar7 + (ulong)bVar12 * -2" identifier + (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1" identifier = (binary_expression "pbVar8 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar8 + (ulong)bVar12 * -2" identifier + (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar11)" ( identifier )) ;) (if_statement "if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" if (parenthesized_expression "((!bVar10 && !bVar11) == bVar10)" ( (binary_expression "(!bVar10 && !bVar11) == bVar10" (parenthesized_expression "(!bVar10 && !bVar11)" ( (binary_expression "!bVar10 && !bVar11" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar11" ! identifier)) )) == identifier) )) (compound_statement "{\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }" { (expression_statement "uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;" (assignment_expression "uVar3 = -(uint)(param_2 == 0) | 0xffffffbf" identifier = (binary_expression "-(uint)(param_2 == 0) | 0xffffffbf" (unary_expression "-(uint)(param_2 == 0)" - (call_expression "(uint)(param_2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )))) | number_literal)) ;) }) (else_clause "else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" else (compound_statement "{\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" { (expression_statement "iVar5 = FUN_0010d49f("permanent",pbVar2);" (assignment_expression "iVar5 = FUN_0010d49f("permanent",pbVar2)" identifier = (call_expression "FUN_0010d49f("permanent",pbVar2)" identifier (argument_list "("permanent",pbVar2)" ( (string_literal ""permanent"" " string_content ") , identifier )))) ;) (if_statement "if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }" { comment (expression_statement "FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");" (call_expression "FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state")" identifier (argument_list "("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state")" ( (string_literal ""invalid argument \'%s\' to \'%s\'"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (string_literal ""nud state"" " string_content ") ))) ;) })) (expression_statement "uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];" (assignment_expression "uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5]" identifier = (subscript_expression "(uint)(byte)(&DAT_001baa60)[iVar5]" (call_expression "(uint)(byte)(&DAT_001baa60)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_001baa60)" ( (pointer_expression "&DAT_001baa60" & identifier) ))) [ identifier ])) ;) (if_statement "if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }" if (parenthesized_expression "((&DAT_001baa60)[iVar5] == 0)" ( (binary_expression "(&DAT_001baa60)[iVar5] == 0" (subscript_expression "(&DAT_001baa60)[iVar5]" (parenthesized_expression "(&DAT_001baa60)" ( (pointer_expression "&DAT_001baa60" & identifier) )) [ identifier ]) == number_literal) )) (compound_statement "{\n            uVar3 = 0x100;\n          }" { (expression_statement "uVar3 = 0x100;" (assignment_expression "uVar3 = 0x100" identifier = number_literal) ;) })) }))) (expression_statement "_DAT_001c6600 = _DAT_001c6600 | uVar3;" (assignment_expression "_DAT_001c6600 = _DAT_001c6600 | uVar3" identifier = (binary_expression "_DAT_001c6600 | uVar3" identifier | identifier)) ;) (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) }) (else_clause "else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" else (compound_statement "{\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" { (if_statement "if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }" { (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" identifier = (cast_expression "(long *)FUN_0013e77d(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0013e77d(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) })) (expression_statement "FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);" (call_expression "FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff)" identifier (argument_list "(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff)" ( (pointer_expression "&DAT_001c6608" & identifier) , (pointer_expression "*param_1" * identifier) , (binary_expression "_DAT_001c65f8 & 0xffffffff" identifier & number_literal) ))) ;) (if_statement "if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" if (parenthesized_expression "(DAT_001c65f8 == 0)" ( (binary_expression "DAT_001c65f8 == 0" identifier == number_literal) )) (compound_statement "{\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" { (expression_statement "_DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);" (assignment_expression "_DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" identifier = (call_expression "CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" identifier (argument_list "(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" ( identifier , (cast_expression "(uint)(byte)DAT_001c6608" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)DAT_001c6608" ( (type_descriptor "byte" type_identifier) ) identifier)) )))) ;) })) }))))) (expression_statement "plVar1 = param_1 + 1;" (assignment_expression "plVar1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) ;) (expression_statement "FUN_0013cca6(local_e78);" (call_expression "FUN_0013cca6(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) (expression_statement "FUN_0013da55(local_e78);" (call_expression "FUN_0013da55(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) (if_statement "if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }" { (expression_statement "iVar5 = FUN_0013da32(lVar9);" (assignment_expression "iVar5 = FUN_0013da32(lVar9)" identifier = (call_expression "FUN_0013da32(lVar9)" identifier (argument_list "(lVar9)" ( identifier )))) ;) (expression_statement "_DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);" (assignment_expression "_DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8)" identifier = (call_expression "CONCAT44(iVar5,DAT_001c65f8)" identifier (argument_list "(iVar5,DAT_001c65f8)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }" { comment (expression_statement "FUN_0010dc50("can\'t find device \'%s\'",lVar9);" (call_expression "FUN_0010dc50("can\'t find device \'%s\'",lVar9)" identifier (argument_list "("can\'t find device \'%s\'",lVar9)" ( (string_literal ""can\'t find device \'%s\'"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) })) })) }))) (if_statement "if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }\n  }" { (expression_statement "local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);" (assignment_expression "local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8)" identifier = (call_expression "CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8)" identifier (argument_list "(local_e84._1_7_,(char)_DAT_001c65f8)" ( (field_expression "local_e84._1_7_" identifier . field_identifier) , (cast_expression "(char)_DAT_001c65f8" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);" (assignment_expression "iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc)" identifier = (call_expression "FUN_0013cde5(local_e78,0x1e,&local_e84,0xc)" identifier (argument_list "(local_e78,0x1e,&local_e84,0xc)" ( identifier , number_literal , (pointer_expression "&local_e84" & identifier) , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0010d88d("can\'t send dump request");\n    }" { comment (expression_statement "FUN_0010d88d("can\'t send dump request");" (call_expression "FUN_0010d88d("can\'t send dump request")" identifier (argument_list "("can\'t send dump request")" ( (string_literal ""can\'t send dump request"" " string_content escape_sequence string_content ") ))) ;) })) (expression_statement "iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);" (assignment_expression "iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier = (call_expression "FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier (argument_list "(local_e78,&LAB_001391ce,0)" ( identifier , (pointer_expression "&LAB_001391ce" & identifier) , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0010dc50("dump terminated");\n    }" { comment (expression_statement "FUN_0010dc50("dump terminated");" (call_expression "FUN_0010dc50("dump terminated")" identifier (argument_list "("dump terminated")" ( (string_literal ""dump terminated"" " string_content ") ))) ;) })) }) (else_clause "else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" else (compound_statement "{\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" { (expression_statement "_DAT_001c6620 = local_e48;" (assignment_expression "_DAT_001c6620 = local_e48" identifier = identifier) ;) (expression_statement "_DAT_001c6628 = 0xe0000000000;" (assignment_expression "_DAT_001c6628 = 0xe0000000000" identifier = number_literal) ;) (expression_statement "_DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;" (assignment_expression "_DAT_001c6600 = _DAT_001c6600 & 0xffffffdf" identifier = (binary_expression "_DAT_001c6600 & 0xffffffdf" identifier & number_literal)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6630 = local_e78;" (assignment_expression "DAT_001c6630 = local_e78" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" { (expression_statement "iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);" (assignment_expression "iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" identifier = (call_expression "FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" identifier (argument_list "(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" ( identifier , (binary_expression "_DAT_001c65f8 & 0xffffffff" identifier & number_literal) , number_literal )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("can\'t send dump request");\n      }" { comment (expression_statement "FUN_0010d88d("can\'t send dump request");" (call_expression "FUN_0010d88d("can\'t send dump request")" identifier (argument_list "("can\'t send dump request")" ( (string_literal ""can\'t send dump request"" " string_content escape_sequence string_content ") ))) ;) })) (expression_statement "_DAT_001c6618 = _DAT_001c6618 & 0xffffffff;" (assignment_expression "_DAT_001c6618 = _DAT_001c6618 & 0xffffffff" identifier = (binary_expression "_DAT_001c6618 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);" (assignment_expression "iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier = (call_expression "FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier (argument_list "(local_e78,&LAB_001391ce,0)" ( identifier , (pointer_expression "&LAB_001391ce" & identifier) , number_literal )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0010d88d("flush terminated");\n      }" { comment (expression_statement "FUN_0010d88d("flush terminated");" (call_expression "FUN_0010d88d("flush terminated")" identifier (argument_list "("flush terminated")" ( (string_literal ""flush terminated"" " string_content ") ))) ;) })) (if_statement "if (DAT_001c661c == 0) break;" if (parenthesized_expression "(DAT_001c661c == 0)" ( (binary_expression "DAT_001c661c == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = FUN_00138d27();" (assignment_expression "iVar4 = FUN_00138d27()" identifier = (call_expression "FUN_00138d27()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0010de6a();\n      }" { comment (expression_statement "FUN_0010de6a();" (call_expression "FUN_0010de6a()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);" (call_expression "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c)" identifier (argument_list "(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c)" ( number_literal , (string_literal ""\n*** Round %d, deleting %d entries ***\n"" " escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) (if_statement "if (iVar5 == 10) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }" if (parenthesized_expression "(iVar5 == 10)" ( (binary_expression "iVar5 == 10" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }" { comment (expression_statement "FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);" (call_expression "FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10)" identifier (argument_list "("*** Flush not complete bailing out after %d rounds",10)" ( (string_literal ""*** Flush not complete bailing out after %d rounds"" " string_content ") , number_literal ))) ;) })) })) (if_statement "if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      puts("Nothing to flush");\n    }" { (expression_statement "puts("Nothing to flush");" (call_expression "puts("Nothing to flush")" identifier (argument_list "("Nothing to flush")" ( (string_literal ""Nothing to flush"" " string_content ") ))) ;) }) (else_clause "else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" else (compound_statement "{\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" { (expression_statement "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);" (call_expression "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5)" identifier (argument_list "(1,"*** Flush is complete after %d round(s) ***\n",iVar5)" ( number_literal , (string_literal ""*** Flush is complete after %d round(s) ***\n"" " string_content escape_sequence ") , identifier ))) ;) }))) }))) (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint ipneigh_list_or_flush(char **argv,int flush)\n\n{\n  long lVar1;\n  byte *key;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  long lVar5;\n  byte *pbVar6;\n  char *key_00;\n  byte *pbVar7;\n  char *name;\n  long in_FS_OFFSET;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  ndmsg ndm;\n  rtnl_handle rth;\n  char flushb [3584];\n  \n  bVar10 = 0;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  ndm.ndm_family = '\0';\n  ndm.ndm_pad1 = '\0';\n  ndm.ndm_pad2 = 0;\n  ndm.ndm_ifindex = 0;\n  ndm.ndm_state = 0;\n  ndm.ndm_flags = '\0';\n  ndm.ndm_type = '\0';\n  _bb_common_bufsiz1 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  DAT_001c6618 = 0;\n  _DAT_001c6620 = (char *)0x0;\n  _DAT_001c6628 = 0;\n  _DAT_001c6630 = (rtnl_handle *)0x0;\n  DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((flush != 0) && (*argv == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");\n  }\n  _bb_common_bufsiz1 = (ulong)(uint)(int)preferred_family;\n  DAT_001c6600 = (-(uint)(flush == 0) & 0x180) - 0xc1;\n  key_00 = *argv;\n  if (key_00 == (char *)0x0) {\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n  }\n  else {\n    bVar9 = false;\n    name = (char *)0x0;\n    do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n    if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }\n  }\n  if (flush == 0) {\n    ndm.ndm_family = (__u8)_bb_common_bufsiz1;\n    iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }\n    iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = flushb;\n    _DAT_001c6628 = 0xe0000000000;\n    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;\n    iVar4 = 0;\n    _DAT_001c6630 = &rth;\n    while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return 0;\n}\n\n" comment (function_definition "int ipneigh_list_or_flush(char **argv,int flush)\n\n{\n  long lVar1;\n  byte *key;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  long lVar5;\n  byte *pbVar6;\n  char *key_00;\n  byte *pbVar7;\n  char *name;\n  long in_FS_OFFSET;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  ndmsg ndm;\n  rtnl_handle rth;\n  char flushb [3584];\n  \n  bVar10 = 0;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  ndm.ndm_family = '\0';\n  ndm.ndm_pad1 = '\0';\n  ndm.ndm_pad2 = 0;\n  ndm.ndm_ifindex = 0;\n  ndm.ndm_state = 0;\n  ndm.ndm_flags = '\0';\n  ndm.ndm_type = '\0';\n  _bb_common_bufsiz1 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  DAT_001c6618 = 0;\n  _DAT_001c6620 = (char *)0x0;\n  _DAT_001c6628 = 0;\n  _DAT_001c6630 = (rtnl_handle *)0x0;\n  DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((flush != 0) && (*argv == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");\n  }\n  _bb_common_bufsiz1 = (ulong)(uint)(int)preferred_family;\n  DAT_001c6600 = (-(uint)(flush == 0) & 0x180) - 0xc1;\n  key_00 = *argv;\n  if (key_00 == (char *)0x0) {\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n  }\n  else {\n    bVar9 = false;\n    name = (char *)0x0;\n    do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n    if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }\n  }\n  if (flush == 0) {\n    ndm.ndm_family = (__u8)_bb_common_bufsiz1;\n    iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }\n    iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = flushb;\n    _DAT_001c6628 = 0xe0000000000;\n    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;\n    iVar4 = 0;\n    _DAT_001c6630 = &rth;\n    while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return 0;\n}" primitive_type (function_declarator "ipneigh_list_or_flush(char **argv,int flush)" identifier (parameter_list "(char **argv,int flush)" ( (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "int flush" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  byte *key;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  long lVar5;\n  byte *pbVar6;\n  char *key_00;\n  byte *pbVar7;\n  char *name;\n  long in_FS_OFFSET;\n  bool bVar8;\n  bool bVar9;\n  byte bVar10;\n  ndmsg ndm;\n  rtnl_handle rth;\n  char flushb [3584];\n  \n  bVar10 = 0;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  ndm.ndm_family = '\0';\n  ndm.ndm_pad1 = '\0';\n  ndm.ndm_pad2 = 0;\n  ndm.ndm_ifindex = 0;\n  ndm.ndm_state = 0;\n  ndm.ndm_flags = '\0';\n  ndm.ndm_type = '\0';\n  _bb_common_bufsiz1 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  DAT_001c6618 = 0;\n  _DAT_001c6620 = (char *)0x0;\n  _DAT_001c6628 = 0;\n  _DAT_001c6630 = (rtnl_handle *)0x0;\n  DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((flush != 0) && (*argv == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");\n  }\n  _bb_common_bufsiz1 = (ulong)(uint)(int)preferred_family;\n  DAT_001c6600 = (-(uint)(flush == 0) & 0x180) - 0xc1;\n  key_00 = *argv;\n  if (key_00 == (char *)0x0) {\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n  }\n  else {\n    bVar9 = false;\n    name = (char *)0x0;\n    do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n    if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }\n  }\n  if (flush == 0) {\n    ndm.ndm_family = (__u8)_bb_common_bufsiz1;\n    iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }\n    iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = flushb;\n    _DAT_001c6628 = 0xe0000000000;\n    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;\n    iVar4 = 0;\n    _DAT_001c6630 = &rth;\n    while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *key;" type_identifier (pointer_declarator "*key" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "char *key_00;" primitive_type (pointer_declarator "*key_00" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "ndmsg ndm;" type_identifier identifier ;) (declaration "rtnl_handle rth;" type_identifier identifier ;) (declaration "char flushb [3584];" primitive_type (array_declarator "flushb [3584]" identifier [ number_literal ]) ;) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "ndm.ndm_family = '\0';" (assignment_expression "ndm.ndm_family = '\0'" (field_expression "ndm.ndm_family" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ndm.ndm_pad1 = '\0';" (assignment_expression "ndm.ndm_pad1 = '\0'" (field_expression "ndm.ndm_pad1" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ndm.ndm_pad2 = 0;" (assignment_expression "ndm.ndm_pad2 = 0" (field_expression "ndm.ndm_pad2" identifier . field_identifier) = number_literal) ;) (expression_statement "ndm.ndm_ifindex = 0;" (assignment_expression "ndm.ndm_ifindex = 0" (field_expression "ndm.ndm_ifindex" identifier . field_identifier) = number_literal) ;) (expression_statement "ndm.ndm_state = 0;" (assignment_expression "ndm.ndm_state = 0" (field_expression "ndm.ndm_state" identifier . field_identifier) = number_literal) ;) (expression_statement "ndm.ndm_flags = '\0';" (assignment_expression "ndm.ndm_flags = '\0'" (field_expression "ndm.ndm_flags" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ndm.ndm_type = '\0';" (assignment_expression "ndm.ndm_type = '\0'" (field_expression "ndm.ndm_type" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "_bb_common_bufsiz1 = 0;" (assignment_expression "_bb_common_bufsiz1 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6608 = 0;" (assignment_expression "DAT_001c6608 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6610 = 0;" (assignment_expression "DAT_001c6610 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6618 = 0;" (assignment_expression "DAT_001c6618 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6620 = (char *)0x0;" (assignment_expression "_DAT_001c6620 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_DAT_001c6628 = 0;" (assignment_expression "_DAT_001c6628 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6630 = (rtnl_handle *)0x0;" (assignment_expression "_DAT_001c6630 = (rtnl_handle *)0x0" identifier = (cast_expression "(rtnl_handle *)0x0" ( (type_descriptor "rtnl_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_001c6604 = 0;" (assignment_expression "DAT_001c6604 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6600 = 0xffffffff;" (assignment_expression "_DAT_001c6600 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((flush != 0) && (*argv == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");\n  }" if (parenthesized_expression "((flush != 0) && (*argv == (char *)0x0))" ( (binary_expression "(flush != 0) && (*argv == (char *)0x0)" (parenthesized_expression "(flush != 0)" ( (binary_expression "flush != 0" identifier != number_literal) )) && (parenthesized_expression "(*argv == (char *)0x0)" ( (binary_expression "*argv == (char *)0x0" (pointer_expression "*argv" * identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");\n  }" { comment (expression_statement "bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"");" (call_expression "bb_error_msg_and_die("%s requires an argument","\"ip neigh flush\"")" identifier (argument_list "("%s requires an argument","\"ip neigh flush\"")" ( (string_literal ""%s requires an argument"" " string_content ") , (string_literal ""\"ip neigh flush\""" " escape_sequence string_content escape_sequence ") ))) ;) })) (expression_statement "_bb_common_bufsiz1 = (ulong)(uint)(int)preferred_family;" (assignment_expression "_bb_common_bufsiz1 = (ulong)(uint)(int)preferred_family" identifier = (cast_expression "(ulong)(uint)(int)preferred_family" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)(int)preferred_family" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(int)preferred_family" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "DAT_001c6600 = (-(uint)(flush == 0) & 0x180) - 0xc1;" (assignment_expression "DAT_001c6600 = (-(uint)(flush == 0) & 0x180) - 0xc1" identifier = (binary_expression "(-(uint)(flush == 0) & 0x180) - 0xc1" (parenthesized_expression "(-(uint)(flush == 0) & 0x180)" ( (binary_expression "-(uint)(flush == 0) & 0x180" (unary_expression "-(uint)(flush == 0)" - (call_expression "(uint)(flush == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(flush == 0)" ( (binary_expression "flush == 0" identifier == number_literal) )))) & number_literal) )) - number_literal)) ;) (expression_statement "key_00 = *argv;" (assignment_expression "key_00 = *argv" identifier = (pointer_expression "*argv" * identifier)) ;) (if_statement "if (key_00 == (char *)0x0) {\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n  }\n  else {\n    bVar9 = false;\n    name = (char *)0x0;\n    do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n    if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }\n  }" if (parenthesized_expression "(key_00 == (char *)0x0)" ( (binary_expression "key_00 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n  }" { (expression_statement "xrtnl_open(&rth);" (call_expression "xrtnl_open(&rth)" identifier (argument_list "(&rth)" ( (pointer_expression "&rth" & identifier) ))) ;) (expression_statement "ll_init_map(&rth);" (call_expression "ll_init_map(&rth)" identifier (argument_list "(&rth)" ( (pointer_expression "&rth" & identifier) ))) ;) }) (else_clause "else {\n    bVar9 = false;\n    name = (char *)0x0;\n    do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n    if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }\n  }" else (compound_statement "{\n    bVar9 = false;\n    name = (char *)0x0;\n    do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);\n    xrtnl_open(&rth);\n    ll_init_map(&rth);\n    if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }\n  }" { (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "name = (char *)0x0;" (assignment_expression "name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    } while (key_00 != (char *)0x0);" do (compound_statement "{\n      iVar4 = index_in_substrings("to",key_00);\n      if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      key_00 = argv[1];\n      argv = argv + 1;\n    }" { (expression_statement "iVar4 = index_in_substrings("to",key_00);" (assignment_expression "iVar4 = index_in_substrings("to",key_00)" identifier = (call_expression "index_in_substrings("to",key_00)" identifier (argument_list "("to",key_00)" ( (string_literal ""to"" " string_content ") , identifier )))) ;) (if_statement "if (iVar4 == 1) {\n        argv = next_arg(argv);\n        name = *argv;\n      }\n      else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        argv = next_arg(argv);\n        name = *argv;\n      }" { (expression_statement "argv = next_arg(argv);" (assignment_expression "argv = next_arg(argv)" identifier = (call_expression "next_arg(argv)" identifier (argument_list "(argv)" ( identifier )))) ;) (expression_statement "name = *argv;" (assignment_expression "name = *argv" identifier = (pointer_expression "*argv" * identifier)) ;) }) (else_clause "else if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" else (if_statement "if (iVar4 == 2) {\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }\n      else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n        argv = next_arg(argv);\n        bVar8 = false;\n        bVar9 = !bVar9;\n        if (bVar9) {\n          DAT_001c6600 = 0;\n        }\n        key = (byte *)*argv;\n        lVar5 = 4;\n        pbVar6 = key;\n        pbVar7 = (byte *)0x1b7a25;\n        do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);\n        if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }\n        DAT_001c6600 = DAT_001c6600 | uVar2;\n        bVar9 = true;\n      }" { (expression_statement "argv = next_arg(argv);" (assignment_expression "argv = next_arg(argv)" identifier = (call_expression "next_arg(argv)" identifier (argument_list "(argv)" ( identifier )))) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar9 = !bVar9;" (assignment_expression "bVar9 = !bVar9" identifier = (unary_expression "!bVar9" ! identifier)) ;) (if_statement "if (bVar9) {\n          DAT_001c6600 = 0;\n        }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n          DAT_001c6600 = 0;\n        }" { (expression_statement "DAT_001c6600 = 0;" (assignment_expression "DAT_001c6600 = 0" identifier = number_literal) ;) })) (expression_statement "key = (byte *)*argv;" (assignment_expression "key = (byte *)*argv" identifier = (cast_expression "(byte *)*argv" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*argv" * identifier))) ;) (expression_statement "lVar5 = 4;" (assignment_expression "lVar5 = 4" identifier = number_literal) ;) (expression_statement "pbVar6 = key;" (assignment_expression "pbVar6 = key" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)0x1b7a25;" (assignment_expression "pbVar7 = (byte *)0x1b7a25" identifier = (cast_expression "(byte *)0x1b7a25" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        } while (bVar9);" do (compound_statement "{\n          if (lVar5 == 0) break;\n          lVar5 = lVar5 + -1;\n          bVar8 = *pbVar6 < *pbVar7;\n          bVar9 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;\n          pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;\n        }" { (if_statement "if (lVar5 == 0) break;" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar5 = lVar5 + -1;" (assignment_expression "lVar5 = lVar5 + -1" identifier = (binary_expression "lVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar7;" (assignment_expression "bVar8 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar9 = *pbVar6 == *pbVar7;" (assignment_expression "bVar9 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (ulong)bVar10 * -2 + 1" identifier = (binary_expression "pbVar6 + (ulong)bVar10 * -2 + 1" (binary_expression "pbVar6 + (ulong)bVar10 * -2" identifier + (binary_expression "(ulong)bVar10 * -2" (cast_expression "(ulong)bVar10" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (ulong)bVar10 * -2 + 1" identifier = (binary_expression "pbVar7 + (ulong)bVar10 * -2 + 1" (binary_expression "pbVar7 + (ulong)bVar10 * -2" identifier + (binary_expression "(ulong)bVar10 * -2" (cast_expression "(ulong)bVar10" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if ((!bVar8 && !bVar9) == bVar8) {\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }\n        else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }" if (parenthesized_expression "((!bVar8 && !bVar9) == bVar8)" ( (binary_expression "(!bVar8 && !bVar9) == bVar8" (parenthesized_expression "(!bVar8 && !bVar9)" ( (binary_expression "!bVar8 && !bVar9" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier) )) (compound_statement "{\n          uVar2 = -(uint)(flush == 0) | 0xffffffbf;\n        }" { (expression_statement "uVar2 = -(uint)(flush == 0) | 0xffffffbf;" (assignment_expression "uVar2 = -(uint)(flush == 0) | 0xffffffbf" identifier = (binary_expression "-(uint)(flush == 0) | 0xffffffbf" (unary_expression "-(uint)(flush == 0)" - (call_expression "(uint)(flush == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(flush == 0)" ( (binary_expression "flush == 0" identifier == number_literal) )))) | number_literal)) ;) }) (else_clause "else {\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }" else (compound_statement "{\n          iVar4 = index_in_substrings("permanent",(char *)key);\n          if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }\n          uVar2 = (uint)(byte)(&nuds_10897)[iVar4];\n          if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }\n        }" { (expression_statement "iVar4 = index_in_substrings("permanent",(char *)key);" (assignment_expression "iVar4 = index_in_substrings("permanent",(char *)key)" identifier = (call_expression "index_in_substrings("permanent",(char *)key)" identifier (argument_list "("permanent",(char *)key)" ( (string_literal ""permanent"" " string_content ") , (cast_expression "(char *)key" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");\n          }" { comment (expression_statement "bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state");" (call_expression "bb_error_msg_and_die("invalid argument \'%s\' to \'%s\'",key,"nud state")" identifier (argument_list "("invalid argument \'%s\' to \'%s\'",key,"nud state")" ( (string_literal ""invalid argument \'%s\' to \'%s\'"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (string_literal ""nud state"" " string_content ") ))) ;) })) (expression_statement "uVar2 = (uint)(byte)(&nuds_10897)[iVar4];" (assignment_expression "uVar2 = (uint)(byte)(&nuds_10897)[iVar4]" identifier = (subscript_expression "(uint)(byte)(&nuds_10897)[iVar4]" (call_expression "(uint)(byte)(&nuds_10897)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&nuds_10897)" ( (pointer_expression "&nuds_10897" & identifier) ))) [ identifier ])) ;) (if_statement "if ((&nuds_10897)[iVar4] == 0) {\n            uVar2 = 0x100;\n          }" if (parenthesized_expression "((&nuds_10897)[iVar4] == 0)" ( (binary_expression "(&nuds_10897)[iVar4] == 0" (subscript_expression "(&nuds_10897)[iVar4]" (parenthesized_expression "(&nuds_10897)" ( (pointer_expression "&nuds_10897" & identifier) )) [ identifier ]) == number_literal) )) (compound_statement "{\n            uVar2 = 0x100;\n          }" { (expression_statement "uVar2 = 0x100;" (assignment_expression "uVar2 = 0x100" identifier = number_literal) ;) })) }))) (expression_statement "DAT_001c6600 = DAT_001c6600 | uVar2;" (assignment_expression "DAT_001c6600 = DAT_001c6600 | uVar2" identifier = (binary_expression "DAT_001c6600 | uVar2" identifier | identifier)) ;) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;) }) (else_clause "else {\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" else (compound_statement "{\n        if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }\n        get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);\n        if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" { (if_statement "if (iVar4 == 0) {\n          argv = next_arg(argv);\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          argv = next_arg(argv);\n        }" { (expression_statement "argv = next_arg(argv);" (assignment_expression "argv = next_arg(argv)" identifier = (call_expression "next_arg(argv)" identifier (argument_list "(argv)" ( identifier )))) ;) })) (expression_statement "get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1);" (call_expression "get_prefix((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1)" identifier (argument_list "((inet_prefix *)&DAT_001c6608,*argv,bb_common_bufsiz1)" ( (cast_expression "(inet_prefix *)&DAT_001c6608" ( (type_descriptor "inet_prefix *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_001c6608" & identifier)) , (pointer_expression "*argv" * identifier) , identifier ))) ;) (if_statement "if (bb_common_bufsiz1 == 0) {\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" if (parenthesized_expression "(bb_common_bufsiz1 == 0)" ( (binary_expression "bb_common_bufsiz1 == 0" identifier == number_literal) )) (compound_statement "{\n          _bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" { (expression_statement "_bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608);" (assignment_expression "_bb_common_bufsiz1 = CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608)" identifier = (call_expression "CONCAT44(DAT_001c65fc,(uint)(byte)DAT_001c6608)" identifier (argument_list "(DAT_001c65fc,(uint)(byte)DAT_001c6608)" ( identifier , (cast_expression "(uint)(byte)DAT_001c6608" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)DAT_001c6608" ( (type_descriptor "byte" type_identifier) ) identifier)) )))) ;) })) }))))) (expression_statement "key_00 = argv[1];" (assignment_expression "key_00 = argv[1]" identifier = (subscript_expression "argv[1]" identifier [ number_literal ])) ;) (expression_statement "argv = argv + 1;" (assignment_expression "argv = argv + 1" identifier = (binary_expression "argv + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(key_00 != (char *)0x0)" ( (binary_expression "key_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "xrtnl_open(&rth);" (call_expression "xrtnl_open(&rth)" identifier (argument_list "(&rth)" ( (pointer_expression "&rth" & identifier) ))) ;) (expression_statement "ll_init_map(&rth);" (call_expression "ll_init_map(&rth)" identifier (argument_list "(&rth)" ( (pointer_expression "&rth" & identifier) ))) ;) (if_statement "if (name != (char *)0x0) {\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }" if (parenthesized_expression "(name != (char *)0x0)" ( (binary_expression "name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar4 = xll_name_to_index(name);\n      _bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);\n      if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }\n    }" { (expression_statement "iVar4 = xll_name_to_index(name);" (assignment_expression "iVar4 = xll_name_to_index(name)" identifier = (call_expression "xll_name_to_index(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "_bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1);" (assignment_expression "_bb_common_bufsiz1 = CONCAT44(iVar4,bb_common_bufsiz1)" identifier = (call_expression "CONCAT44(iVar4,bb_common_bufsiz1)" identifier (argument_list "(iVar4,bb_common_bufsiz1)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("can\'t find device \'%s\'",name);\n      }" { comment (expression_statement "bb_error_msg_and_die("can\'t find device \'%s\'",name);" (call_expression "bb_error_msg_and_die("can\'t find device \'%s\'",name)" identifier (argument_list "("can\'t find device \'%s\'",name)" ( (string_literal ""can\'t find device \'%s\'"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) })) })) }))) (if_statement "if (flush == 0) {\n    ndm.ndm_family = (__u8)_bb_common_bufsiz1;\n    iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }\n    iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = flushb;\n    _DAT_001c6628 = 0xe0000000000;\n    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;\n    iVar4 = 0;\n    _DAT_001c6630 = &rth;\n    while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }\n  }" if (parenthesized_expression "(flush == 0)" ( (binary_expression "flush == 0" identifier == number_literal) )) (compound_statement "{\n    ndm.ndm_family = (__u8)_bb_common_bufsiz1;\n    iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }\n    iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n    if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }\n  }" { (expression_statement "ndm.ndm_family = (__u8)_bb_common_bufsiz1;" (assignment_expression "ndm.ndm_family = (__u8)_bb_common_bufsiz1" (field_expression "ndm.ndm_family" identifier . field_identifier) = (cast_expression "(__u8)_bb_common_bufsiz1" ( (type_descriptor "__u8" type_identifier) ) identifier)) ;) (expression_statement "iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc);" (assignment_expression "iVar4 = rtnl_dump_request(&rth,0x1e,&ndm,0xc)" identifier = (call_expression "rtnl_dump_request(&rth,0x1e,&ndm,0xc)" identifier (argument_list "(&rth,0x1e,&ndm,0xc)" ( (pointer_expression "&rth" & identifier) , number_literal , (pointer_expression "&ndm" & identifier) , number_literal )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      bb_perror_msg_and_die("can\'t send dump request");\n    }" { comment (expression_statement "bb_perror_msg_and_die("can\'t send dump request");" (call_expression "bb_perror_msg_and_die("can\'t send dump request")" identifier (argument_list "("can\'t send dump request")" ( (string_literal ""can\'t send dump request"" " string_content escape_sequence string_content ") ))) ;) })) (expression_statement "iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);" (assignment_expression "iVar4 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0)" identifier = (call_expression "xrtnl_dump_filter(&rth,print_neigh,(void *)0x0)" identifier (argument_list "(&rth,print_neigh,(void *)0x0)" ( (pointer_expression "&rth" & identifier) , identifier , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      bb_error_msg_and_die("dump terminated");\n    }" { comment (expression_statement "bb_error_msg_and_die("dump terminated");" (call_expression "bb_error_msg_and_die("dump terminated")" identifier (argument_list "("dump terminated")" ( (string_literal ""dump terminated"" " string_content ") ))) ;) })) }) (else_clause "else {\n    _DAT_001c6620 = flushb;\n    _DAT_001c6628 = 0xe0000000000;\n    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;\n    iVar4 = 0;\n    _DAT_001c6630 = &rth;\n    while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }\n  }" else (compound_statement "{\n    _DAT_001c6620 = flushb;\n    _DAT_001c6628 = 0xe0000000000;\n    DAT_001c6600 = DAT_001c6600 & 0xffffffdf;\n    iVar4 = 0;\n    _DAT_001c6630 = &rth;\n    while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }\n  }" { (expression_statement "_DAT_001c6620 = flushb;" (assignment_expression "_DAT_001c6620 = flushb" identifier = identifier) ;) (expression_statement "_DAT_001c6628 = 0xe0000000000;" (assignment_expression "_DAT_001c6628 = 0xe0000000000" identifier = number_literal) ;) (expression_statement "DAT_001c6600 = DAT_001c6600 & 0xffffffdf;" (assignment_expression "DAT_001c6600 = DAT_001c6600 & 0xffffffdf" identifier = (binary_expression "DAT_001c6600 & 0xffffffdf" identifier & number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6630 = &rth;" (assignment_expression "_DAT_001c6630 = &rth" identifier = (pointer_expression "&rth" & identifier)) ;) (while_statement "while( true ) {\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }\n      DAT_001c6618 = DAT_001c6618 & 0xffffffff;\n      iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }\n      if (DAT_001c6618._4_4_ == 0) break;\n      iVar3 = flush_update();\n      if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }\n      iVar4 = iVar4 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);\n      if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" { (expression_statement "iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e);" (assignment_expression "iVar3 = xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e)" identifier = (call_expression "xrtnl_wilddump_request(&rth,bb_common_bufsiz1,0x1e)" identifier (argument_list "(&rth,bb_common_bufsiz1,0x1e)" ( (pointer_expression "&rth" & identifier) , identifier , number_literal )))) ;) (if_statement "if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("can\'t send dump request");\n      }" { comment (expression_statement "bb_perror_msg_and_die("can\'t send dump request");" (call_expression "bb_perror_msg_and_die("can\'t send dump request")" identifier (argument_list "("can\'t send dump request")" ( (string_literal ""can\'t send dump request"" " string_content escape_sequence string_content ") ))) ;) })) (expression_statement "DAT_001c6618 = DAT_001c6618 & 0xffffffff;" (assignment_expression "DAT_001c6618 = DAT_001c6618 & 0xffffffff" identifier = (binary_expression "DAT_001c6618 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0);" (assignment_expression "iVar3 = xrtnl_dump_filter(&rth,print_neigh,(void *)0x0)" identifier = (call_expression "xrtnl_dump_filter(&rth,print_neigh,(void *)0x0)" identifier (argument_list "(&rth,print_neigh,(void *)0x0)" ( (pointer_expression "&rth" & identifier) , identifier , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        bb_perror_msg_and_die("flush terminated");\n      }" { comment (expression_statement "bb_perror_msg_and_die("flush terminated");" (call_expression "bb_perror_msg_and_die("flush terminated")" identifier (argument_list "("flush terminated")" ( (string_literal ""flush terminated"" " string_content ") ))) ;) })) (if_statement "if (DAT_001c6618._4_4_ == 0) break;" if (parenthesized_expression "(DAT_001c6618._4_4_ == 0)" ( (binary_expression "DAT_001c6618._4_4_ == 0" (field_expression "DAT_001c6618._4_4_" identifier . field_identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = flush_update();" (assignment_expression "iVar3 = flush_update()" identifier = (call_expression "flush_update()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 < 0) {\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        xfunc_die();\n      }" { comment (expression_statement "xfunc_die();" (call_expression "xfunc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_);" (call_expression "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_)" identifier (argument_list "(1,"\n*** Round %d, deleting %d entries ***\n",iVar4,DAT_001c6618._4_4_)" ( number_literal , (string_literal ""\n*** Round %d, deleting %d entries ***\n"" " escape_sequence string_content escape_sequence ") , identifier , (field_expression "DAT_001c6618._4_4_" identifier . field_identifier) ))) ;) (if_statement "if (iVar4 == 10) {\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }" if (parenthesized_expression "(iVar4 == 10)" ( (binary_expression "iVar4 == 10" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);\n      }" { comment (expression_statement "bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10);" (call_expression "bb_error_msg_and_die("*** Flush not complete bailing out after %d rounds",10)" identifier (argument_list "("*** Flush not complete bailing out after %d rounds",10)" ( (string_literal ""*** Flush not complete bailing out after %d rounds"" " string_content ") , number_literal ))) ;) })) })) (if_statement "if (iVar4 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      puts("Nothing to flush");\n    }" { (expression_statement "puts("Nothing to flush");" (call_expression "puts("Nothing to flush")" identifier (argument_list "("Nothing to flush")" ( (string_literal ""Nothing to flush"" " string_content ") ))) ;) }) (else_clause "else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }" else (compound_statement "{\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);\n    }" { (expression_statement "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4);" (call_expression "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar4)" identifier (argument_list "(1,"*** Flush is complete after %d round(s) ***\n",iVar4)" ( number_literal , (string_literal ""*** Flush is complete after %d round(s) ***\n"" " string_content escape_sequence ") , identifier ))) ;) }))) }))) (if_statement "if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(lVar1 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00138d74(long *param_1,int param_2)\n\n{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00138d74(long *param_1,int param_2)\n\n{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00138d74(long *param_1,int param_2)" identifier (parameter_list "(long *param_1,int param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return 0;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "undefined8 local_e84;" type_identifier identifier ;) (declaration "undefined4 local_e7c;" type_identifier identifier ;) (declaration "undefined1 local_e78 [48];" type_identifier (array_declarator "local_e78 [48]" identifier [ number_literal ]) ;) (declaration "undefined1 local_e48 [3592];" type_identifier (array_declarator "local_e48 [3592]" identifier [ number_literal ]) ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "local_e84 = 0;" (assignment_expression "local_e84 = 0" identifier = number_literal) ;) (expression_statement "local_e7c = 0;" (assignment_expression "local_e7c = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c65f8 = 0;" (assignment_expression "_DAT_001c65f8 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6608 = 0;" (assignment_expression "DAT_001c6608 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6610 = 0;" (assignment_expression "DAT_001c6610 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6618 = 0;" (assignment_expression "_DAT_001c6618 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6620 = (undefined1 *)0x0;" (assignment_expression "_DAT_001c6620 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_DAT_001c6628 = 0;" (assignment_expression "_DAT_001c6628 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6630 = (undefined1 *)0x0;" (assignment_expression "DAT_001c6630 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_DAT_001c6604 = 0;" (assignment_expression "_DAT_001c6604 = 0" identifier = number_literal) ;) (expression_statement "_DAT_001c6600 = 0xffffffff;" (assignment_expression "_DAT_001c6600 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }" if (parenthesized_expression "((param_2 != 0) && (*param_1 == 0))" ( (binary_expression "(param_2 != 0) && (*param_1 == 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }" { (expression_statement "FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");" (call_expression "FUN_0010dc50("%s requires an argument","\"ip neigh flush\"")" identifier (argument_list "("%s requires an argument","\"ip neigh flush\"")" ( (string_literal ""%s requires an argument"" " string_content ") , (string_literal ""\"ip neigh flush\""" " escape_sequence string_content escape_sequence ") ))) ;) })) (expression_statement "_DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;" (assignment_expression "_DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6" identifier = (cast_expression "(ulong)(uint)(int)DAT_001c65a6" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)(int)DAT_001c65a6" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(int)DAT_001c65a6" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "_DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;" (assignment_expression "_DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1" identifier = (binary_expression "(-(uint)(param_2 == 0) & 0x180) - 0xc1" (parenthesized_expression "(-(uint)(param_2 == 0) & 0x180)" ( (binary_expression "-(uint)(param_2 == 0) & 0x180" (unary_expression "-(uint)(param_2 == 0)" - (call_expression "(uint)(param_2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )))) & number_literal) )) - number_literal)) ;) (if_statement "if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }" { (expression_statement "FUN_0013cca6(local_e78);" (call_expression "FUN_0013cca6(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) (expression_statement "FUN_0013da55(local_e78);" (call_expression "FUN_0013da55(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) }) (else_clause "else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" else (compound_statement "{\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" { (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);" do (compound_statement "{\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    }" { (expression_statement "iVar5 = FUN_0010d49f(&DAT_001baaad);" (assignment_expression "iVar5 = FUN_0010d49f(&DAT_001baaad)" identifier = (call_expression "FUN_0010d49f(&DAT_001baaad)" identifier (argument_list "(&DAT_001baaad)" ( (pointer_expression "&DAT_001baaad" & identifier) )))) ;) (if_statement "if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }" { (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" identifier = (cast_expression "(long *)FUN_0013e77d(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0013e77d(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "lVar9 = *param_1;" (assignment_expression "lVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" else (if_statement "if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }" { (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" identifier = (cast_expression "(long *)FUN_0013e77d(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0013e77d(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) (expression_statement "bVar11 = !bVar11;" (assignment_expression "bVar11 = !bVar11" identifier = (unary_expression "!bVar11" ! identifier)) ;) (if_statement "if (bVar11) {\n          _DAT_001c6600 = 0;\n        }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n          _DAT_001c6600 = 0;\n        }" { (expression_statement "_DAT_001c6600 = 0;" (assignment_expression "_DAT_001c6600 = 0" identifier = number_literal) ;) })) (expression_statement "pbVar2 = (byte *)*param_1;" (assignment_expression "pbVar2 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "lVar6 = 4;" (assignment_expression "lVar6 = 4" identifier = number_literal) ;) (expression_statement "pbVar7 = pbVar2;" (assignment_expression "pbVar7 = pbVar2" identifier = identifier) ;) (expression_statement "pbVar8 = (byte *)0x1b7a25;" (assignment_expression "pbVar8 = (byte *)0x1b7a25" identifier = (cast_expression "(byte *)0x1b7a25" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);" do (compound_statement "{\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        }" { (if_statement "if (lVar6 == 0) break;" if (parenthesized_expression "(lVar6 == 0)" ( (binary_expression "lVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar10 = *pbVar7 < *pbVar8;" (assignment_expression "bVar10 = *pbVar7 < *pbVar8" identifier = (binary_expression "*pbVar7 < *pbVar8" (pointer_expression "*pbVar7" * identifier) < (pointer_expression "*pbVar8" * identifier))) ;) (expression_statement "bVar11 = *pbVar7 == *pbVar8;" (assignment_expression "bVar11 = *pbVar7 == *pbVar8" identifier = (binary_expression "*pbVar7 == *pbVar8" (pointer_expression "*pbVar7" * identifier) == (pointer_expression "*pbVar8" * identifier))) ;) (expression_statement "pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1" identifier = (binary_expression "pbVar7 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar7 + (ulong)bVar12 * -2" identifier + (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1" identifier = (binary_expression "pbVar8 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar8 + (ulong)bVar12 * -2" identifier + (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar11)" ( identifier )) ;) (if_statement "if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" if (parenthesized_expression "((!bVar10 && !bVar11) == bVar10)" ( (binary_expression "(!bVar10 && !bVar11) == bVar10" (parenthesized_expression "(!bVar10 && !bVar11)" ( (binary_expression "!bVar10 && !bVar11" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar11" ! identifier)) )) == identifier) )) (compound_statement "{\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }" { (expression_statement "uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;" (assignment_expression "uVar3 = -(uint)(param_2 == 0) | 0xffffffbf" identifier = (binary_expression "-(uint)(param_2 == 0) | 0xffffffbf" (unary_expression "-(uint)(param_2 == 0)" - (call_expression "(uint)(param_2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )))) | number_literal)) ;) }) (else_clause "else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" else (compound_statement "{\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" { (expression_statement "iVar5 = FUN_0010d49f("permanent",pbVar2);" (assignment_expression "iVar5 = FUN_0010d49f("permanent",pbVar2)" identifier = (call_expression "FUN_0010d49f("permanent",pbVar2)" identifier (argument_list "("permanent",pbVar2)" ( (string_literal ""permanent"" " string_content ") , identifier )))) ;) (if_statement "if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }" { (expression_statement "FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");" (call_expression "FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state")" identifier (argument_list "("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state")" ( (string_literal ""invalid argument \'%s\' to \'%s\'"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (string_literal ""nud state"" " string_content ") ))) ;) })) (expression_statement "uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];" (assignment_expression "uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5]" identifier = (subscript_expression "(uint)(byte)(&DAT_001baa60)[iVar5]" (call_expression "(uint)(byte)(&DAT_001baa60)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_001baa60)" ( (pointer_expression "&DAT_001baa60" & identifier) ))) [ identifier ])) ;) (if_statement "if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }" if (parenthesized_expression "((&DAT_001baa60)[iVar5] == 0)" ( (binary_expression "(&DAT_001baa60)[iVar5] == 0" (subscript_expression "(&DAT_001baa60)[iVar5]" (parenthesized_expression "(&DAT_001baa60)" ( (pointer_expression "&DAT_001baa60" & identifier) )) [ identifier ]) == number_literal) )) (compound_statement "{\n            uVar3 = 0x100;\n          }" { (expression_statement "uVar3 = 0x100;" (assignment_expression "uVar3 = 0x100" identifier = number_literal) ;) })) }))) (expression_statement "_DAT_001c6600 = _DAT_001c6600 | uVar3;" (assignment_expression "_DAT_001c6600 = _DAT_001c6600 | uVar3" identifier = (binary_expression "_DAT_001c6600 | uVar3" identifier | identifier)) ;) (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) }) (else_clause "else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" else (compound_statement "{\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" { (if_statement "if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }" { (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" identifier = (cast_expression "(long *)FUN_0013e77d(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0013e77d(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) })) (expression_statement "FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);" (call_expression "FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff)" identifier (argument_list "(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff)" ( (pointer_expression "&DAT_001c6608" & identifier) , (pointer_expression "*param_1" * identifier) , (binary_expression "_DAT_001c65f8 & 0xffffffff" identifier & number_literal) ))) ;) (if_statement "if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" if (parenthesized_expression "(DAT_001c65f8 == 0)" ( (binary_expression "DAT_001c65f8 == 0" identifier == number_literal) )) (compound_statement "{\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" { (expression_statement "_DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);" (assignment_expression "_DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" identifier = (call_expression "CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" identifier (argument_list "(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" ( identifier , (cast_expression "(uint)(byte)DAT_001c6608" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)DAT_001c6608" ( (type_descriptor "byte" type_identifier) ) identifier)) )))) ;) })) }))))) (expression_statement "plVar1 = param_1 + 1;" (assignment_expression "plVar1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) ;) (expression_statement "FUN_0013cca6(local_e78);" (call_expression "FUN_0013cca6(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) (expression_statement "FUN_0013da55(local_e78);" (call_expression "FUN_0013da55(local_e78)" identifier (argument_list "(local_e78)" ( identifier ))) ;) (if_statement "if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }" { (expression_statement "iVar5 = FUN_0013da32(lVar9);" (assignment_expression "iVar5 = FUN_0013da32(lVar9)" identifier = (call_expression "FUN_0013da32(lVar9)" identifier (argument_list "(lVar9)" ( identifier )))) ;) (expression_statement "_DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);" (assignment_expression "_DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8)" identifier = (call_expression "CONCAT44(iVar5,DAT_001c65f8)" identifier (argument_list "(iVar5,DAT_001c65f8)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }" { (expression_statement "FUN_0010dc50("can\'t find device \'%s\'",lVar9);" (call_expression "FUN_0010dc50("can\'t find device \'%s\'",lVar9)" identifier (argument_list "("can\'t find device \'%s\'",lVar9)" ( (string_literal ""can\'t find device \'%s\'"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) })) })) }))) (if_statement "if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }" { (expression_statement "local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);" (assignment_expression "local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8)" identifier = (call_expression "CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8)" identifier (argument_list "(local_e84._1_7_,(char)_DAT_001c65f8)" ( (field_expression "local_e84._1_7_" identifier . field_identifier) , (cast_expression "(char)_DAT_001c65f8" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);" (assignment_expression "iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc)" identifier = (call_expression "FUN_0013cde5(local_e78,0x1e,&local_e84,0xc)" identifier (argument_list "(local_e78,0x1e,&local_e84,0xc)" ( identifier , number_literal , (pointer_expression "&local_e84" & identifier) , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }" { (expression_statement "FUN_0010d88d("can\'t send dump request");" (call_expression "FUN_0010d88d("can\'t send dump request")" identifier (argument_list "("can\'t send dump request")" ( (string_literal ""can\'t send dump request"" " string_content escape_sequence string_content ") ))) ;) })) (expression_statement "iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);" (assignment_expression "iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier = (call_expression "FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier (argument_list "(local_e78,&LAB_001391ce,0)" ( identifier , (pointer_expression "&LAB_001391ce" & identifier) , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n      FUN_0010dc50("dump terminated");\n    }" { (expression_statement "FUN_0010dc50("dump terminated");" (call_expression "FUN_0010dc50("dump terminated")" identifier (argument_list "("dump terminated")" ( (string_literal ""dump terminated"" " string_content ") ))) ;) })) }) (else_clause "else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" else (compound_statement "{\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" { (expression_statement "_DAT_001c6620 = local_e48;" (assignment_expression "_DAT_001c6620 = local_e48" identifier = identifier) ;) (expression_statement "_DAT_001c6628 = 0xe0000000000;" (assignment_expression "_DAT_001c6628 = 0xe0000000000" identifier = number_literal) ;) (expression_statement "_DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;" (assignment_expression "_DAT_001c6600 = _DAT_001c6600 & 0xffffffdf" identifier = (binary_expression "_DAT_001c6600 & 0xffffffdf" identifier & number_literal)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "DAT_001c6630 = local_e78;" (assignment_expression "DAT_001c6630 = local_e78" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" { (expression_statement "iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);" (assignment_expression "iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" identifier = (call_expression "FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" identifier (argument_list "(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" ( identifier , (binary_expression "_DAT_001c65f8 & 0xffffffff" identifier & number_literal) , number_literal )))) ;) (if_statement "if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }" { (expression_statement "FUN_0010d88d("can\'t send dump request");" (call_expression "FUN_0010d88d("can\'t send dump request")" identifier (argument_list "("can\'t send dump request")" ( (string_literal ""can\'t send dump request"" " string_content escape_sequence string_content ") ))) ;) })) (expression_statement "_DAT_001c6618 = _DAT_001c6618 & 0xffffffff;" (assignment_expression "_DAT_001c6618 = _DAT_001c6618 & 0xffffffff" identifier = (binary_expression "_DAT_001c6618 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);" (assignment_expression "iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier = (call_expression "FUN_0013cec5(local_e78,&LAB_001391ce,0)" identifier (argument_list "(local_e78,&LAB_001391ce,0)" ( identifier , (pointer_expression "&LAB_001391ce" & identifier) , number_literal )))) ;) (if_statement "if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n        FUN_0010d88d("flush terminated");\n      }" { (expression_statement "FUN_0010d88d("flush terminated");" (call_expression "FUN_0010d88d("flush terminated")" identifier (argument_list "("flush terminated")" ( (string_literal ""flush terminated"" " string_content ") ))) ;) })) (if_statement "if (DAT_001c661c == 0) break;" if (parenthesized_expression "(DAT_001c661c == 0)" ( (binary_expression "DAT_001c661c == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = FUN_00138d27();" (assignment_expression "iVar4 = FUN_00138d27()" identifier = (call_expression "FUN_00138d27()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n        FUN_0010de6a();\n      }" { (expression_statement "FUN_0010de6a();" (call_expression "FUN_0010de6a()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);" (call_expression "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c)" identifier (argument_list "(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c)" ( number_literal , (string_literal ""\n*** Round %d, deleting %d entries ***\n"" " escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) (if_statement "if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }" if (parenthesized_expression "(iVar5 == 10)" ( (binary_expression "iVar5 == 10" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }" { (expression_statement "FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);" (call_expression "FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10)" identifier (argument_list "("*** Flush not complete bailing out after %d rounds",10)" ( (string_literal ""*** Flush not complete bailing out after %d rounds"" " string_content ") , number_literal ))) ;) })) })) (if_statement "if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      puts("Nothing to flush");\n    }" { (expression_statement "puts("Nothing to flush");" (call_expression "puts("Nothing to flush")" identifier (argument_list "("Nothing to flush")" ( (string_literal ""Nothing to flush"" " string_content ") ))) ;) }) (else_clause "else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" else (compound_statement "{\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" { (expression_statement "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);" (call_expression "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5)" identifier (argument_list "(1,"*** Flush is complete after %d round(s) ***\n",iVar5)" ( number_literal , (string_literal ""*** Flush is complete after %d round(s) ***\n"" " string_content escape_sequence ") , identifier ))) ;) }))) }))) (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " escape_sequence string_content escape_sequence ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) & LIT) )) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (unary_expression ! IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) | LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (pointer_expression & IDENT) ))) [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) , (binary_expression IDENT & LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) })) }))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT ))) ;) })) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " escape_sequence string_content escape_sequence ") , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00138d74(long *param_1,int param_2)\n\n{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00138d74(long *param_1,int param_2)" (identifier "FUN_00138d74") (parameter_list "(long *param_1,int param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  byte *pbVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  long lVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  long lVar9;\n  long in_FS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  undefined8 local_e84;\n  undefined4 local_e7c;\n  undefined1 local_e78 [48];\n  undefined1 local_e48 [3592];\n  long local_40;\n  \n  bVar12 = 0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  local_e84 = 0;\n  local_e7c = 0;\n  _DAT_001c65f8 = 0;\n  DAT_001c6608 = 0;\n  DAT_001c6610 = 0;\n  _DAT_001c6618 = 0;\n  _DAT_001c6620 = (undefined1 *)0x0;\n  _DAT_001c6628 = 0;\n  DAT_001c6630 = (undefined1 *)0x0;\n  _DAT_001c6604 = 0;\n  _DAT_001c6600 = 0xffffffff;\n  if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }\n  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;\n  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;\n  if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }\n  if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return 0;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "bool bVar11;" (primitive_type "bool") (identifier "bVar11") (; ";")) (declaration "byte bVar12;" (type_identifier "byte") (identifier "bVar12") (; ";")) (declaration "undefined8 local_e84;" (type_identifier "undefined8") (identifier "local_e84") (; ";")) (declaration "undefined4 local_e7c;" (type_identifier "undefined4") (identifier "local_e7c") (; ";")) (declaration "undefined1 local_e78 [48];" (type_identifier "undefined1") (array_declarator "local_e78 [48]" (identifier "local_e78") ([ "[") (number_literal "48") (] "]")) (; ";")) (declaration "undefined1 local_e48 [3592];" (type_identifier "undefined1") (array_declarator "local_e48 [3592]" (identifier "local_e48") ([ "[") (number_literal "3592") (] "]")) (; ";")) (declaration "long local_40;" (sized_type_specifier "long" (long "long")) (identifier "local_40") (; ";")) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" (identifier "bVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "local_e84 = 0;" (assignment_expression "local_e84 = 0" (identifier "local_e84") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_e7c = 0;" (assignment_expression "local_e7c = 0" (identifier "local_e7c") (= "=") (number_literal "0")) (; ";")) (expression_statement "_DAT_001c65f8 = 0;" (assignment_expression "_DAT_001c65f8 = 0" (identifier "_DAT_001c65f8") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c6608 = 0;" (assignment_expression "DAT_001c6608 = 0" (identifier "DAT_001c6608") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c6610 = 0;" (assignment_expression "DAT_001c6610 = 0" (identifier "DAT_001c6610") (= "=") (number_literal "0")) (; ";")) (expression_statement "_DAT_001c6618 = 0;" (assignment_expression "_DAT_001c6618 = 0" (identifier "_DAT_001c6618") (= "=") (number_literal "0")) (; ";")) (expression_statement "_DAT_001c6620 = (undefined1 *)0x0;" (assignment_expression "_DAT_001c6620 = (undefined1 *)0x0" (identifier "_DAT_001c6620") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "_DAT_001c6628 = 0;" (assignment_expression "_DAT_001c6628 = 0" (identifier "_DAT_001c6628") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c6630 = (undefined1 *)0x0;" (assignment_expression "DAT_001c6630 = (undefined1 *)0x0" (identifier "DAT_001c6630") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "_DAT_001c6604 = 0;" (assignment_expression "_DAT_001c6604 = 0" (identifier "_DAT_001c6604") (= "=") (number_literal "0")) (; ";")) (expression_statement "_DAT_001c6600 = 0xffffffff;" (assignment_expression "_DAT_001c6600 = 0xffffffff" (identifier "_DAT_001c6600") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((param_2 != 0) && (*param_1 == 0)) {\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }" (if "if") (parenthesized_expression "((param_2 != 0) && (*param_1 == 0))" (( "(") (binary_expression "(param_2 != 0) && (*param_1 == 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");\n  }" ({ "{") (expression_statement "FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");" (call_expression "FUN_0010dc50("%s requires an argument","\"ip neigh flush\"")" (identifier "FUN_0010dc50") (argument_list "("%s requires an argument","\"ip neigh flush\"")" (( "(") (string_literal ""%s requires an argument"" (" """) (string_content "%s requires an argument") (" """)) (, ",") (string_literal ""\"ip neigh flush\""" (" """) (escape_sequence "\"") (string_content "ip neigh flush") (escape_sequence "\"") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "_DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;" (assignment_expression "_DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6" (identifier "_DAT_001c65f8") (= "=") (cast_expression "(ulong)(uint)(int)DAT_001c65a6" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (cast_expression "(uint)(int)DAT_001c65a6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(int)DAT_001c65a6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_001c65a6"))))) (; ";")) (expression_statement "_DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;" (assignment_expression "_DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1" (identifier "_DAT_001c6600") (= "=") (binary_expression "(-(uint)(param_2 == 0) & 0x180) - 0xc1" (parenthesized_expression "(-(uint)(param_2 == 0) & 0x180)" (( "(") (binary_expression "-(uint)(param_2 == 0) & 0x180" (unary_expression "-(uint)(param_2 == 0)" (- "-") (call_expression "(uint)(param_2 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "0x180")) () ")")) (- "-") (number_literal "0xc1"))) (; ";")) (if_statement "if (*param_1 == 0) {\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }\n  else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n  }" ({ "{") (expression_statement "FUN_0013cca6(local_e78);" (call_expression "FUN_0013cca6(local_e78)" (identifier "FUN_0013cca6") (argument_list "(local_e78)" (( "(") (identifier "local_e78") () ")"))) (; ";")) (expression_statement "FUN_0013da55(local_e78);" (call_expression "FUN_0013da55(local_e78)" (identifier "FUN_0013da55") (argument_list "(local_e78)" (( "(") (identifier "local_e78") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" (else "else") (compound_statement "{\n    bVar11 = false;\n    lVar9 = 0;\n    do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);\n    FUN_0013cca6(local_e78);\n    FUN_0013da55(local_e78);\n    if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }\n  }" ({ "{") (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" (identifier "bVar11") (= "=") (false "false")) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    } while (*plVar1 != 0);" (do "do") (compound_statement "{\n      iVar5 = FUN_0010d49f(&DAT_001baaad);\n      if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }\n      plVar1 = param_1 + 1;\n      param_1 = param_1 + 1;\n    }" ({ "{") (expression_statement "iVar5 = FUN_0010d49f(&DAT_001baaad);" (assignment_expression "iVar5 = FUN_0010d49f(&DAT_001baaad)" (identifier "iVar5") (= "=") (call_expression "FUN_0010d49f(&DAT_001baaad)" (identifier "FUN_0010d49f") (argument_list "(&DAT_001baaad)" (( "(") (pointer_expression "&DAT_001baaad" (& "&") (identifier "DAT_001baaad")) () ")")))) (; ";")) (if_statement "if (iVar5 == 1) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }\n      else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" (if "if") (parenthesized_expression "(iVar5 == 1)" (( "(") (binary_expression "iVar5 == 1" (identifier "iVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        param_1 = (long *)FUN_0013e77d(param_1);\n        lVar9 = *param_1;\n      }" ({ "{") (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" (identifier "param_1") (= "=") (cast_expression "(long *)FUN_0013e77d(param_1)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0013e77d(param_1)" (identifier "FUN_0013e77d") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "lVar9 = *param_1;" (assignment_expression "lVar9 = *param_1" (identifier "lVar9") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")) (else_clause "else if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" (else "else") (if_statement "if (iVar5 == 2) {\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }\n      else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" (if "if") (parenthesized_expression "(iVar5 == 2)" (( "(") (binary_expression "iVar5 == 2" (identifier "iVar5") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        param_1 = (long *)FUN_0013e77d(param_1);\n        bVar10 = false;\n        bVar11 = !bVar11;\n        if (bVar11) {\n          _DAT_001c6600 = 0;\n        }\n        pbVar2 = (byte *)*param_1;\n        lVar6 = 4;\n        pbVar7 = pbVar2;\n        pbVar8 = (byte *)0x1b7a25;\n        do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);\n        if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }\n        _DAT_001c6600 = _DAT_001c6600 | uVar3;\n        bVar11 = true;\n      }" ({ "{") (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" (identifier "param_1") (= "=") (cast_expression "(long *)FUN_0013e77d(param_1)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0013e77d(param_1)" (identifier "FUN_0013e77d") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" (identifier "bVar10") (= "=") (false "false")) (; ";")) (expression_statement "bVar11 = !bVar11;" (assignment_expression "bVar11 = !bVar11" (identifier "bVar11") (= "=") (unary_expression "!bVar11" (! "!") (identifier "bVar11"))) (; ";")) (if_statement "if (bVar11) {\n          _DAT_001c6600 = 0;\n        }" (if "if") (parenthesized_expression "(bVar11)" (( "(") (identifier "bVar11") () ")")) (compound_statement "{\n          _DAT_001c6600 = 0;\n        }" ({ "{") (expression_statement "_DAT_001c6600 = 0;" (assignment_expression "_DAT_001c6600 = 0" (identifier "_DAT_001c6600") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "pbVar2 = (byte *)*param_1;" (assignment_expression "pbVar2 = (byte *)*param_1" (identifier "pbVar2") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "lVar6 = 4;" (assignment_expression "lVar6 = 4" (identifier "lVar6") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar7 = pbVar2;" (assignment_expression "pbVar7 = pbVar2" (identifier "pbVar7") (= "=") (identifier "pbVar2")) (; ";")) (expression_statement "pbVar8 = (byte *)0x1b7a25;" (assignment_expression "pbVar8 = (byte *)0x1b7a25" (identifier "pbVar8") (= "=") (cast_expression "(byte *)0x1b7a25" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1b7a25"))) (; ";")) (do_statement "do {\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        } while (bVar11);" (do "do") (compound_statement "{\n          if (lVar6 == 0) break;\n          lVar6 = lVar6 + -1;\n          bVar10 = *pbVar7 < *pbVar8;\n          bVar11 = *pbVar7 == *pbVar8;\n          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;\n          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        }" ({ "{") (if_statement "if (lVar6 == 0) break;" (if "if") (parenthesized_expression "(lVar6 == 0)" (( "(") (binary_expression "lVar6 == 0" (identifier "lVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" (identifier "lVar6") (= "=") (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar10 = *pbVar7 < *pbVar8;" (assignment_expression "bVar10 = *pbVar7 < *pbVar8" (identifier "bVar10") (= "=") (binary_expression "*pbVar7 < *pbVar8" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (< "<") (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")))) (; ";")) (expression_statement "bVar11 = *pbVar7 == *pbVar8;" (assignment_expression "bVar11 = *pbVar7 == *pbVar8" (identifier "bVar11") (= "=") (binary_expression "*pbVar7 == *pbVar8" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (== "==") (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")))) (; ";")) (expression_statement "pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar7 + (ulong)bVar12 * -2" (identifier "pbVar7") (+ "+") (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar12")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar8 + (ulong)bVar12 * -2" (identifier "pbVar8") (+ "+") (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar12")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar11)" (( "(") (identifier "bVar11") () ")")) (; ";")) (if_statement "if ((!bVar10 && !bVar11) == bVar10) {\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }\n        else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" (if "if") (parenthesized_expression "((!bVar10 && !bVar11) == bVar10)" (( "(") (binary_expression "(!bVar10 && !bVar11) == bVar10" (parenthesized_expression "(!bVar10 && !bVar11)" (( "(") (binary_expression "!bVar10 && !bVar11" (unary_expression "!bVar10" (! "!") (identifier "bVar10")) (&& "&&") (unary_expression "!bVar11" (! "!") (identifier "bVar11"))) () ")")) (== "==") (identifier "bVar10")) () ")")) (compound_statement "{\n          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;\n        }" ({ "{") (expression_statement "uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;" (assignment_expression "uVar3 = -(uint)(param_2 == 0) | 0xffffffbf" (identifier "uVar3") (= "=") (binary_expression "-(uint)(param_2 == 0) | 0xffffffbf" (unary_expression "-(uint)(param_2 == 0)" (- "-") (call_expression "(uint)(param_2 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")))) (| "|") (number_literal "0xffffffbf"))) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" (else "else") (compound_statement "{\n          iVar5 = FUN_0010d49f("permanent",pbVar2);\n          if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }\n          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];\n          if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }\n        }" ({ "{") (expression_statement "iVar5 = FUN_0010d49f("permanent",pbVar2);" (assignment_expression "iVar5 = FUN_0010d49f("permanent",pbVar2)" (identifier "iVar5") (= "=") (call_expression "FUN_0010d49f("permanent",pbVar2)" (identifier "FUN_0010d49f") (argument_list "("permanent",pbVar2)" (( "(") (string_literal ""permanent"" (" """) (string_content "permanent") (" """)) (, ",") (identifier "pbVar2") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");\n          }" ({ "{") (expression_statement "FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");" (call_expression "FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state")" (identifier "FUN_0010dc50") (argument_list "("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state")" (( "(") (string_literal ""invalid argument \'%s\' to \'%s\'"" (" """) (string_content "invalid argument ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " to ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (" """)) (, ",") (identifier "pbVar2") (, ",") (string_literal ""nud state"" (" """) (string_content "nud state") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];" (assignment_expression "uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5]" (identifier "uVar3") (= "=") (subscript_expression "(uint)(byte)(&DAT_001baa60)[iVar5]" (call_expression "(uint)(byte)(&DAT_001baa60)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (argument_list "(&DAT_001baa60)" (( "(") (pointer_expression "&DAT_001baa60" (& "&") (identifier "DAT_001baa60")) () ")"))) ([ "[") (identifier "iVar5") (] "]"))) (; ";")) (if_statement "if ((&DAT_001baa60)[iVar5] == 0) {\n            uVar3 = 0x100;\n          }" (if "if") (parenthesized_expression "((&DAT_001baa60)[iVar5] == 0)" (( "(") (binary_expression "(&DAT_001baa60)[iVar5] == 0" (subscript_expression "(&DAT_001baa60)[iVar5]" (parenthesized_expression "(&DAT_001baa60)" (( "(") (pointer_expression "&DAT_001baa60" (& "&") (identifier "DAT_001baa60")) () ")")) ([ "[") (identifier "iVar5") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar3 = 0x100;\n          }" ({ "{") (expression_statement "uVar3 = 0x100;" (assignment_expression "uVar3 = 0x100" (identifier "uVar3") (= "=") (number_literal "0x100")) (; ";")) (} "}"))) (} "}")))) (expression_statement "_DAT_001c6600 = _DAT_001c6600 | uVar3;" (assignment_expression "_DAT_001c6600 = _DAT_001c6600 | uVar3" (identifier "_DAT_001c6600") (= "=") (binary_expression "_DAT_001c6600 | uVar3" (identifier "_DAT_001c6600") (| "|") (identifier "uVar3"))) (; ";")) (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" (identifier "bVar11") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" (else "else") (compound_statement "{\n        if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }\n        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);\n        if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }\n      }" ({ "{") (if_statement "if (iVar5 == 0) {\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          param_1 = (long *)FUN_0013e77d(param_1);\n        }" ({ "{") (expression_statement "param_1 = (long *)FUN_0013e77d(param_1);" (assignment_expression "param_1 = (long *)FUN_0013e77d(param_1)" (identifier "param_1") (= "=") (cast_expression "(long *)FUN_0013e77d(param_1)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0013e77d(param_1)" (identifier "FUN_0013e77d") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (} "}"))) (expression_statement "FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);" (call_expression "FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff)" (identifier "FUN_0013e521") (argument_list "(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff)" (( "(") (pointer_expression "&DAT_001c6608" (& "&") (identifier "DAT_001c6608")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "_DAT_001c65f8 & 0xffffffff" (identifier "_DAT_001c65f8") (& "&") (number_literal "0xffffffff")) () ")"))) (; ";")) (if_statement "if (DAT_001c65f8 == 0) {\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" (if "if") (parenthesized_expression "(DAT_001c65f8 == 0)" (( "(") (binary_expression "DAT_001c65f8 == 0" (identifier "DAT_001c65f8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);\n        }" ({ "{") (expression_statement "_DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);" (assignment_expression "_DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" (identifier "_DAT_001c65f8") (= "=") (call_expression "CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" (identifier "CONCAT44") (argument_list "(_DAT_001c65fc,(uint)(byte)DAT_001c6608)" (( "(") (identifier "_DAT_001c65fc") (, ",") (cast_expression "(uint)(byte)DAT_001c6608" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)DAT_001c6608" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_001c6608"))) () ")")))) (; ";")) (} "}"))) (} "}")))))) (expression_statement "plVar1 = param_1 + 1;" (assignment_expression "plVar1 = param_1 + 1" (identifier "plVar1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*plVar1 != 0)" (( "(") (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "FUN_0013cca6(local_e78);" (call_expression "FUN_0013cca6(local_e78)" (identifier "FUN_0013cca6") (argument_list "(local_e78)" (( "(") (identifier "local_e78") () ")"))) (; ";")) (expression_statement "FUN_0013da55(local_e78);" (call_expression "FUN_0013da55(local_e78)" (identifier "FUN_0013da55") (argument_list "(local_e78)" (( "(") (identifier "local_e78") () ")"))) (; ";")) (if_statement "if (lVar9 != 0) {\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }" (if "if") (parenthesized_expression "(lVar9 != 0)" (( "(") (binary_expression "lVar9 != 0" (identifier "lVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = FUN_0013da32(lVar9);\n      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);\n      if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }\n    }" ({ "{") (expression_statement "iVar5 = FUN_0013da32(lVar9);" (assignment_expression "iVar5 = FUN_0013da32(lVar9)" (identifier "iVar5") (= "=") (call_expression "FUN_0013da32(lVar9)" (identifier "FUN_0013da32") (argument_list "(lVar9)" (( "(") (identifier "lVar9") () ")")))) (; ";")) (expression_statement "_DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);" (assignment_expression "_DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8)" (identifier "_DAT_001c65f8") (= "=") (call_expression "CONCAT44(iVar5,DAT_001c65f8)" (identifier "CONCAT44") (argument_list "(iVar5,DAT_001c65f8)" (( "(") (identifier "iVar5") (, ",") (identifier "DAT_001c65f8") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0010dc50("can\'t find device \'%s\'",lVar9);\n      }" ({ "{") (expression_statement "FUN_0010dc50("can\'t find device \'%s\'",lVar9);" (call_expression "FUN_0010dc50("can\'t find device \'%s\'",lVar9)" (identifier "FUN_0010dc50") (argument_list "("can\'t find device \'%s\'",lVar9)" (( "(") (string_literal ""can\'t find device \'%s\'"" (" """) (string_content "can") (escape_sequence "\'") (string_content "t find device ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (" """)) (, ",") (identifier "lVar9") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (if_statement "if (param_2 == 0) {\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }\n  else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);\n    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);\n    if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }\n    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n    if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }\n  }" ({ "{") (expression_statement "local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);" (assignment_expression "local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8)" (identifier "local_e84") (= "=") (call_expression "CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8)" (identifier "CONCAT71") (argument_list "(local_e84._1_7_,(char)_DAT_001c65f8)" (( "(") (field_expression "local_e84._1_7_" (identifier "local_e84") (. ".") (field_identifier "_1_7_")) (, ",") (cast_expression "(char)_DAT_001c65f8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "_DAT_001c65f8")) () ")")))) (; ";")) (expression_statement "iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);" (assignment_expression "iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc)" (identifier "iVar5") (= "=") (call_expression "FUN_0013cde5(local_e78,0x1e,&local_e84,0xc)" (identifier "FUN_0013cde5") (argument_list "(local_e78,0x1e,&local_e84,0xc)" (( "(") (identifier "local_e78") (, ",") (number_literal "0x1e") (, ",") (pointer_expression "&local_e84" (& "&") (identifier "local_e84")) (, ",") (number_literal "0xc") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0010d88d("can\'t send dump request");\n    }" ({ "{") (expression_statement "FUN_0010d88d("can\'t send dump request");" (call_expression "FUN_0010d88d("can\'t send dump request")" (identifier "FUN_0010d88d") (argument_list "("can\'t send dump request")" (( "(") (string_literal ""can\'t send dump request"" (" """) (string_content "can") (escape_sequence "\'") (string_content "t send dump request") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);" (assignment_expression "iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0)" (identifier "iVar5") (= "=") (call_expression "FUN_0013cec5(local_e78,&LAB_001391ce,0)" (identifier "FUN_0013cec5") (argument_list "(local_e78,&LAB_001391ce,0)" (( "(") (identifier "local_e78") (, ",") (pointer_expression "&LAB_001391ce" (& "&") (identifier "LAB_001391ce")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n                    \n      FUN_0010dc50("dump terminated");\n    }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0010dc50("dump terminated");\n    }" ({ "{") (expression_statement "FUN_0010dc50("dump terminated");" (call_expression "FUN_0010dc50("dump terminated")" (identifier "FUN_0010dc50") (argument_list "("dump terminated")" (( "(") (string_literal ""dump terminated"" (" """) (string_content "dump terminated") (" """)) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" (else "else") (compound_statement "{\n    _DAT_001c6620 = local_e48;\n    _DAT_001c6628 = 0xe0000000000;\n    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;\n    iVar5 = 0;\n    DAT_001c6630 = local_e78;\n    while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }\n    if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }\n  }" ({ "{") (expression_statement "_DAT_001c6620 = local_e48;" (assignment_expression "_DAT_001c6620 = local_e48" (identifier "_DAT_001c6620") (= "=") (identifier "local_e48")) (; ";")) (expression_statement "_DAT_001c6628 = 0xe0000000000;" (assignment_expression "_DAT_001c6628 = 0xe0000000000" (identifier "_DAT_001c6628") (= "=") (number_literal "0xe0000000000")) (; ";")) (expression_statement "_DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;" (assignment_expression "_DAT_001c6600 = _DAT_001c6600 & 0xffffffdf" (identifier "_DAT_001c6600") (= "=") (binary_expression "_DAT_001c6600 & 0xffffffdf" (identifier "_DAT_001c6600") (& "&") (number_literal "0xffffffdf"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001c6630 = local_e78;" (assignment_expression "DAT_001c6630 = local_e78" (identifier "DAT_001c6630") (= "=") (identifier "local_e78")) (; ";")) (while_statement "while( true ) {\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }\n      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;\n      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);\n      if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }\n      if (DAT_001c661c == 0) break;\n      iVar4 = FUN_00138d27();\n      if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }\n      iVar5 = iVar5 + 1;\n      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);\n      if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }\n    }" ({ "{") (expression_statement "iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);" (assignment_expression "iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" (identifier "iVar4") (= "=") (call_expression "FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" (identifier "FUN_0013cd7d") (argument_list "(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e)" (( "(") (identifier "local_e78") (, ",") (binary_expression "_DAT_001c65f8 & 0xffffffff" (identifier "_DAT_001c65f8") (& "&") (number_literal "0xffffffff")) (, ",") (number_literal "0x1e") () ")")))) (; ";")) (if_statement "if (iVar4 < 0) {\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0010d88d("can\'t send dump request");\n      }" ({ "{") (expression_statement "FUN_0010d88d("can\'t send dump request");" (call_expression "FUN_0010d88d("can\'t send dump request")" (identifier "FUN_0010d88d") (argument_list "("can\'t send dump request")" (( "(") (string_literal ""can\'t send dump request"" (" """) (string_content "can") (escape_sequence "\'") (string_content "t send dump request") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "_DAT_001c6618 = _DAT_001c6618 & 0xffffffff;" (assignment_expression "_DAT_001c6618 = _DAT_001c6618 & 0xffffffff" (identifier "_DAT_001c6618") (= "=") (binary_expression "_DAT_001c6618 & 0xffffffff" (identifier "_DAT_001c6618") (& "&") (number_literal "0xffffffff"))) (; ";")) (expression_statement "iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);" (assignment_expression "iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0)" (identifier "iVar4") (= "=") (call_expression "FUN_0013cec5(local_e78,&LAB_001391ce,0)" (identifier "FUN_0013cec5") (argument_list "(local_e78,&LAB_001391ce,0)" (( "(") (identifier "local_e78") (, ",") (pointer_expression "&LAB_001391ce" (& "&") (identifier "LAB_001391ce")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar4 < 0) {\n                    \n        FUN_0010d88d("flush terminated");\n      }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0010d88d("flush terminated");\n      }" ({ "{") (expression_statement "FUN_0010d88d("flush terminated");" (call_expression "FUN_0010d88d("flush terminated")" (identifier "FUN_0010d88d") (argument_list "("flush terminated")" (( "(") (string_literal ""flush terminated"" (" """) (string_content "flush terminated") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_001c661c == 0) break;" (if "if") (parenthesized_expression "(DAT_001c661c == 0)" (( "(") (binary_expression "DAT_001c661c == 0" (identifier "DAT_001c661c") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = FUN_00138d27();" (assignment_expression "iVar4 = FUN_00138d27()" (identifier "iVar4") (= "=") (call_expression "FUN_00138d27()" (identifier "FUN_00138d27") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 < 0) {\n                    \n        FUN_0010de6a();\n      }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0010de6a();\n      }" ({ "{") (expression_statement "FUN_0010de6a();" (call_expression "FUN_0010de6a()" (identifier "FUN_0010de6a") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);" (call_expression "__printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c)" (identifier "__printf_chk") (argument_list "(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c)" (( "(") (number_literal "1") (, ",") (string_literal ""\n*** Round %d, deleting %d entries ***\n"" (" """) (escape_sequence "\n") (string_content "*** Round %d, deleting %d entries ***") (escape_sequence "\n") (" """)) (, ",") (identifier "iVar5") (, ",") (identifier "DAT_001c661c") () ")"))) (; ";")) (if_statement "if (iVar5 == 10) {\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }" (if "if") (parenthesized_expression "(iVar5 == 10)" (( "(") (binary_expression "iVar5 == 10" (identifier "iVar5") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n                    \n        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);\n      }" ({ "{") (expression_statement "FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);" (call_expression "FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10)" (identifier "FUN_0010dc50") (argument_list "("*** Flush not complete bailing out after %d rounds",10)" (( "(") (string_literal ""*** Flush not complete bailing out after %d rounds"" (" """) (string_content "*** Flush not complete bailing out after %d rounds") (" """)) (, ",") (number_literal "10") () ")"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (iVar5 == 0) {\n      puts("Nothing to flush");\n    }\n    else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puts("Nothing to flush");\n    }" ({ "{") (expression_statement "puts("Nothing to flush");" (call_expression "puts("Nothing to flush")" (identifier "puts") (argument_list "("Nothing to flush")" (( "(") (string_literal ""Nothing to flush"" (" """) (string_content "Nothing to flush") (" """)) () ")"))) (; ";")) (} "}")) (else_clause "else {\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" (else "else") (compound_statement "{\n      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);\n    }" ({ "{") (expression_statement "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);" (call_expression "__printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5)" (identifier "__printf_chk") (argument_list "(1,"*** Flush is complete after %d round(s) ***\n",iVar5)" (( "(") (number_literal "1") (, ",") (string_literal ""*** Flush is complete after %d round(s) ***\n"" (" """) (string_content "*** Flush is complete after %d round(s) ***") (escape_sequence "\n") (" """)) (, ",") (identifier "iVar5") () ")"))) (; ";")) (} "}")))) (} "}")))) (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (!= "!=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

int function_1(char **var_19,int var_2)

{
  long var_32;
  type_1 *key;
  type_2 var_15;
  int var_26;
  int var_8;
  long var_10;
  type_1 *var_11;
  char *var_4;
  type_1 *var_12;
  char *var_20;
  long var_1;
  bool var_13;
  bool bVar9;
  type_1 bVar10;
  type_3 ndm;
  type_4 rth;
  char flushb [3584];
  
  bVar10 = 0;
  var_32 = *(long *)(var_1 + 0x28);
  ndm.ndm_family = '\0';
  ndm.ndm_pad1 = '\0';
  ndm.ndm_pad2 = 0;
  ndm.ndm_ifindex = 0;
  ndm.ndm_state = 0;
  ndm.ndm_flags = '\0';
  ndm.ndm_type = '\0';
  _bb_common_bufsiz1 = 0;
  DAT_001c6608 = 0;
  DAT_001c6610 = 0;
  var_27 = 0;
  _DAT_001c6620 = (char *)0x0;
  _DAT_001c6628 = 0;
  _DAT_001c6630 = (type_4 *)0x0;
  DAT_001c6604 = 0;
  _DAT_001c6600 = 0xffffffff;
  if ((var_2 != 0) && (*var_19 == (char *)0x0)) {
                    /* WARNING: Subroutine does not return */
    var_3("%s requires an argument","\"ip neigh flush\"");
  }
  _bb_common_bufsiz1 = (type_5)(type_2)(int)preferred_family;
  var_14 = (-(type_2)(var_2 == 0) & 0x180) - 0xc1;
  var_4 = *var_19;
  if (var_4 == (char *)0x0) {
    var_5(&rth);
    var_6(&rth);
  }
  else {
    bVar9 = false;
    var_20 = (char *)0x0;
    do {
      var_8 = var_7("to",var_4);
      if (var_8 == 1) {
        var_19 = var_9(var_19);
        var_20 = *var_19;
      }
      else if (var_8 == 2) {
        var_19 = var_9(var_19);
        var_13 = false;
        bVar9 = !bVar9;
        if (bVar9) {
          var_14 = 0;
        }
        key = (type_1 *)*var_19;
        var_10 = 4;
        var_11 = key;
        var_12 = (type_1 *)0x1b7a25;
        do {
          if (var_10 == 0) break;
          var_10 = var_10 + -1;
          var_13 = *var_11 < *var_12;
          bVar9 = *var_11 == *var_12;
          var_11 = var_11 + (type_5)bVar10 * -2 + 1;
          var_12 = var_12 + (type_5)bVar10 * -2 + 1;
        } while (bVar9);
        if ((!var_13 && !bVar9) == var_13) {
          var_15 = -(type_2)(var_2 == 0) | 0xffffffbf;
        }
        else {
          var_8 = var_7("permanent",(char *)key);
          if (var_8 < 0) {
                    /* WARNING: Subroutine does not return */
            var_3("invalid argument \'%s\' to \'%s\'",key,"nud state");
          }
          var_15 = (type_2)(type_1)(&nuds_10897)[var_8];
          if ((&nuds_10897)[var_8] == 0) {
            var_15 = 0x100;
          }
        }
        var_14 = var_14 | var_15;
        bVar9 = true;
      }
      else {
        if (var_8 == 0) {
          var_19 = var_9(var_19);
        }
        var_16((type_6 *)&DAT_001c6608,*var_19,var_17);
        if (var_17 == 0) {
          _bb_common_bufsiz1 = var_18(DAT_001c65fc,(type_2)(type_1)DAT_001c6608);
        }
      }
      var_4 = var_19[1];
      var_19 = var_19 + 1;
    } while (var_4 != (char *)0x0);
    var_5(&rth);
    var_6(&rth);
    if (var_20 != (char *)0x0) {
      var_8 = var_21(var_20);
      _bb_common_bufsiz1 = var_18(var_8,var_17);
      if (var_8 == 0) {
                    /* WARNING: Subroutine does not return */
        var_3("can\'t find device \'%s\'",var_20);
      }
    }
  }
  if (var_2 == 0) {
    ndm.ndm_family = (type_7)_bb_common_bufsiz1;
    var_8 = var_22(&rth,0x1e,&ndm,0xc);
    if (var_8 < 0) {
                    /* WARNING: Subroutine does not return */
      var_23("can\'t send dump request");
    }
    var_8 = var_24(&rth,print_neigh,(void *)0x0);
    if (var_8 < 0) {
                    /* WARNING: Subroutine does not return */
      var_3("dump terminated");
    }
  }
  else {
    _DAT_001c6620 = flushb;
    _DAT_001c6628 = 0xe0000000000;
    var_14 = var_14 & 0xffffffdf;
    var_8 = 0;
    _DAT_001c6630 = &rth;
    while( true ) {
      var_26 = var_25(&rth,var_17,0x1e);
      if (var_26 < 0) {
                    /* WARNING: Subroutine does not return */
        var_23("can\'t send dump request");
      }
      var_27 = var_27 & 0xffffffff;
      var_26 = var_24(&rth,print_neigh,(void *)0x0);
      if (var_26 < 0) {
                    /* WARNING: Subroutine does not return */
        var_23("flush terminated");
      }
      if (var_27._4_4_ == 0) break;
      var_26 = var_28();
      if (var_26 < 0) {
                    /* WARNING: Subroutine does not return */
        var_29();
      }
      var_8 = var_8 + 1;
      var_30(1,"\n*** Round %d, deleting %d entries ***\n",var_8,var_27._4_4_);
      if (var_8 == 10) {
                    /* WARNING: Subroutine does not return */
        var_3("*** Flush not complete bailing out after %d rounds",10);
      }
    }
    if (var_8 == 0) {
      var_31("Nothing to flush");
    }
    else {
      var_30(1,"*** Flush is complete after %d round(s) ***\n",var_8);
    }
  }
  if (var_32 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_33();
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (escape_sequence) (string_content) (escape_sequence))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (escape_sequence) (string_content) (escape_sequence)) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (number_literal)))))

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

undefined8 MASKED(long *param_1,int param_2)

{
  long *plVar1;
  byte *pbVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  long lVar6;
  byte *pbVar7;
  byte *pbVar8;
  long lVar9;
  long in_FS_OFFSET;
  bool bVar10;
  bool bVar11;
  byte bVar12;
  undefined8 local_e84;
  undefined4 local_e7c;
  undefined1 local_e78 [48];
  undefined1 local_e48 [3592];
  long local_40;
  
  bVar12 = 0;
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  local_e84 = 0;
  local_e7c = 0;
  _DAT_001c65f8 = 0;
  DAT_001c6608 = 0;
  DAT_001c6610 = 0;
  _DAT_001c6618 = 0;
  _DAT_001c6620 = (undefined1 *)0x0;
  _DAT_001c6628 = 0;
  DAT_001c6630 = (undefined1 *)0x0;
  _DAT_001c6604 = 0;
  _DAT_001c6600 = 0xffffffff;
  if ((param_2 != 0) && (*param_1 == 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_0010dc50("%s requires an argument","\"ip neigh flush\"");
  }
  _DAT_001c65f8 = (ulong)(uint)(int)DAT_001c65a6;
  _DAT_001c6600 = (-(uint)(param_2 == 0) & 0x180) - 0xc1;
  if (*param_1 == 0) {
    FUN_0013cca6(local_e78);
    FUN_0013da55(local_e78);
  }
  else {
    bVar11 = false;
    lVar9 = 0;
    do {
      iVar5 = FUN_0010d49f(&DAT_001baaad);
      if (iVar5 == 1) {
        param_1 = (long *)FUN_0013e77d(param_1);
        lVar9 = *param_1;
      }
      else if (iVar5 == 2) {
        param_1 = (long *)FUN_0013e77d(param_1);
        bVar10 = false;
        bVar11 = !bVar11;
        if (bVar11) {
          _DAT_001c6600 = 0;
        }
        pbVar2 = (byte *)*param_1;
        lVar6 = 4;
        pbVar7 = pbVar2;
        pbVar8 = (byte *)0x1b7a25;
        do {
          if (lVar6 == 0) break;
          lVar6 = lVar6 + -1;
          bVar10 = *pbVar7 < *pbVar8;
          bVar11 = *pbVar7 == *pbVar8;
          pbVar7 = pbVar7 + (ulong)bVar12 * -2 + 1;
          pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;
        } while (bVar11);
        if ((!bVar10 && !bVar11) == bVar10) {
          uVar3 = -(uint)(param_2 == 0) | 0xffffffbf;
        }
        else {
          iVar5 = FUN_0010d49f("permanent",pbVar2);
          if (iVar5 < 0) {
                    /* WARNING: Subroutine does not return */
            FUN_0010dc50("invalid argument \'%s\' to \'%s\'",pbVar2,"nud state");
          }
          uVar3 = (uint)(byte)(&DAT_001baa60)[iVar5];
          if ((&DAT_001baa60)[iVar5] == 0) {
            uVar3 = 0x100;
          }
        }
        _DAT_001c6600 = _DAT_001c6600 | uVar3;
        bVar11 = true;
      }
      else {
        if (iVar5 == 0) {
          param_1 = (long *)FUN_0013e77d(param_1);
        }
        FUN_0013e521(&DAT_001c6608,*param_1,_DAT_001c65f8 & 0xffffffff);
        if (DAT_001c65f8 == 0) {
          _DAT_001c65f8 = CONCAT44(_DAT_001c65fc,(uint)(byte)DAT_001c6608);
        }
      }
      plVar1 = param_1 + 1;
      param_1 = param_1 + 1;
    } while (*plVar1 != 0);
    FUN_0013cca6(local_e78);
    FUN_0013da55(local_e78);
    if (lVar9 != 0) {
      iVar5 = FUN_0013da32(lVar9);
      _DAT_001c65f8 = CONCAT44(iVar5,DAT_001c65f8);
      if (iVar5 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010dc50("can\'t find device \'%s\'",lVar9);
      }
    }
  }
  if (param_2 == 0) {
    local_e84 = CONCAT71(local_e84._1_7_,(char)_DAT_001c65f8);
    iVar5 = FUN_0013cde5(local_e78,0x1e,&local_e84,0xc);
    if (iVar5 < 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0010d88d("can\'t send dump request");
    }
    iVar5 = FUN_0013cec5(local_e78,&LAB_001391ce,0);
    if (iVar5 < 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0010dc50("dump terminated");
    }
  }
  else {
    _DAT_001c6620 = local_e48;
    _DAT_001c6628 = 0xe0000000000;
    _DAT_001c6600 = _DAT_001c6600 & 0xffffffdf;
    iVar5 = 0;
    DAT_001c6630 = local_e78;
    while( true ) {
      iVar4 = FUN_0013cd7d(local_e78,_DAT_001c65f8 & 0xffffffff,0x1e);
      if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010d88d("can\'t send dump request");
      }
      _DAT_001c6618 = _DAT_001c6618 & 0xffffffff;
      iVar4 = FUN_0013cec5(local_e78,&LAB_001391ce,0);
      if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010d88d("flush terminated");
      }
      if (DAT_001c661c == 0) break;
      iVar4 = FUN_00138d27();
      if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0010de6a();
      }
      iVar5 = iVar5 + 1;
      __printf_chk(1,"\n*** Round %d, deleting %d entries ***\n",iVar5,DAT_001c661c);
      if (iVar5 == 10) {
                    /* WARNING: Subroutine does not return */
        FUN_0010dc50("*** Flush not complete bailing out after %d rounds",10);
      }
    }
    if (iVar5 == 0) {
      puts("Nothing to flush");
    }
    else {
      __printf_chk(1,"*** Flush is complete after %d round(s) ***\n",iVar5);
    }
  }
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return 0;
}

