
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int rtnl_talk(rtnl_handle *rtnl,nlmsghdr *n,nlmsghdr *answer)

{
  iovec iov;
  sockaddr_nl nladdr;
  msghdr msg;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)

{
  int *piVar1;
  uint *__ptr;
  ssize_t sVar2;
  int iVar3;
  uint extraout_ECX;
  uint extraout_ECX_00;
  uint extraout_ECX_01;
  uint extraout_ECX_02;
  uint uVar4;
  uint *puVar5;
  undefined1 *puVar6;
  uint uVar7;
  int in_GS_OFFSET;
  byte bVar8;
  msghdr *pmVar9;
  undefined4 uVar10;
  uint uVar11;
  iovec local_50;
  undefined2 local_48;
  undefined1 local_46 [2];
  int local_44;
  msghdr local_3c;
  int local_20;
  
  bVar8 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_50.iov_len = *param_2;
  local_50.iov_base = param_2;
  __ptr = (uint *)FUN_00019b1c();
  local_3c.msg_name = &local_48;
  local_3c.msg_namelen = 0xc;
  local_3c.msg_iov = &local_50;
  local_3c.msg_iovlen = 1;
  local_3c.msg_control = (void *)0x0;
  local_3c.msg_controllen = 0;
  local_3c.msg_flags = 0;
  puVar6 = local_46;
  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {
    *puVar6 = 0;
    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;
  }
  local_48 = 0x10;
  uVar7 = param_1[7] + 1;
  param_1[7] = uVar7;
  param_2[2] = uVar7;
  if (param_3 == (undefined1 *)0x0) {
    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;
  }
  uVar10 = 0;
  pmVar9 = &local_3c;
  sVar2 = sendmsg(*param_1,&local_3c,0);
  piVar1 = DAT_000d16fc;
  uVar4 = extraout_ECX;
  puVar5 = __ptr;
  if (sVar2 < 0) {
    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);
    uVar10 = 0xffffffff;
  }
  else {
    while( true ) {
      while( true ) {
        local_50.iov_base = puVar5;
        local_50.iov_len = 0x2000;
        uVar10 = 0;
        uVar11 = uVar4;
        iVar3 = recvmsg(*param_1,&local_3c,0);
        uVar4 = extraout_ECX_00;
        if (-1 < iVar3) break;
        puVar5 = (uint *)local_50.iov_base;
        if (*piVar1 != 4) {
          FUN_00018e3c("OVERRUN");
          uVar4 = extraout_ECX_01;
          puVar5 = (uint *)local_50.iov_base;
        }
      }
      if (iVar3 == 0) break;
      puVar5 = __ptr;
      if (local_3c.msg_namelen != 0xc) {
                    /* WARNING: Subroutine does not return */
        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);
      }
      while (0xf < iVar3) {
        uVar4 = *puVar5;
        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {
          if ((local_3c.msg_flags & 0x20U) == 0) {
                    /* WARNING: Subroutine does not return */
            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);
          }
          FUN_000191bd("truncated message");
          uVar10 = 0xffffffff;
          goto LAB_00048b13;
        }
        if (local_44 != 0) {
          do {
                    /* WARNING: Do nothing block with infinite loop */
          } while( true );
        }
        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {
          if ((short)puVar5[1] == 2) {
            if ((int)(uVar4 - 0x10) < 0x14) {
              FUN_000191bd("ERROR truncated");
              uVar10 = 0xffffffff;
            }
            else {
              uVar7 = puVar5[4];
              *DAT_000d16fc = -uVar7;
              if (uVar7 == 0) {
                uVar10 = 0;
                if (param_3 != (undefined1 *)0x0) {
                  uVar7 = *puVar5;
                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {
                    *param_3 = (char)*puVar5;
                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);
                    param_3 = param_3 + (uint)bVar8 * -2 + 1;
                  }
                }
              }
              else {
                FUN_00018e3c("RTNETLINK answers");
                uVar10 = 0xffffffff;
              }
            }
            goto LAB_00048b13;
          }
          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;
          FUN_000191bd("unexpected reply!");
          uVar4 = uVar4 + 3 & 0xfffffffc;
          iVar3 = iVar3 - uVar4;
          puVar5 = (uint *)((int)puVar5 + uVar4);
        }
      }
      if ((local_3c.msg_flags & 0x20U) == 0) {
        puVar5 = (uint *)local_50.iov_base;
        if (iVar3 != 0) {
                    /* WARNING: Subroutine does not return */
          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);
        }
      }
      else {
        FUN_000191bd("message truncated");
        uVar4 = extraout_ECX_02;
        puVar5 = (uint *)local_50.iov_base;
      }
    }
    FUN_000191bd("EOF on netlink");
    uVar10 = 0xffffffff;
  }
LAB_00048b13:
  free(__ptr);
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00017e10();
  }
  return uVar10;
code_r0x00048b0f:
  for (; uVar4 != 0; uVar4 = uVar4 - 1) {
    *param_3 = (char)*puVar5;
    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);
    param_3 = param_3 + (uint)bVar8 * -2 + 1;
  }
  uVar10 = 0;
  goto LAB_00048b13;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x6c
CALL 0x00017640
ADD EBX,0x88117
MOV EBP,EAX
MOV ESI,EDX
MOV dword ptr [ESP + 0x8],ECX
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x5c],EDI
XOR EDI,EDI
MOV dword ptr [ESP + 0x2c],EDX
MOV EAX,dword ptr [EDX]
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,0x2000
CALL 0x00019b1c
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[ESP + 0x34]
MOV dword ptr [ESP + 0x40],EAX
MOV dword ptr [ESP + 0x44],0xc
LEA EAX,[ESP + 0x2c]
MOV dword ptr [ESP + 0x48],EAX
MOV dword ptr [ESP + 0x4c],0x1
MOV dword ptr [ESP + 0x50],0x0
MOV dword ptr [ESP + 0x54],0x0
MOV dword ptr [ESP + 0x58],0x0
LEA EDX,[ESP + 0x36]
MOV ECX,0xa
XOR EAX,EAX
MOV EDI,EDX
STOSB.REP ES:EDI
MOV word ptr [ESP + 0x34],0x10
MOV EDI,dword ptr [EBP + 0x1c]
INC EDI
MOV dword ptr [EBP + 0x1c],EDI
MOV dword ptr [ESI + 0x8],EDI
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JNZ 0x000489a1
OR word ptr [ESI + 0x6],0x4
PUSH ESI
PUSH 0x0
LEA EAX,[ESP + 0x48]
MOV dword ptr [ESP + 0x14],EAX
PUSH EAX
PUSH dword ptr [EBP]
CALL 0x00017080
ADD ESP,0x10
TEST EAX,EAX
JS 0x00048bc9
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[EBX + 0xffff730c]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EBX + 0xcdc]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x30],0x2000
PUSH ECX
PUSH 0x0
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [EBP]
CALL 0x00017200
ADD ESP,0x10
TEST EAX,EAX
JNS 0x00048a17
MOV EAX,dword ptr [ESP + 0x14]
CMP dword ptr [EAX],0x4
JZ 0x000489dc
SUB ESP,0xc
LEA EAX,[EBX + 0xffff724c]
PUSH EAX
CALL 0x00018e3c
ADD ESP,0x10
JMP 0x000489dc
JNZ 0x00048a35
SUB ESP,0xc
LEA EAX,[EBX + 0xffff7254]
PUSH EAX
CALL 0x000191bd
ADD ESP,0x10
MOV EBP,0xffffffff
JMP 0x00048b13
MOV EDX,dword ptr [ESP + 0x44]
CMP EDX,0xc
JNZ 0x00048bb9
MOV ESI,dword ptr [ESP + 0x4]
CMP EAX,0xf
JLE 0x00048a7f
MOV ECX,dword ptr [ESI]
MOV EDX,ECX
SUB EDX,0x10
MOV dword ptr [ESP + 0x18],EDX
JNS 0x00048ab5
TEST byte ptr [ESP + 0x58],0x20
JZ 0x00048ba9
SUB ESP,0xc
LEA EAX,[EBX + 0xffff72df]
PUSH EAX
CALL 0x000191bd
ADD ESP,0x10
MOV EBP,0xffffffff
JMP 0x00048b13
TEST byte ptr [ESP + 0x58],0x20
JZ 0x00048a9d
SUB ESP,0xc
LEA EAX,[EBX + 0xffff72a1]
PUSH EAX
CALL 0x000191bd
ADD ESP,0x10
JMP 0x000489dc
TEST EAX,EAX
JZ 0x000489dc
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffff72b3]
PUSH EAX
CALL 0x000191a6
CMP ECX,EAX
JG 0x00048a58
MOV EDX,dword ptr [ESP + 0x38]
TEST EDX,EDX
JZ 0x00048ac3
JMP 0x00048ac1
MOV EDX,dword ptr [EBP + 0x8]
CMP dword ptr [ESI + 0xc],EDX
JNZ 0x00048a46
CMP EDI,dword ptr [ESI + 0x8]
JNZ 0x00048a46
CMP word ptr [ESI + 0x4],0x2
JNZ 0x00048b05
MOV EDX,dword ptr [ESP + 0x18]
CMP EDX,0x13
JG 0x00048b6c
SUB ESP,0xc
LEA EAX,[EBX + 0xffff727f]
PUSH EAX
CALL 0x000191bd
ADD ESP,0x10
MOV EBP,0xffffffff
JMP 0x00048b13
MOV EDX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JZ 0x00048b39
MOV EDI,EDX
MOVSB.REP ES:EDI,ESI
XOR EBP,EBP
SUB ESP,0xc
PUSH dword ptr [ESP + 0x10]
CALL 0x000175a0
ADD ESP,0x10
MOV EAX,EBP
MOV EBX,dword ptr [ESP + 0x5c]
XOR EBX,dword ptr GS:[0x14]
JNZ 0x00048b67
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x1c],ECX
MOV dword ptr [ESP + 0x18],EAX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x000191bd
MOV ECX,dword ptr [ESP + 0x2c]
ADD ECX,0x3
AND ECX,0xfffffffc
MOV EAX,dword ptr [ESP + 0x28]
SUB EAX,ECX
ADD ESI,ECX
ADD ESP,0x10
JMP 0x00048a46
CALL 0x00017e10
MOV EBP,dword ptr [ESI + 0x10]
MOV EDX,EBP
NEG EDX
MOV EAX,dword ptr [EBX + 0xcdc]
MOV dword ptr [EAX],EDX
TEST EBP,EBP
JNZ 0x00048b8d
MOV EDI,dword ptr [ESP + 0x8]
TEST EDI,EDI
JZ 0x00048b13
MOV ECX,dword ptr [ESI]
MOVSB.REP ES:EDI,ESI
JMP 0x00048b13
SUB ESP,0xc
LEA EAX,[EBX + 0xffff728f]
PUSH EAX
CALL 0x00018e3c
ADD ESP,0x10
MOV EBP,0xffffffff
JMP 0x00048b13
SUB ESP,0x8
PUSH ECX
LEA EAX,[EBX + 0xffff72f1]
PUSH EAX
CALL 0x000191a6
SUB ESP,0x8
PUSH EDX
LEA EAX,[EBX + 0xffff7263]
PUSH EAX
CALL 0x000191a6
SUB ESP,0xc
LEA EAX,[EBX + 0xffff72c7]
PUSH EAX
CALL 0x00018e3c
ADD ESP,0x10
MOV EBP,0xffffffff
JMP 0x00048b13
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)\n\n{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)\n\n{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)" identifier (parameter_list "(int *param_1,uint *param_2,undefined1 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "ssize_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "uint extraout_ECX_00;" type_identifier identifier ;) (declaration "uint extraout_ECX_01;" type_identifier identifier ;) (declaration "uint extraout_ECX_02;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "msghdr *pmVar9;" type_identifier (pointer_declarator "*pmVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "iovec local_50;" type_identifier identifier ;) (declaration "undefined2 local_48;" type_identifier identifier ;) (declaration "undefined1 local_46 [2];" type_identifier (array_declarator "local_46 [2]" identifier [ number_literal ]) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "msghdr local_3c;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_50.iov_len = *param_2;" (assignment_expression "local_50.iov_len = *param_2" (field_expression "local_50.iov_len" identifier . field_identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_50.iov_base = param_2;" (assignment_expression "local_50.iov_base = param_2" (field_expression "local_50.iov_base" identifier . field_identifier) = identifier) ;) (expression_statement "__ptr = (uint *)FUN_00019b1c();" (assignment_expression "__ptr = (uint *)FUN_00019b1c()" identifier = (cast_expression "(uint *)FUN_00019b1c()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (expression_statement "local_3c.msg_name = &local_48;" (assignment_expression "local_3c.msg_name = &local_48" (field_expression "local_3c.msg_name" identifier . field_identifier) = (pointer_expression "&local_48" & identifier)) ;) (expression_statement "local_3c.msg_namelen = 0xc;" (assignment_expression "local_3c.msg_namelen = 0xc" (field_expression "local_3c.msg_namelen" identifier . field_identifier) = number_literal) ;) (expression_statement "local_3c.msg_iov = &local_50;" (assignment_expression "local_3c.msg_iov = &local_50" (field_expression "local_3c.msg_iov" identifier . field_identifier) = (pointer_expression "&local_50" & identifier)) ;) (expression_statement "local_3c.msg_iovlen = 1;" (assignment_expression "local_3c.msg_iovlen = 1" (field_expression "local_3c.msg_iovlen" identifier . field_identifier) = number_literal) ;) (expression_statement "local_3c.msg_control = (void *)0x0;" (assignment_expression "local_3c.msg_control = (void *)0x0" (field_expression "local_3c.msg_control" identifier . field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_3c.msg_controllen = 0;" (assignment_expression "local_3c.msg_controllen = 0" (field_expression "local_3c.msg_controllen" identifier . field_identifier) = number_literal) ;) (expression_statement "local_3c.msg_flags = 0;" (assignment_expression "local_3c.msg_flags = 0" (field_expression "local_3c.msg_flags" identifier . field_identifier) = number_literal) ;) (expression_statement "puVar6 = local_46;" (assignment_expression "puVar6 = local_46" identifier = identifier) ;) (for_statement "for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }" for ( (assignment_expression "iVar3 = 10" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }" { (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6 = puVar6 + (uint)bVar8 * -2 + 1;" (assignment_expression "puVar6 = puVar6 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "puVar6 + (uint)bVar8 * -2 + 1" (binary_expression "puVar6 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_48 = 0x10;" (assignment_expression "local_48 = 0x10" identifier = number_literal) ;) (expression_statement "uVar7 = param_1[7] + 1;" (assignment_expression "uVar7 = param_1[7] + 1" identifier = (binary_expression "param_1[7] + 1" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[7] = uVar7;" (assignment_expression "param_1[7] = uVar7" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = uVar7;" (assignment_expression "param_2[2] = uVar7" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }" if (parenthesized_expression "(param_3 == (undefined1 *)0x0)" ( (binary_expression "param_3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }" { (expression_statement "*(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;" (assignment_expression "*(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4" (pointer_expression "*(ushort *)((int)param_2 + 6)" * (cast_expression "(ushort *)((int)param_2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(ushort *)((int)param_2 + 6) | 4" (pointer_expression "*(ushort *)((int)param_2 + 6)" * (cast_expression "(ushort *)((int)param_2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) | number_literal)) ;) })) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "pmVar9 = &local_3c;" (assignment_expression "pmVar9 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (expression_statement "sVar2 = sendmsg(*param_1,&local_3c,0);" (assignment_expression "sVar2 = sendmsg(*param_1,&local_3c,0)" identifier = (call_expression "sendmsg(*param_1,&local_3c,0)" identifier (argument_list "(*param_1,&local_3c,0)" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "&local_3c" & identifier) , number_literal )))) ;) (expression_statement "piVar1 = DAT_000d16fc;" (assignment_expression "piVar1 = DAT_000d16fc" identifier = identifier) ;) (expression_statement "uVar4 = extraout_ECX;" (assignment_expression "uVar4 = extraout_ECX" identifier = identifier) ;) (expression_statement "puVar5 = __ptr;" (assignment_expression "puVar5 = __ptr" identifier = identifier) ;) (if_statement "if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" if (parenthesized_expression "(sVar2 < 0)" ( (binary_expression "sVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }" { (expression_statement "FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);" (call_expression "FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2)" identifier (argument_list "("can\'t talk to rtnetlink",pmVar9,uVar10,param_2)" ( (string_literal ""can\'t talk to rtnetlink"" " string_content escape_sequence string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" else (compound_statement "{\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" { (while_statement "while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }" { (while_statement "while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }" { (expression_statement "local_50.iov_base = puVar5;" (assignment_expression "local_50.iov_base = puVar5" (field_expression "local_50.iov_base" identifier . field_identifier) = identifier) ;) (expression_statement "local_50.iov_len = 0x2000;" (assignment_expression "local_50.iov_len = 0x2000" (field_expression "local_50.iov_len" identifier . field_identifier) = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = uVar4;" (assignment_expression "uVar11 = uVar4" identifier = identifier) ;) (expression_statement "iVar3 = recvmsg(*param_1,&local_3c,0);" (assignment_expression "iVar3 = recvmsg(*param_1,&local_3c,0)" identifier = (call_expression "recvmsg(*param_1,&local_3c,0)" identifier (argument_list "(*param_1,&local_3c,0)" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "&local_3c" & identifier) , number_literal )))) ;) (expression_statement "uVar4 = extraout_ECX_00;" (assignment_expression "uVar4 = extraout_ECX_00" identifier = identifier) ;) (if_statement "if (-1 < iVar3) break;" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) (if_statement "if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }" if (parenthesized_expression "(*piVar1 != 4)" ( (binary_expression "*piVar1 != 4" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }" { (expression_statement "FUN_00018e3c("OVERRUN");" (call_expression "FUN_00018e3c("OVERRUN")" identifier (argument_list "("OVERRUN")" ( (string_literal ""OVERRUN"" " string_content ") ))) ;) (expression_statement "uVar4 = extraout_ECX_01;" (assignment_expression "uVar4 = extraout_ECX_01" identifier = identifier) ;) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) })) })) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = __ptr;" (assignment_expression "puVar5 = __ptr" identifier = identifier) ;) (if_statement "if (local_3c.msg_namelen != 0xc) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }" if (parenthesized_expression "(local_3c.msg_namelen != 0xc)" ( (binary_expression "local_3c.msg_namelen != 0xc" (field_expression "local_3c.msg_namelen" identifier . field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }" { comment (expression_statement "FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);" (call_expression "FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11)" identifier (argument_list "("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11)" ( (string_literal ""sender address length == %d"" " string_content ") , (field_expression "local_3c.msg_namelen" identifier . field_identifier) , identifier , identifier ))) ;) })) (while_statement "while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }" while (parenthesized_expression "(0xf < iVar3)" ( (binary_expression "0xf < iVar3" number_literal < identifier) )) (compound_statement "{\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }" { (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (if_statement "if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }" if (parenthesized_expression "(((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4))" ( (binary_expression "((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)" (parenthesized_expression "((int)(uVar4 - 0x10) < 0)" ( (binary_expression "(int)(uVar4 - 0x10) < 0" (cast_expression "(int)(uVar4 - 0x10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 - 0x10)" ( (binary_expression "uVar4 - 0x10" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(iVar3 < (int)uVar4)" ( (binary_expression "iVar3 < (int)uVar4" identifier < (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }" { (if_statement "if ((local_3c.msg_flags & 0x20U) == 0) {\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }" if (parenthesized_expression "((local_3c.msg_flags & 0x20U) == 0)" ( (binary_expression "(local_3c.msg_flags & 0x20U) == 0" (parenthesized_expression "(local_3c.msg_flags & 0x20U)" ( (binary_expression "local_3c.msg_flags & 0x20U" (field_expression "local_3c.msg_flags" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }" { comment (expression_statement "FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);" (call_expression "FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11)" identifier (argument_list "("malformed message: len=%d!",uVar4,uVar10,uVar11)" ( (string_literal ""malformed message: len=%d!"" " string_content ") , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_000191bd("truncated message");" (call_expression "FUN_000191bd("truncated message")" identifier (argument_list "("truncated message")" ( (string_literal ""truncated message"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00048b13;" goto statement_identifier ;) })) (if_statement "if (local_44 != 0) {\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n          do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );\n        }" { (do_statement "do {\n                    /* WARNING: Do nothing block with infinite loop */\n          } while( true );" do (compound_statement "{\n                    /* WARNING: Do nothing block with infinite loop */\n          }" { comment }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }" if (parenthesized_expression "((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2]))" ( (binary_expression "(puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])" (parenthesized_expression "(puVar5[3] == param_1[2])" ( (binary_expression "puVar5[3] == param_1[2]" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == (subscript_expression "param_1[2]" identifier [ number_literal ])) )) && (parenthesized_expression "(uVar7 == puVar5[2])" ( (binary_expression "uVar7 == puVar5[2]" identifier == (subscript_expression "puVar5[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }" { (if_statement "if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }" if (parenthesized_expression "((short)puVar5[1] == 2)" ( (binary_expression "(short)puVar5[1] == 2" (cast_expression "(short)puVar5[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }" { (if_statement "if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" if (parenthesized_expression "((int)(uVar4 - 0x10) < 0x14)" ( (binary_expression "(int)(uVar4 - 0x10) < 0x14" (cast_expression "(int)(uVar4 - 0x10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 - 0x10)" ( (binary_expression "uVar4 - 0x10" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }" { (expression_statement "FUN_000191bd("ERROR truncated");" (call_expression "FUN_000191bd("ERROR truncated")" identifier (argument_list "("ERROR truncated")" ( (string_literal ""ERROR truncated"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" else (compound_statement "{\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" { (expression_statement "uVar7 = puVar5[4];" (assignment_expression "uVar7 = puVar5[4]" identifier = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "*DAT_000d16fc = -uVar7;" (assignment_expression "*DAT_000d16fc = -uVar7" (pointer_expression "*DAT_000d16fc" * identifier) = (unary_expression "-uVar7" - identifier)) ;) (if_statement "if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }" if (parenthesized_expression "(param_3 != (undefined1 *)0x0)" ( (binary_expression "param_3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }" { (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (for_statement "for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }" for ( ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }" { (expression_statement "*param_3 = (char)*puVar5;" (assignment_expression "*param_3 = (char)*puVar5" (pointer_expression "*param_3" * identifier) = (cast_expression "(char)*puVar5" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar5 + (uint)bVar8 * -2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "param_3 = param_3 + (uint)bVar8 * -2 + 1;" (assignment_expression "param_3 = param_3 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "param_3 + (uint)bVar8 * -2 + 1" (binary_expression "param_3 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) })) }) (else_clause "else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" else (compound_statement "{\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" { (expression_statement "FUN_00018e3c("RTNETLINK answers");" (call_expression "FUN_00018e3c("RTNETLINK answers")" identifier (argument_list "("RTNETLINK answers")" ( (string_literal ""RTNETLINK answers"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }))) }))) (goto_statement "goto LAB_00048b13;" goto statement_identifier ;) })) (if_statement "if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;" if (parenthesized_expression "(param_3 != (undefined1 *)0x0)" ( (binary_expression "param_3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto code_r0x00048b0f;" goto statement_identifier ;)) (expression_statement "FUN_000191bd("unexpected reply!");" (call_expression "FUN_000191bd("unexpected reply!")" identifier (argument_list "("unexpected reply!")" ( (string_literal ""unexpected reply!"" " string_content ") ))) ;) (expression_statement "uVar4 = uVar4 + 3 & 0xfffffffc;" (assignment_expression "uVar4 = uVar4 + 3 & 0xfffffffc" identifier = (binary_expression "uVar4 + 3 & 0xfffffffc" (binary_expression "uVar4 + 3" identifier + number_literal) & number_literal)) ;) (expression_statement "iVar3 = iVar3 - uVar4;" (assignment_expression "iVar3 = iVar3 - uVar4" identifier = (binary_expression "iVar3 - uVar4" identifier - identifier)) ;) (expression_statement "puVar5 = (uint *)((int)puVar5 + uVar4);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + uVar4)" identifier = (cast_expression "(uint *)((int)puVar5 + uVar4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + uVar4)" ( (binary_expression "(int)puVar5 + uVar4" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) })) })) (if_statement "if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" if (parenthesized_expression "((local_3c.msg_flags & 0x20U) == 0)" ( (binary_expression "(local_3c.msg_flags & 0x20U) == 0" (parenthesized_expression "(local_3c.msg_flags & 0x20U)" ( (binary_expression "local_3c.msg_flags & 0x20U" (field_expression "local_3c.msg_flags" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }" { (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) (if_statement "if (iVar3 != 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }" { comment (expression_statement "FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);" (call_expression "FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11)" identifier (argument_list "("remnant of size %d!",iVar3,uVar10,uVar11)" ( (string_literal ""remnant of size %d!"" " string_content ") , identifier , identifier , identifier ))) ;) })) }) (else_clause "else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" else (compound_statement "{\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" { (expression_statement "FUN_000191bd("message truncated");" (call_expression "FUN_000191bd("message truncated")" identifier (argument_list "("message truncated")" ( (string_literal ""message truncated"" " string_content ") ))) ;) (expression_statement "uVar4 = extraout_ECX_02;" (assignment_expression "uVar4 = extraout_ECX_02" identifier = identifier) ;) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) }))) })) (expression_statement "FUN_000191bd("EOF on netlink");" (call_expression "FUN_000191bd("EOF on netlink")" identifier (argument_list "("EOF on netlink")" ( (string_literal ""EOF on netlink"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }))) (labeled_statement "LAB_00048b13:\n  free(__ptr);" statement_identifier : (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" { comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar10;" return identifier ;) (labeled_statement "code_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" statement_identifier : (for_statement "for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" for ( ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" { (expression_statement "*param_3 = (char)*puVar5;" (assignment_expression "*param_3 = (char)*puVar5" (pointer_expression "*param_3" * identifier) = (cast_expression "(char)*puVar5" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar5 + (uint)bVar8 * -2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "param_3 = param_3 + (uint)bVar8 * -2 + 1;" (assignment_expression "param_3 = param_3 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "param_3 + (uint)bVar8 * -2 + 1" (binary_expression "param_3 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00048b13;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint rtnl_talk(rtnl_handle *rtnl,nlmsghdr *n,nlmsghdr *answer)\n\n{\n  iovec iov;\n  sockaddr_nl nladdr;\n  msghdr msg;\n  \n}\n\n" comment (function_definition "int rtnl_talk(rtnl_handle *rtnl,nlmsghdr *n,nlmsghdr *answer)\n\n{\n  iovec iov;\n  sockaddr_nl nladdr;\n  msghdr msg;\n  \n}" primitive_type (function_declarator "rtnl_talk(rtnl_handle *rtnl,nlmsghdr *n,nlmsghdr *answer)" identifier (parameter_list "(rtnl_handle *rtnl,nlmsghdr *n,nlmsghdr *answer)" ( (parameter_declaration "rtnl_handle *rtnl" type_identifier (pointer_declarator "*rtnl" * identifier)) , (parameter_declaration "nlmsghdr *n" type_identifier (pointer_declarator "*n" * identifier)) , (parameter_declaration "nlmsghdr *answer" type_identifier (pointer_declarator "*answer" * identifier)) ))) (compound_statement "{\n  iovec iov;\n  sockaddr_nl nladdr;\n  msghdr msg;\n  \n}" { (declaration "iovec iov;" type_identifier identifier ;) (declaration "sockaddr_nl nladdr;" type_identifier identifier ;) (declaration "msghdr msg;" type_identifier identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)\n\n{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)\n\n{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)" identifier (parameter_list "(int *param_1,uint *param_2,undefined1 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "ssize_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "uint extraout_ECX_00;" type_identifier identifier ;) (declaration "uint extraout_ECX_01;" type_identifier identifier ;) (declaration "uint extraout_ECX_02;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "msghdr *pmVar9;" type_identifier (pointer_declarator "*pmVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "iovec local_50;" type_identifier identifier ;) (declaration "undefined2 local_48;" type_identifier identifier ;) (declaration "undefined1 local_46 [2];" type_identifier (array_declarator "local_46 [2]" identifier [ number_literal ]) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "msghdr local_3c;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_50.iov_len = *param_2;" (assignment_expression "local_50.iov_len = *param_2" (field_expression "local_50.iov_len" identifier . field_identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_50.iov_base = param_2;" (assignment_expression "local_50.iov_base = param_2" (field_expression "local_50.iov_base" identifier . field_identifier) = identifier) ;) (expression_statement "__ptr = (uint *)FUN_00019b1c();" (assignment_expression "__ptr = (uint *)FUN_00019b1c()" identifier = (cast_expression "(uint *)FUN_00019b1c()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (expression_statement "local_3c.msg_name = &local_48;" (assignment_expression "local_3c.msg_name = &local_48" (field_expression "local_3c.msg_name" identifier . field_identifier) = (pointer_expression "&local_48" & identifier)) ;) (expression_statement "local_3c.msg_namelen = 0xc;" (assignment_expression "local_3c.msg_namelen = 0xc" (field_expression "local_3c.msg_namelen" identifier . field_identifier) = number_literal) ;) (expression_statement "local_3c.msg_iov = &local_50;" (assignment_expression "local_3c.msg_iov = &local_50" (field_expression "local_3c.msg_iov" identifier . field_identifier) = (pointer_expression "&local_50" & identifier)) ;) (expression_statement "local_3c.msg_iovlen = 1;" (assignment_expression "local_3c.msg_iovlen = 1" (field_expression "local_3c.msg_iovlen" identifier . field_identifier) = number_literal) ;) (expression_statement "local_3c.msg_control = (void *)0x0;" (assignment_expression "local_3c.msg_control = (void *)0x0" (field_expression "local_3c.msg_control" identifier . field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_3c.msg_controllen = 0;" (assignment_expression "local_3c.msg_controllen = 0" (field_expression "local_3c.msg_controllen" identifier . field_identifier) = number_literal) ;) (expression_statement "local_3c.msg_flags = 0;" (assignment_expression "local_3c.msg_flags = 0" (field_expression "local_3c.msg_flags" identifier . field_identifier) = number_literal) ;) (expression_statement "puVar6 = local_46;" (assignment_expression "puVar6 = local_46" identifier = identifier) ;) (for_statement "for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }" for ( (assignment_expression "iVar3 = 10" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }" { (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6 = puVar6 + (uint)bVar8 * -2 + 1;" (assignment_expression "puVar6 = puVar6 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "puVar6 + (uint)bVar8 * -2 + 1" (binary_expression "puVar6 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_48 = 0x10;" (assignment_expression "local_48 = 0x10" identifier = number_literal) ;) (expression_statement "uVar7 = param_1[7] + 1;" (assignment_expression "uVar7 = param_1[7] + 1" identifier = (binary_expression "param_1[7] + 1" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[7] = uVar7;" (assignment_expression "param_1[7] = uVar7" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = uVar7;" (assignment_expression "param_2[2] = uVar7" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }" if (parenthesized_expression "(param_3 == (undefined1 *)0x0)" ( (binary_expression "param_3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }" { (expression_statement "*(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;" (assignment_expression "*(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4" (pointer_expression "*(ushort *)((int)param_2 + 6)" * (cast_expression "(ushort *)((int)param_2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(ushort *)((int)param_2 + 6) | 4" (pointer_expression "*(ushort *)((int)param_2 + 6)" * (cast_expression "(ushort *)((int)param_2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 6)" ( (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) | number_literal)) ;) })) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "pmVar9 = &local_3c;" (assignment_expression "pmVar9 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (expression_statement "sVar2 = sendmsg(*param_1,&local_3c,0);" (assignment_expression "sVar2 = sendmsg(*param_1,&local_3c,0)" identifier = (call_expression "sendmsg(*param_1,&local_3c,0)" identifier (argument_list "(*param_1,&local_3c,0)" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "&local_3c" & identifier) , number_literal )))) ;) (expression_statement "piVar1 = DAT_000d16fc;" (assignment_expression "piVar1 = DAT_000d16fc" identifier = identifier) ;) (expression_statement "uVar4 = extraout_ECX;" (assignment_expression "uVar4 = extraout_ECX" identifier = identifier) ;) (expression_statement "puVar5 = __ptr;" (assignment_expression "puVar5 = __ptr" identifier = identifier) ;) (if_statement "if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" if (parenthesized_expression "(sVar2 < 0)" ( (binary_expression "sVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }" { (expression_statement "FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);" (call_expression "FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2)" identifier (argument_list "("can\'t talk to rtnetlink",pmVar9,uVar10,param_2)" ( (string_literal ""can\'t talk to rtnetlink"" " string_content escape_sequence string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" else (compound_statement "{\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" { (while_statement "while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }" { (while_statement "while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }" { (expression_statement "local_50.iov_base = puVar5;" (assignment_expression "local_50.iov_base = puVar5" (field_expression "local_50.iov_base" identifier . field_identifier) = identifier) ;) (expression_statement "local_50.iov_len = 0x2000;" (assignment_expression "local_50.iov_len = 0x2000" (field_expression "local_50.iov_len" identifier . field_identifier) = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = uVar4;" (assignment_expression "uVar11 = uVar4" identifier = identifier) ;) (expression_statement "iVar3 = recvmsg(*param_1,&local_3c,0);" (assignment_expression "iVar3 = recvmsg(*param_1,&local_3c,0)" identifier = (call_expression "recvmsg(*param_1,&local_3c,0)" identifier (argument_list "(*param_1,&local_3c,0)" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "&local_3c" & identifier) , number_literal )))) ;) (expression_statement "uVar4 = extraout_ECX_00;" (assignment_expression "uVar4 = extraout_ECX_00" identifier = identifier) ;) (if_statement "if (-1 < iVar3) break;" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) (if_statement "if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }" if (parenthesized_expression "(*piVar1 != 4)" ( (binary_expression "*piVar1 != 4" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }" { (expression_statement "FUN_00018e3c("OVERRUN");" (call_expression "FUN_00018e3c("OVERRUN")" identifier (argument_list "("OVERRUN")" ( (string_literal ""OVERRUN"" " string_content ") ))) ;) (expression_statement "uVar4 = extraout_ECX_01;" (assignment_expression "uVar4 = extraout_ECX_01" identifier = identifier) ;) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) })) })) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = __ptr;" (assignment_expression "puVar5 = __ptr" identifier = identifier) ;) (if_statement "if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }" if (parenthesized_expression "(local_3c.msg_namelen != 0xc)" ( (binary_expression "local_3c.msg_namelen != 0xc" (field_expression "local_3c.msg_namelen" identifier . field_identifier) != number_literal) )) (compound_statement "{\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }" { (expression_statement "FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);" (call_expression "FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11)" identifier (argument_list "("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11)" ( (string_literal ""sender address length == %d"" " string_content ") , (field_expression "local_3c.msg_namelen" identifier . field_identifier) , identifier , identifier ))) ;) })) (while_statement "while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }" while (parenthesized_expression "(0xf < iVar3)" ( (binary_expression "0xf < iVar3" number_literal < identifier) )) (compound_statement "{\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }" { (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (if_statement "if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }" if (parenthesized_expression "(((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4))" ( (binary_expression "((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)" (parenthesized_expression "((int)(uVar4 - 0x10) < 0)" ( (binary_expression "(int)(uVar4 - 0x10) < 0" (cast_expression "(int)(uVar4 - 0x10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 - 0x10)" ( (binary_expression "uVar4 - 0x10" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(iVar3 < (int)uVar4)" ( (binary_expression "iVar3 < (int)uVar4" identifier < (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }" { (if_statement "if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }" if (parenthesized_expression "((local_3c.msg_flags & 0x20U) == 0)" ( (binary_expression "(local_3c.msg_flags & 0x20U) == 0" (parenthesized_expression "(local_3c.msg_flags & 0x20U)" ( (binary_expression "local_3c.msg_flags & 0x20U" (field_expression "local_3c.msg_flags" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }" { (expression_statement "FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);" (call_expression "FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11)" identifier (argument_list "("malformed message: len=%d!",uVar4,uVar10,uVar11)" ( (string_literal ""malformed message: len=%d!"" " string_content ") , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_000191bd("truncated message");" (call_expression "FUN_000191bd("truncated message")" identifier (argument_list "("truncated message")" ( (string_literal ""truncated message"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_00048b13;" goto statement_identifier ;) })) (if_statement "if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n          do {\n                    \n          } while( true );\n        }" { (do_statement "do {\n                    \n          } while( true );" do (compound_statement "{\n                    \n          }" { }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }" if (parenthesized_expression "((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2]))" ( (binary_expression "(puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])" (parenthesized_expression "(puVar5[3] == param_1[2])" ( (binary_expression "puVar5[3] == param_1[2]" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == (subscript_expression "param_1[2]" identifier [ number_literal ])) )) && (parenthesized_expression "(uVar7 == puVar5[2])" ( (binary_expression "uVar7 == puVar5[2]" identifier == (subscript_expression "puVar5[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }" { (if_statement "if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }" if (parenthesized_expression "((short)puVar5[1] == 2)" ( (binary_expression "(short)puVar5[1] == 2" (cast_expression "(short)puVar5[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }" { (if_statement "if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" if (parenthesized_expression "((int)(uVar4 - 0x10) < 0x14)" ( (binary_expression "(int)(uVar4 - 0x10) < 0x14" (cast_expression "(int)(uVar4 - 0x10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 - 0x10)" ( (binary_expression "uVar4 - 0x10" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }" { (expression_statement "FUN_000191bd("ERROR truncated");" (call_expression "FUN_000191bd("ERROR truncated")" identifier (argument_list "("ERROR truncated")" ( (string_literal ""ERROR truncated"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" else (compound_statement "{\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" { (expression_statement "uVar7 = puVar5[4];" (assignment_expression "uVar7 = puVar5[4]" identifier = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "*DAT_000d16fc = -uVar7;" (assignment_expression "*DAT_000d16fc = -uVar7" (pointer_expression "*DAT_000d16fc" * identifier) = (unary_expression "-uVar7" - identifier)) ;) (if_statement "if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }" if (parenthesized_expression "(param_3 != (undefined1 *)0x0)" ( (binary_expression "param_3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }" { (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (for_statement "for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }" for ( ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }" { (expression_statement "*param_3 = (char)*puVar5;" (assignment_expression "*param_3 = (char)*puVar5" (pointer_expression "*param_3" * identifier) = (cast_expression "(char)*puVar5" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar5 + (uint)bVar8 * -2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "param_3 = param_3 + (uint)bVar8 * -2 + 1;" (assignment_expression "param_3 = param_3 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "param_3 + (uint)bVar8 * -2 + 1" (binary_expression "param_3 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) })) }) (else_clause "else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" else (compound_statement "{\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" { (expression_statement "FUN_00018e3c("RTNETLINK answers");" (call_expression "FUN_00018e3c("RTNETLINK answers")" identifier (argument_list "("RTNETLINK answers")" ( (string_literal ""RTNETLINK answers"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }))) }))) (goto_statement "goto LAB_00048b13;" goto statement_identifier ;) })) (if_statement "if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;" if (parenthesized_expression "(param_3 != (undefined1 *)0x0)" ( (binary_expression "param_3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto code_r0x00048b0f;" goto statement_identifier ;)) (expression_statement "FUN_000191bd("unexpected reply!");" (call_expression "FUN_000191bd("unexpected reply!")" identifier (argument_list "("unexpected reply!")" ( (string_literal ""unexpected reply!"" " string_content ") ))) ;) (expression_statement "uVar4 = uVar4 + 3 & 0xfffffffc;" (assignment_expression "uVar4 = uVar4 + 3 & 0xfffffffc" identifier = (binary_expression "uVar4 + 3 & 0xfffffffc" (binary_expression "uVar4 + 3" identifier + number_literal) & number_literal)) ;) (expression_statement "iVar3 = iVar3 - uVar4;" (assignment_expression "iVar3 = iVar3 - uVar4" identifier = (binary_expression "iVar3 - uVar4" identifier - identifier)) ;) (expression_statement "puVar5 = (uint *)((int)puVar5 + uVar4);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + uVar4)" identifier = (cast_expression "(uint *)((int)puVar5 + uVar4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + uVar4)" ( (binary_expression "(int)puVar5 + uVar4" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) })) })) (if_statement "if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" if (parenthesized_expression "((local_3c.msg_flags & 0x20U) == 0)" ( (binary_expression "(local_3c.msg_flags & 0x20U) == 0" (parenthesized_expression "(local_3c.msg_flags & 0x20U)" ( (binary_expression "local_3c.msg_flags & 0x20U" (field_expression "local_3c.msg_flags" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }" { (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) (if_statement "if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }" { (expression_statement "FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);" (call_expression "FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11)" identifier (argument_list "("remnant of size %d!",iVar3,uVar10,uVar11)" ( (string_literal ""remnant of size %d!"" " string_content ") , identifier , identifier , identifier ))) ;) })) }) (else_clause "else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" else (compound_statement "{\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" { (expression_statement "FUN_000191bd("message truncated");" (call_expression "FUN_000191bd("message truncated")" identifier (argument_list "("message truncated")" ( (string_literal ""message truncated"" " string_content ") ))) ;) (expression_statement "uVar4 = extraout_ECX_02;" (assignment_expression "uVar4 = extraout_ECX_02" identifier = identifier) ;) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" identifier = (cast_expression "(uint *)local_50.iov_base" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_50.iov_base" identifier . field_identifier))) ;) }))) })) (expression_statement "FUN_000191bd("EOF on netlink");" (call_expression "FUN_000191bd("EOF on netlink")" identifier (argument_list "("EOF on netlink")" ( (string_literal ""EOF on netlink"" " string_content ") ))) ;) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" identifier = number_literal) ;) }))) (labeled_statement "LAB_00048b13:\n  free(__ptr);" statement_identifier : (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00017e10();\n  }" { (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar10;" return identifier ;) (labeled_statement "code_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" statement_identifier : (for_statement "for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" for ( ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" { (expression_statement "*param_3 = (char)*puVar5;" (assignment_expression "*param_3 = (char)*puVar5" (pointer_expression "*param_3" * identifier) = (cast_expression "(char)*puVar5" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar5 + (uint)bVar8 * -2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "param_3 = param_3 + (uint)bVar8 * -2 + 1;" (assignment_expression "param_3 = param_3 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "param_3 + (uint)bVar8 * -2 + 1" (binary_expression "param_3 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00048b13;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression 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 ") , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT . field_identifier))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT . field_identifier))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (field_expression IDENT . field_identifier) , IDENT , IDENT ))) ;) })) (while_statement while (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { }) while (parenthesized_expression ( BOOL )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) )) && (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ LIT ])) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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)) ;) })) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT . field_identifier))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT . field_identifier))) ;) }))) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) (labeled_statement statement_identifier : (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })))
(function_definition "undefined4 __regparm3 FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)\n\n{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000488fd(int *param_1,uint *param_2,undefined1 *param_3)" (identifier "FUN_000488fd") (parameter_list "(int *param_1,uint *param_2,undefined1 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint *__ptr;\n  ssize_t sVar2;\n  int iVar3;\n  uint extraout_ECX;\n  uint extraout_ECX_00;\n  uint extraout_ECX_01;\n  uint extraout_ECX_02;\n  uint uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  byte bVar8;\n  msghdr *pmVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  iovec local_50;\n  undefined2 local_48;\n  undefined1 local_46 [2];\n  int local_44;\n  msghdr local_3c;\n  int local_20;\n  \n  bVar8 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_50.iov_len = *param_2;\n  local_50.iov_base = param_2;\n  __ptr = (uint *)FUN_00019b1c();\n  local_3c.msg_name = &local_48;\n  local_3c.msg_namelen = 0xc;\n  local_3c.msg_iov = &local_50;\n  local_3c.msg_iovlen = 1;\n  local_3c.msg_control = (void *)0x0;\n  local_3c.msg_controllen = 0;\n  local_3c.msg_flags = 0;\n  puVar6 = local_46;\n  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }\n  local_48 = 0x10;\n  uVar7 = param_1[7] + 1;\n  param_1[7] = uVar7;\n  param_2[2] = uVar7;\n  if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }\n  uVar10 = 0;\n  pmVar9 = &local_3c;\n  sVar2 = sendmsg(*param_1,&local_3c,0);\n  piVar1 = DAT_000d16fc;\n  uVar4 = extraout_ECX;\n  puVar5 = __ptr;\n  if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }\nLAB_00048b13:\n  free(__ptr);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return uVar10;\ncode_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }\n  uVar10 = 0;\n  goto LAB_00048b13;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint *__ptr;" (type_identifier "uint") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "ssize_t sVar2;" (primitive_type "ssize_t") (identifier "sVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint extraout_ECX;" (type_identifier "uint") (identifier "extraout_ECX") (; ";")) (declaration "uint extraout_ECX_00;" (type_identifier "uint") (identifier "extraout_ECX_00") (; ";")) (declaration "uint extraout_ECX_01;" (type_identifier "uint") (identifier "extraout_ECX_01") (; ";")) (declaration "uint extraout_ECX_02;" (type_identifier "uint") (identifier "extraout_ECX_02") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "msghdr *pmVar9;" (type_identifier "msghdr") (pointer_declarator "*pmVar9" (* "*") (identifier "pmVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "iovec local_50;" (type_identifier "iovec") (identifier "local_50") (; ";")) (declaration "undefined2 local_48;" (type_identifier "undefined2") (identifier "local_48") (; ";")) (declaration "undefined1 local_46 [2];" (type_identifier "undefined1") (array_declarator "local_46 [2]" (identifier "local_46") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "msghdr local_3c;" (type_identifier "msghdr") (identifier "local_3c") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" (identifier "bVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_50.iov_len = *param_2;" (assignment_expression "local_50.iov_len = *param_2" (field_expression "local_50.iov_len" (identifier "local_50") (. ".") (field_identifier "iov_len")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "local_50.iov_base = param_2;" (assignment_expression "local_50.iov_base = param_2" (field_expression "local_50.iov_base" (identifier "local_50") (. ".") (field_identifier "iov_base")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "__ptr = (uint *)FUN_00019b1c();" (assignment_expression "__ptr = (uint *)FUN_00019b1c()" (identifier "__ptr") (= "=") (cast_expression "(uint *)FUN_00019b1c()" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b1c()" (identifier "FUN_00019b1c") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "local_3c.msg_name = &local_48;" (assignment_expression "local_3c.msg_name = &local_48" (field_expression "local_3c.msg_name" (identifier "local_3c") (. ".") (field_identifier "msg_name")) (= "=") (pointer_expression "&local_48" (& "&") (identifier "local_48"))) (; ";")) (expression_statement "local_3c.msg_namelen = 0xc;" (assignment_expression "local_3c.msg_namelen = 0xc" (field_expression "local_3c.msg_namelen" (identifier "local_3c") (. ".") (field_identifier "msg_namelen")) (= "=") (number_literal "0xc")) (; ";")) (expression_statement "local_3c.msg_iov = &local_50;" (assignment_expression "local_3c.msg_iov = &local_50" (field_expression "local_3c.msg_iov" (identifier "local_3c") (. ".") (field_identifier "msg_iov")) (= "=") (pointer_expression "&local_50" (& "&") (identifier "local_50"))) (; ";")) (expression_statement "local_3c.msg_iovlen = 1;" (assignment_expression "local_3c.msg_iovlen = 1" (field_expression "local_3c.msg_iovlen" (identifier "local_3c") (. ".") (field_identifier "msg_iovlen")) (= "=") (number_literal "1")) (; ";")) (expression_statement "local_3c.msg_control = (void *)0x0;" (assignment_expression "local_3c.msg_control = (void *)0x0" (field_expression "local_3c.msg_control" (identifier "local_3c") (. ".") (field_identifier "msg_control")) (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_3c.msg_controllen = 0;" (assignment_expression "local_3c.msg_controllen = 0" (field_expression "local_3c.msg_controllen" (identifier "local_3c") (. ".") (field_identifier "msg_controllen")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c.msg_flags = 0;" (assignment_expression "local_3c.msg_flags = 0" (field_expression "local_3c.msg_flags" (identifier "local_3c") (. ".") (field_identifier "msg_flags")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = local_46;" (assignment_expression "puVar6 = local_46" (identifier "puVar6") (= "=") (identifier "local_46")) (; ";")) (for_statement "for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar3 = 10" (identifier "iVar3") (= "=") (number_literal "10")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar6 = 0;\n    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = puVar6 + (uint)bVar8 * -2 + 1;" (assignment_expression "puVar6 = puVar6 + (uint)bVar8 * -2 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + (uint)bVar8 * -2 + 1" (binary_expression "puVar6 + (uint)bVar8 * -2" (identifier "puVar6") (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_48 = 0x10;" (assignment_expression "local_48 = 0x10" (identifier "local_48") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "uVar7 = param_1[7] + 1;" (assignment_expression "uVar7 = param_1[7] + 1" (identifier "uVar7") (= "=") (binary_expression "param_1[7] + 1" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[7] = uVar7;" (assignment_expression "param_1[7] = uVar7" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "param_2[2] = uVar7;" (assignment_expression "param_2[2] = uVar7" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (param_3 == (undefined1 *)0x0) {\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }" (if "if") (parenthesized_expression "(param_3 == (undefined1 *)0x0)" (( "(") (binary_expression "param_3 == (undefined1 *)0x0" (identifier "param_3") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;\n  }" ({ "{") (expression_statement "*(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;" (assignment_expression "*(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4" (pointer_expression "*(ushort *)((int)param_2 + 6)" (* "*") (cast_expression "(ushort *)((int)param_2 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 6)" (( "(") (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "6")) () ")")))) (= "=") (binary_expression "*(ushort *)((int)param_2 + 6) | 4" (pointer_expression "*(ushort *)((int)param_2 + 6)" (* "*") (cast_expression "(ushort *)((int)param_2 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 6)" (( "(") (binary_expression "(int)param_2 + 6" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "6")) () ")")))) (| "|") (number_literal "4"))) (; ";")) (} "}"))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "pmVar9 = &local_3c;" (assignment_expression "pmVar9 = &local_3c" (identifier "pmVar9") (= "=") (pointer_expression "&local_3c" (& "&") (identifier "local_3c"))) (; ";")) (expression_statement "sVar2 = sendmsg(*param_1,&local_3c,0);" (assignment_expression "sVar2 = sendmsg(*param_1,&local_3c,0)" (identifier "sVar2") (= "=") (call_expression "sendmsg(*param_1,&local_3c,0)" (identifier "sendmsg") (argument_list "(*param_1,&local_3c,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "piVar1 = DAT_000d16fc;" (assignment_expression "piVar1 = DAT_000d16fc" (identifier "piVar1") (= "=") (identifier "DAT_000d16fc")) (; ";")) (expression_statement "uVar4 = extraout_ECX;" (assignment_expression "uVar4 = extraout_ECX" (identifier "uVar4") (= "=") (identifier "extraout_ECX")) (; ";")) (expression_statement "puVar5 = __ptr;" (assignment_expression "puVar5 = __ptr" (identifier "puVar5") (= "=") (identifier "__ptr")) (; ";")) (if_statement "if (sVar2 < 0) {\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }\n  else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" (if "if") (parenthesized_expression "(sVar2 < 0)" (( "(") (binary_expression "sVar2 < 0" (identifier "sVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);\n    uVar10 = 0xffffffff;\n  }" ({ "{") (expression_statement "FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);" (call_expression "FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2)" (identifier "FUN_00018e3c") (argument_list "("can\'t talk to rtnetlink",pmVar9,uVar10,param_2)" (( "(") (string_literal ""can\'t talk to rtnetlink"" (" """) (string_content "can") (escape_sequence "\'") (string_content "t talk to rtnetlink") (" """)) (, ",") (identifier "pmVar9") (, ",") (identifier "uVar10") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" (identifier "uVar10") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" (else "else") (compound_statement "{\n    while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }\n    FUN_000191bd("EOF on netlink");\n    uVar10 = 0xffffffff;\n  }" ({ "{") (while_statement "while( true ) {\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }\n      if (iVar3 == 0) break;\n      puVar5 = __ptr;\n      if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }\n      while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }\n      if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        local_50.iov_base = puVar5;\n        local_50.iov_len = 0x2000;\n        uVar10 = 0;\n        uVar11 = uVar4;\n        iVar3 = recvmsg(*param_1,&local_3c,0);\n        uVar4 = extraout_ECX_00;\n        if (-1 < iVar3) break;\n        puVar5 = (uint *)local_50.iov_base;\n        if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }\n      }" ({ "{") (expression_statement "local_50.iov_base = puVar5;" (assignment_expression "local_50.iov_base = puVar5" (field_expression "local_50.iov_base" (identifier "local_50") (. ".") (field_identifier "iov_base")) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "local_50.iov_len = 0x2000;" (assignment_expression "local_50.iov_len = 0x2000" (field_expression "local_50.iov_len" (identifier "local_50") (. ".") (field_identifier "iov_len")) (= "=") (number_literal "0x2000")) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar11 = uVar4;" (assignment_expression "uVar11 = uVar4" (identifier "uVar11") (= "=") (identifier "uVar4")) (; ";")) (expression_statement "iVar3 = recvmsg(*param_1,&local_3c,0);" (assignment_expression "iVar3 = recvmsg(*param_1,&local_3c,0)" (identifier "iVar3") (= "=") (call_expression "recvmsg(*param_1,&local_3c,0)" (identifier "recvmsg") (argument_list "(*param_1,&local_3c,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar4 = extraout_ECX_00;" (assignment_expression "uVar4 = extraout_ECX_00" (identifier "uVar4") (= "=") (identifier "extraout_ECX_00")) (; ";")) (if_statement "if (-1 < iVar3) break;" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" (identifier "puVar5") (= "=") (cast_expression "(uint *)local_50.iov_base" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "local_50.iov_base" (identifier "local_50") (. ".") (field_identifier "iov_base")))) (; ";")) (if_statement "if (*piVar1 != 4) {\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }" (if "if") (parenthesized_expression "(*piVar1 != 4)" (( "(") (binary_expression "*piVar1 != 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n          FUN_00018e3c("OVERRUN");\n          uVar4 = extraout_ECX_01;\n          puVar5 = (uint *)local_50.iov_base;\n        }" ({ "{") (expression_statement "FUN_00018e3c("OVERRUN");" (call_expression "FUN_00018e3c("OVERRUN")" (identifier "FUN_00018e3c") (argument_list "("OVERRUN")" (( "(") (string_literal ""OVERRUN"" (" """) (string_content "OVERRUN") (" """)) () ")"))) (; ";")) (expression_statement "uVar4 = extraout_ECX_01;" (assignment_expression "uVar4 = extraout_ECX_01" (identifier "uVar4") (= "=") (identifier "extraout_ECX_01")) (; ";")) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" (identifier "puVar5") (= "=") (cast_expression "(uint *)local_50.iov_base" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "local_50.iov_base" (identifier "local_50") (. ".") (field_identifier "iov_base")))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar5 = __ptr;" (assignment_expression "puVar5 = __ptr" (identifier "puVar5") (= "=") (identifier "__ptr")) (; ";")) (if_statement "if (local_3c.msg_namelen != 0xc) {\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }" (if "if") (parenthesized_expression "(local_3c.msg_namelen != 0xc)" (( "(") (binary_expression "local_3c.msg_namelen != 0xc" (field_expression "local_3c.msg_namelen" (identifier "local_3c") (. ".") (field_identifier "msg_namelen")) (!= "!=") (number_literal "0xc")) () ")")) (compound_statement "{\n                    \n        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);\n      }" ({ "{") (expression_statement "FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);" (call_expression "FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11)" (identifier "FUN_000191a6") (argument_list "("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11)" (( "(") (string_literal ""sender address length == %d"" (" """) (string_content "sender address length == %d") (" """)) (, ",") (field_expression "local_3c.msg_namelen" (identifier "local_3c") (. ".") (field_identifier "msg_namelen")) (, ",") (identifier "uVar10") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (while_statement "while (0xf < iVar3) {\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }" (while "while") (parenthesized_expression "(0xf < iVar3)" (( "(") (binary_expression "0xf < iVar3" (number_literal "0xf") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n        uVar4 = *puVar5;\n        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }\n        if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }\n        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }\n      }" ({ "{") (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" (identifier "uVar4") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (if_statement "if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }" (if "if") (parenthesized_expression "(((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4))" (( "(") (binary_expression "((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)" (parenthesized_expression "((int)(uVar4 - 0x10) < 0)" (( "(") (binary_expression "(int)(uVar4 - 0x10) < 0" (cast_expression "(int)(uVar4 - 0x10)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar4 - 0x10)" (( "(") (binary_expression "uVar4 - 0x10" (identifier "uVar4") (- "-") (number_literal "0x10")) () ")"))) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar3 < (int)uVar4)" (( "(") (binary_expression "iVar3 < (int)uVar4" (identifier "iVar3") (< "<") (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4"))) () ")"))) () ")")) (compound_statement "{\n          if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }\n          FUN_000191bd("truncated message");\n          uVar10 = 0xffffffff;\n          goto LAB_00048b13;\n        }" ({ "{") (if_statement "if ((local_3c.msg_flags & 0x20U) == 0) {\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }" (if "if") (parenthesized_expression "((local_3c.msg_flags & 0x20U) == 0)" (( "(") (binary_expression "(local_3c.msg_flags & 0x20U) == 0" (parenthesized_expression "(local_3c.msg_flags & 0x20U)" (( "(") (binary_expression "local_3c.msg_flags & 0x20U" (field_expression "local_3c.msg_flags" (identifier "local_3c") (. ".") (field_identifier "msg_flags")) (& "&") (number_literal "0x20U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);\n          }" ({ "{") (expression_statement "FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);" (call_expression "FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11)" (identifier "FUN_000191a6") (argument_list "("malformed message: len=%d!",uVar4,uVar10,uVar11)" (( "(") (string_literal ""malformed message: len=%d!"" (" """) (string_content "malformed message: len=%d!") (" """)) (, ",") (identifier "uVar4") (, ",") (identifier "uVar10") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000191bd("truncated message");" (call_expression "FUN_000191bd("truncated message")" (identifier "FUN_000191bd") (argument_list "("truncated message")" (( "(") (string_literal ""truncated message"" (" """) (string_content "truncated message") (" """)) () ")"))) (; ";")) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" (identifier "uVar10") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_00048b13;" (goto "goto") (statement_identifier "LAB_00048b13") (; ";")) (} "}"))) (if_statement "if (local_44 != 0) {\n          do {\n                    \n          } while( true );\n        }" (if "if") (parenthesized_expression "(local_44 != 0)" (( "(") (binary_expression "local_44 != 0" (identifier "local_44") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          do {\n                    \n          } while( true );\n        }" ({ "{") (do_statement "do {\n                    \n          } while( true );" (do "do") (compound_statement "{\n                    \n          }" ({ "{") (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (if_statement "if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }" (if "if") (parenthesized_expression "((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2]))" (( "(") (binary_expression "(puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])" (parenthesized_expression "(puVar5[3] == param_1[2])" (( "(") (binary_expression "puVar5[3] == param_1[2]" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (== "==") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")")) (&& "&&") (parenthesized_expression "(uVar7 == puVar5[2])" (( "(") (binary_expression "uVar7 == puVar5[2]" (identifier "uVar7") (== "==") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) () ")"))) () ")")) (compound_statement "{\n          if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }\n          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;\n          FUN_000191bd("unexpected reply!");\n          uVar4 = uVar4 + 3 & 0xfffffffc;\n          iVar3 = iVar3 - uVar4;\n          puVar5 = (uint *)((int)puVar5 + uVar4);\n        }" ({ "{") (if_statement "if ((short)puVar5[1] == 2) {\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }" (if "if") (parenthesized_expression "((short)puVar5[1] == 2)" (( "(") (binary_expression "(short)puVar5[1] == 2" (cast_expression "(short)puVar5[1]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }\n            goto LAB_00048b13;\n          }" ({ "{") (if_statement "if ((int)(uVar4 - 0x10) < 0x14) {\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }\n            else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" (if "if") (parenthesized_expression "((int)(uVar4 - 0x10) < 0x14)" (( "(") (binary_expression "(int)(uVar4 - 0x10) < 0x14" (cast_expression "(int)(uVar4 - 0x10)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar4 - 0x10)" (( "(") (binary_expression "uVar4 - 0x10" (identifier "uVar4") (- "-") (number_literal "0x10")) () ")"))) (< "<") (number_literal "0x14")) () ")")) (compound_statement "{\n              FUN_000191bd("ERROR truncated");\n              uVar10 = 0xffffffff;\n            }" ({ "{") (expression_statement "FUN_000191bd("ERROR truncated");" (call_expression "FUN_000191bd("ERROR truncated")" (identifier "FUN_000191bd") (argument_list "("ERROR truncated")" (( "(") (string_literal ""ERROR truncated"" (" """) (string_content "ERROR truncated") (" """)) () ")"))) (; ";")) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" (identifier "uVar10") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" (else "else") (compound_statement "{\n              uVar7 = puVar5[4];\n              *DAT_000d16fc = -uVar7;\n              if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }\n            }" ({ "{") (expression_statement "uVar7 = puVar5[4];" (assignment_expression "uVar7 = puVar5[4]" (identifier "uVar7") (= "=") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*DAT_000d16fc = -uVar7;" (assignment_expression "*DAT_000d16fc = -uVar7" (pointer_expression "*DAT_000d16fc" (* "*") (identifier "DAT_000d16fc")) (= "=") (unary_expression "-uVar7" (- "-") (identifier "uVar7"))) (; ";")) (if_statement "if (uVar7 == 0) {\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }\n              else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                uVar10 = 0;\n                if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }\n              }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 != (undefined1 *)0x0) {\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }" (if "if") (parenthesized_expression "(param_3 != (undefined1 *)0x0)" (( "(") (binary_expression "param_3 != (undefined1 *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                  uVar7 = *puVar5;\n                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }\n                }" ({ "{") (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" (identifier "uVar7") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (for_statement "for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }" (for "for") (( "(") (; ";") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar7 = uVar7 - 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 - 1" (identifier "uVar7") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n                    *param_3 = (char)*puVar5;\n                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n                    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n                  }" ({ "{") (expression_statement "*param_3 = (char)*puVar5;" (assignment_expression "*param_3 = (char)*puVar5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(char)*puVar5" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" (identifier "puVar5") (= "=") (cast_expression "(uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + (uint)bVar8 * -2 + 1)" (( "(") (binary_expression "(int)puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar5 + (uint)bVar8 * -2" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_3 = param_3 + (uint)bVar8 * -2 + 1;" (assignment_expression "param_3 = param_3 + (uint)bVar8 * -2 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + (uint)bVar8 * -2 + 1" (binary_expression "param_3 + (uint)bVar8 * -2" (identifier "param_3") (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" (else "else") (compound_statement "{\n                FUN_00018e3c("RTNETLINK answers");\n                uVar10 = 0xffffffff;\n              }" ({ "{") (expression_statement "FUN_00018e3c("RTNETLINK answers");" (call_expression "FUN_00018e3c("RTNETLINK answers")" (identifier "FUN_00018e3c") (argument_list "("RTNETLINK answers")" (( "(") (string_literal ""RTNETLINK answers"" (" """) (string_content "RTNETLINK answers") (" """)) () ")"))) (; ";")) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" (identifier "uVar10") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (} "}")))) (goto_statement "goto LAB_00048b13;" (goto "goto") (statement_identifier "LAB_00048b13") (; ";")) (} "}"))) (if_statement "if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;" (if "if") (parenthesized_expression "(param_3 != (undefined1 *)0x0)" (( "(") (binary_expression "param_3 != (undefined1 *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto code_r0x00048b0f;" (goto "goto") (statement_identifier "code_r0x00048b0f") (; ";"))) (expression_statement "FUN_000191bd("unexpected reply!");" (call_expression "FUN_000191bd("unexpected reply!")" (identifier "FUN_000191bd") (argument_list "("unexpected reply!")" (( "(") (string_literal ""unexpected reply!"" (" """) (string_content "unexpected reply!") (" """)) () ")"))) (; ";")) (expression_statement "uVar4 = uVar4 + 3 & 0xfffffffc;" (assignment_expression "uVar4 = uVar4 + 3 & 0xfffffffc" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 3 & 0xfffffffc" (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (expression_statement "iVar3 = iVar3 - uVar4;" (assignment_expression "iVar3 = iVar3 - uVar4" (identifier "iVar3") (= "=") (binary_expression "iVar3 - uVar4" (identifier "iVar3") (- "-") (identifier "uVar4"))) (; ";")) (expression_statement "puVar5 = (uint *)((int)puVar5 + uVar4);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + uVar4)" (identifier "puVar5") (= "=") (cast_expression "(uint *)((int)puVar5 + uVar4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + uVar4)" (( "(") (binary_expression "(int)puVar5 + uVar4" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "uVar4")) () ")")))) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((local_3c.msg_flags & 0x20U) == 0) {\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }\n      else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" (if "if") (parenthesized_expression "((local_3c.msg_flags & 0x20U) == 0)" (( "(") (binary_expression "(local_3c.msg_flags & 0x20U) == 0" (parenthesized_expression "(local_3c.msg_flags & 0x20U)" (( "(") (binary_expression "local_3c.msg_flags & 0x20U" (field_expression "local_3c.msg_flags" (identifier "local_3c") (. ".") (field_identifier "msg_flags")) (& "&") (number_literal "0x20U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar5 = (uint *)local_50.iov_base;\n        if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }\n      }" ({ "{") (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" (identifier "puVar5") (= "=") (cast_expression "(uint *)local_50.iov_base" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "local_50.iov_base" (identifier "local_50") (. ".") (field_identifier "iov_base")))) (; ";")) (if_statement "if (iVar3 != 0) {\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);\n        }" ({ "{") (expression_statement "FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);" (call_expression "FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11)" (identifier "FUN_000191a6") (argument_list "("remnant of size %d!",iVar3,uVar10,uVar11)" (( "(") (string_literal ""remnant of size %d!"" (" """) (string_content "remnant of size %d!") (" """)) (, ",") (identifier "iVar3") (, ",") (identifier "uVar10") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" (else "else") (compound_statement "{\n        FUN_000191bd("message truncated");\n        uVar4 = extraout_ECX_02;\n        puVar5 = (uint *)local_50.iov_base;\n      }" ({ "{") (expression_statement "FUN_000191bd("message truncated");" (call_expression "FUN_000191bd("message truncated")" (identifier "FUN_000191bd") (argument_list "("message truncated")" (( "(") (string_literal ""message truncated"" (" """) (string_content "message truncated") (" """)) () ")"))) (; ";")) (expression_statement "uVar4 = extraout_ECX_02;" (assignment_expression "uVar4 = extraout_ECX_02" (identifier "uVar4") (= "=") (identifier "extraout_ECX_02")) (; ";")) (expression_statement "puVar5 = (uint *)local_50.iov_base;" (assignment_expression "puVar5 = (uint *)local_50.iov_base" (identifier "puVar5") (= "=") (cast_expression "(uint *)local_50.iov_base" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "local_50.iov_base" (identifier "local_50") (. ".") (field_identifier "iov_base")))) (; ";")) (} "}")))) (} "}"))) (expression_statement "FUN_000191bd("EOF on netlink");" (call_expression "FUN_000191bd("EOF on netlink")" (identifier "FUN_000191bd") (argument_list "("EOF on netlink")" (( "(") (string_literal ""EOF on netlink"" (" """) (string_content "EOF on netlink") (" """)) () ")"))) (; ";")) (expression_statement "uVar10 = 0xffffffff;" (assignment_expression "uVar10 = 0xffffffff" (identifier "uVar10") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (labeled_statement "LAB_00048b13:\n  free(__ptr);" (statement_identifier "LAB_00048b13") (: ":") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00017e10();\n  }" ({ "{") (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (labeled_statement "code_r0x00048b0f:\n  for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" (statement_identifier "code_r0x00048b0f") (: ":") (for_statement "for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar4 = uVar4 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 1" (identifier "uVar4") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *param_3 = (char)*puVar5;\n    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);\n    param_3 = param_3 + (uint)bVar8 * -2 + 1;\n  }" ({ "{") (expression_statement "*param_3 = (char)*puVar5;" (assignment_expression "*param_3 = (char)*puVar5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(char)*puVar5" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" (identifier "puVar5") (= "=") (cast_expression "(uint *)((int)puVar5 + (uint)bVar8 * -2 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + (uint)bVar8 * -2 + 1)" (( "(") (binary_expression "(int)puVar5 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar5 + (uint)bVar8 * -2" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_3 = param_3 + (uint)bVar8 * -2 + 1;" (assignment_expression "param_3 = param_3 + (uint)bVar8 * -2 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + (uint)bVar8 * -2 + 1" (binary_expression "param_3 + (uint)bVar8 * -2" (identifier "param_3") (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00048b13;" (goto "goto") (statement_identifier "LAB_00048b13") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int function_1(type_1 *rtnl,type_2 *n,type_2 *answer)

{
  type_3 iov;
  type_4 nladdr;
  type_5 msg;
  
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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)) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (field_expression argument: (identifier) field: (field_identifier))))) (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 (string_literal (string_content))))) (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: (field_expression argument: (identifier) field: (field_identifier))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (field_expression argument: (identifier) field: (field_identifier)) (identifier) (identifier)))))) (while_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement) condition: (parenthesized_expression (true))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (unary_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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (for_statement condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (field_expression argument: (identifier) field: (field_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)) (identifier) (identifier) (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (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: (field_expression argument: (identifier) field: (field_identifier)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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 (identifier)) (labeled_statement label: (statement_identifier) (for_statement condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 MASKED(int *param_1,uint *param_2,undefined1 *param_3)

{
  int *piVar1;
  uint *__ptr;
  ssize_t sVar2;
  int iVar3;
  uint extraout_ECX;
  uint extraout_ECX_00;
  uint extraout_ECX_01;
  uint extraout_ECX_02;
  uint uVar4;
  uint *puVar5;
  undefined1 *puVar6;
  uint uVar7;
  int in_GS_OFFSET;
  byte bVar8;
  msghdr *pmVar9;
  undefined4 uVar10;
  uint uVar11;
  iovec local_50;
  undefined2 local_48;
  undefined1 local_46 [2];
  int local_44;
  msghdr local_3c;
  int local_20;
  
  bVar8 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_50.iov_len = *param_2;
  local_50.iov_base = param_2;
  __ptr = (uint *)FUN_00019b1c();
  local_3c.msg_name = &local_48;
  local_3c.msg_namelen = 0xc;
  local_3c.msg_iov = &local_50;
  local_3c.msg_iovlen = 1;
  local_3c.msg_control = (void *)0x0;
  local_3c.msg_controllen = 0;
  local_3c.msg_flags = 0;
  puVar6 = local_46;
  for (iVar3 = 10; iVar3 != 0; iVar3 = iVar3 + -1) {
    *puVar6 = 0;
    puVar6 = puVar6 + (uint)bVar8 * -2 + 1;
  }
  local_48 = 0x10;
  uVar7 = param_1[7] + 1;
  param_1[7] = uVar7;
  param_2[2] = uVar7;
  if (param_3 == (undefined1 *)0x0) {
    *(ushort *)((int)param_2 + 6) = *(ushort *)((int)param_2 + 6) | 4;
  }
  uVar10 = 0;
  pmVar9 = &local_3c;
  sVar2 = sendmsg(*param_1,&local_3c,0);
  piVar1 = DAT_000d16fc;
  uVar4 = extraout_ECX;
  puVar5 = __ptr;
  if (sVar2 < 0) {
    FUN_00018e3c("can\'t talk to rtnetlink",pmVar9,uVar10,param_2);
    uVar10 = 0xffffffff;
  }
  else {
    while( true ) {
      while( true ) {
        local_50.iov_base = puVar5;
        local_50.iov_len = 0x2000;
        uVar10 = 0;
        uVar11 = uVar4;
        iVar3 = recvmsg(*param_1,&local_3c,0);
        uVar4 = extraout_ECX_00;
        if (-1 < iVar3) break;
        puVar5 = (uint *)local_50.iov_base;
        if (*piVar1 != 4) {
          FUN_00018e3c("OVERRUN");
          uVar4 = extraout_ECX_01;
          puVar5 = (uint *)local_50.iov_base;
        }
      }
      if (iVar3 == 0) break;
      puVar5 = __ptr;
      if (local_3c.msg_namelen != 0xc) {
                    /* WARNING: Subroutine does not return */
        FUN_000191a6("sender address length == %d",local_3c.msg_namelen,uVar10,uVar11);
      }
      while (0xf < iVar3) {
        uVar4 = *puVar5;
        if (((int)(uVar4 - 0x10) < 0) || (iVar3 < (int)uVar4)) {
          if ((local_3c.msg_flags & 0x20U) == 0) {
                    /* WARNING: Subroutine does not return */
            FUN_000191a6("malformed message: len=%d!",uVar4,uVar10,uVar11);
          }
          FUN_000191bd("truncated message");
          uVar10 = 0xffffffff;
          goto LAB_00048b13;
        }
        if (local_44 != 0) {
          do {
                    /* WARNING: Do nothing block with infinite loop */
          } while( true );
        }
        if ((puVar5[3] == param_1[2]) && (uVar7 == puVar5[2])) {
          if ((short)puVar5[1] == 2) {
            if ((int)(uVar4 - 0x10) < 0x14) {
              FUN_000191bd("ERROR truncated");
              uVar10 = 0xffffffff;
            }
            else {
              uVar7 = puVar5[4];
              *DAT_000d16fc = -uVar7;
              if (uVar7 == 0) {
                uVar10 = 0;
                if (param_3 != (undefined1 *)0x0) {
                  uVar7 = *puVar5;
                  for (; uVar7 != 0; uVar7 = uVar7 - 1) {
                    *param_3 = (char)*puVar5;
                    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);
                    param_3 = param_3 + (uint)bVar8 * -2 + 1;
                  }
                }
              }
              else {
                FUN_00018e3c("RTNETLINK answers");
                uVar10 = 0xffffffff;
              }
            }
            goto LAB_00048b13;
          }
          if (param_3 != (undefined1 *)0x0) goto code_r0x00048b0f;
          FUN_000191bd("unexpected reply!");
          uVar4 = uVar4 + 3 & 0xfffffffc;
          iVar3 = iVar3 - uVar4;
          puVar5 = (uint *)((int)puVar5 + uVar4);
        }
      }
      if ((local_3c.msg_flags & 0x20U) == 0) {
        puVar5 = (uint *)local_50.iov_base;
        if (iVar3 != 0) {
                    /* WARNING: Subroutine does not return */
          FUN_000191a6("remnant of size %d!",iVar3,uVar10,uVar11);
        }
      }
      else {
        FUN_000191bd("message truncated");
        uVar4 = extraout_ECX_02;
        puVar5 = (uint *)local_50.iov_base;
      }
    }
    FUN_000191bd("EOF on netlink");
    uVar10 = 0xffffffff;
  }
LAB_00048b13:
  free(__ptr);
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00017e10();
  }
  return uVar10;
code_r0x00048b0f:
  for (; uVar4 != 0; uVar4 = uVar4 - 1) {
    *param_3 = (char)*puVar5;
    puVar5 = (uint *)((int)puVar5 + (uint)bVar8 * -2 + 1);
    param_3 = param_3 + (uint)bVar8 * -2 + 1;
  }
  uVar10 = 0;
  goto LAB_00048b13;
}

