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

char * __regparm3
parse_with_separator
          (char *spec,char *separator,uid_t *uid,gid_t *gid,char **username,char **groupname)

{
  char cVar1;
  int iVar2;
  passwd *ppVar3;
  group *pgVar4;
  char *pcVar5;
  strtol_error sVar6;
  char *pcVar7;
  char *__name;
  int iVar8;
  int in_GS_OFFSET;
  bool bVar9;
  uint local_54;
  __uid_t local_4c;
  ulong tmp;
  char buf [21];
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  local_4c = *uid;
  local_54 = 0xffffffff;
  if (gid != (gid_t *)0x0) {
    local_54 = *gid;
  }
  if (username != (char **)0x0) {
    *username = (char *)0x0;
  }
  if (groupname != (char **)0x0) {
    *groupname = (char *)0x0;
  }
  if (separator == (char *)0x0) {
    pcVar5 = (char *)0x0;
    __name = (char *)0x0;
    if (*spec != '\0') {
      __name = xstrdup(spec);
LAB_00016876:
      if (__name == (char *)0x0) goto LAB_00016940;
      pcVar5 = (char *)0x0;
      bVar9 = separator != (char *)0x0;
      cVar1 = *__name;
      goto joined_r0x0001688f;
    }
  }
  else {
    iVar8 = (int)separator - (int)spec;
    if (iVar8 == 0) {
      if (separator[1] == '\0') {
LAB_00016940:
        __name = (char *)0x0;
        pcVar5 = (char *)0x0;
        goto LAB_000168f3;
      }
LAB_00016793:
      pcVar5 = separator + 1;
      if (pcVar5 == (char *)0x0) {
        __name = (char *)0x0;
        pcVar5 = (char *)0x0;
        goto LAB_000168f3;
      }
      __name = (char *)0x0;
LAB_00016819:
      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {
        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");
        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {
          endgrent();
          pcVar7 = "invalid group";
          pcVar5 = xstrdup(pcVar5);
          goto LAB_000168aa;
        }
      }
      else {
        local_54 = pgVar4->gr_gid;
      }
      endgrent();
      pcVar5 = xstrdup(pcVar5);
    }
    else {
      __name = (char *)xmemdup(spec,iVar8 + 1);
      __name[iVar8] = '\0';
      if (separator[1] == '\0') goto LAB_00016876;
      pcVar5 = separator + 1;
      if (__name == (char *)0x0) goto LAB_00016793;
      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;
      cVar1 = *__name;
joined_r0x0001688f:
      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {
        if (bVar9) {
          endpwent();
          pcVar7 = "invalid spec";
          pcVar5 = (char *)0x0;
        }
        else {
          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");
          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {
            endpwent();
            if (pcVar5 != (char *)0x0) goto LAB_00016819;
            pcVar5 = (char *)0x0;
            goto LAB_000168f3;
          }
          endpwent();
          pcVar7 = "invalid user";
          pcVar5 = (char *)0x0;
        }
LAB_000168aa:
        free(__name);
        free(pcVar5);
        pcVar5 = (char *)dcgettext(0,pcVar7,5);
        goto LAB_000168cb;
      }
      local_4c = ppVar3->pw_uid;
      if (bVar9) {
        local_54 = ppVar3->pw_gid;
        pgVar4 = getgrgid(local_54);
        if (pgVar4 == (group *)0x0) {
          pcVar5 = umaxtostr((ulonglong)local_54,buf);
        }
        else {
          pcVar5 = pgVar4->gr_name;
        }
        pcVar5 = xstrdup(pcVar5);
        endgrent();
        endpwent();
      }
      else {
        endpwent();
        if (pcVar5 != (char *)0x0) goto LAB_00016819;
      }
    }
  }
LAB_000168f3:
  *uid = local_4c;
  if (gid != (gid_t *)0x0) {
    *gid = local_54;
  }
  if (username != (char **)0x0) {
    *username = __name;
    __name = (char *)0x0;
  }
  if (groupname != (char **)0x0) {
    *groupname = pcVar5;
    pcVar5 = (char *)0x0;
  }
  free(__name);
  free(pcVar5);
  pcVar5 = (char *)0x0;
LAB_000168cb:
  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pcVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined4 __regparm3
FUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,
            int *param_6)

{
  char cVar1;
  passwd *ppVar2;
  group *pgVar3;
  char *pcVar4;
  undefined4 uVar5;
  void *__ptr;
  char *pcVar6;
  char *__name;
  int iVar7;
  int in_GS_OFFSET;
  bool bVar8;
  __gid_t local_54;
  __gid_t local_4c;
  __gid_t local_3c;
  undefined1 local_35 [21];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x16719;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_4c = *param_3;
  local_54 = 0xffffffff;
  if (param_4 != (__gid_t *)0x0) {
    local_54 = *param_4;
  }
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = 0;
  }
  if (param_6 != (int *)0x0) {
    *param_6 = 0;
  }
  if (param_2 == 0) {
    pcVar4 = (char *)0x0;
    __name = (char *)0x0;
    if (*param_1 != '\0') {
      __name = (char *)FUN_00017450(param_1);
LAB_00016876:
      if (__name == (char *)0x0) goto LAB_00016940;
      pcVar4 = (char *)0x0;
      bVar8 = param_2 != 0;
      cVar1 = *__name;
      goto joined_r0x0001688f;
    }
  }
  else {
    iVar7 = param_2 - (int)param_1;
    if (iVar7 == 0) {
      if (*(char *)(param_2 + 1) == '\0') {
LAB_00016940:
        __name = (char *)0x0;
        pcVar4 = (char *)0x0;
        goto LAB_000168f3;
      }
LAB_00016793:
      pcVar4 = (char *)(param_2 + 1);
      if (pcVar4 == (char *)0x0) {
        __name = (char *)0x0;
        pcVar4 = (char *)0x0;
        goto LAB_000168f3;
      }
      __name = (char *)0x0;
LAB_00016819:
      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {
        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");
        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {
          endgrent();
          pcVar6 = "invalid group";
          __ptr = (void *)FUN_00017450(pcVar4);
          goto LAB_000168aa;
        }
      }
      else {
        local_54 = pgVar3->gr_gid;
      }
      endgrent();
      pcVar4 = (char *)FUN_00017450(pcVar4);
    }
    else {
      __name = (char *)FUN_00017420(param_1,iVar7 + 1);
      __name[iVar7] = '\0';
      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;
      pcVar4 = (char *)(param_2 + 1);
      if (__name == (char *)0x0) goto LAB_00016793;
      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;
      cVar1 = *__name;
joined_r0x0001688f:
      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {
        if (bVar8) {
          endpwent();
          pcVar6 = "invalid spec";
          __ptr = (void *)0x0;
        }
        else {
          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");
          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {
            endpwent();
            if (pcVar4 != (char *)0x0) goto LAB_00016819;
            pcVar4 = (char *)0x0;
            goto LAB_000168f3;
          }
          endpwent();
          pcVar6 = "invalid user";
          __ptr = (void *)0x0;
        }
LAB_000168aa:
        free(__name);
        free(__ptr);
        uVar5 = dcgettext(0,pcVar6,5);
        goto LAB_000168cb;
      }
      local_4c = ppVar2->pw_uid;
      if (bVar8) {
        local_54 = ppVar2->pw_gid;
        pgVar3 = getgrgid(local_54);
        if (pgVar3 == (group *)0x0) {
          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);
        }
        else {
          pcVar4 = pgVar3->gr_name;
        }
        pcVar4 = (char *)FUN_00017450(pcVar4);
        endgrent();
        endpwent();
      }
      else {
        endpwent();
        if (pcVar4 != (char *)0x0) goto LAB_00016819;
      }
    }
  }
LAB_000168f3:
  *param_3 = local_4c;
  if (param_4 != (__gid_t *)0x0) {
    *param_4 = local_54;
  }
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = __name;
    __name = (char *)0x0;
  }
  if (param_6 != (int *)0x0) {
    *param_6 = (int)pcVar4;
    pcVar4 = (char *)0x0;
  }
  free(__name);
  free(pcVar4);
  uVar5 = 0;
LAB_000168cb:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0001e480();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00012c10
ADD EBX,0x108e7
SUB ESP,0x4c
MOV EDI,dword ptr [ESP + 0x64]
MOV ESI,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x14],ECX
MOV EBP,dword ptr [ESP + 0x68]
MOV dword ptr [ESP + 0x18],ESI
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x3c],EDI
XOR EDI,EDI
MOV EDI,dword ptr [ECX]
MOV dword ptr [ESP + 0x8],0xffffffff
MOV dword ptr [ESP + 0x10],EDI
TEST ESI,ESI
JZ 0x0001675f
MOV ECX,dword ptr [ESI]
MOV dword ptr [ESP + 0x8],ECX
MOV ECX,dword ptr [ESP + 0xc]
TEST ECX,ECX
JZ 0x0001676d
MOV dword ptr [ECX],0x0
TEST EBP,EBP
JZ 0x00016778
MOV dword ptr [EBP],0x0
TEST EDX,EDX
JZ 0x000168e8
MOV EDI,EDX
SUB EDI,EAX
JNZ 0x000167a0
CMP byte ptr [EDX + 0x1],0x0
LEA EDI,[EDX + 0x1]
JZ 0x00016940
TEST EDI,EDI
JZ 0x00016a62
XOR ESI,ESI
JMP 0x00016819
MOV dword ptr [ESP + 0x1c],EDX
LEA ESI,[EDI + 0x1]
SUB ESP,0x8
PUSH ESI
PUSH EAX
CALL 0x00017420
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
MOV byte ptr [EAX + EDI*0x1],0x0
MOV ESI,EAX
CMP byte ptr [EDX + 0x1],0x0
JZ 0x00016876
LEA EDI,[EDX + 0x1]
TEST EAX,EAX
JZ 0x00016793
TEST EDI,EDI
SETZ AL
TEST EDX,EDX
SETNZ DL
AND EDX,EAX
CMP byte ptr [ESI],0x2b
JZ 0x00016895
MOV byte ptr [ESP + 0x10],DL
SUB ESP,0xc
PUSH ESI
CALL 0x00012040
ADD ESP,0x10
MOVZX EDX,byte ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00016895
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x10],ECX
TEST DL,DL
JNZ 0x00016950
CALL 0x000123a0
TEST EDI,EDI
JZ 0x00016850
CMP byte ptr [EDI],0x2b
JZ 0x00016990
SUB ESP,0xc
PUSH EDI
CALL 0x00012490
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00016990
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x8],EAX
CALL 0x00012050
SUB ESP,0xc
PUSH EDI
CALL 0x00017450
ADD ESP,0x10
MOV EDI,EAX
MOV EDX,ESI
JMP 0x000168f3
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0xc
PUSH EAX
CALL 0x00017450
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
MOV ESI,EAX
TEST ESI,ESI
JZ 0x00016940
XOR EDI,EDI
TEST EDX,EDX
MOV EAX,0x1
SETNZ DL
AND EDX,EAX
CMP byte ptr [ESI],0x2b
JNZ 0x000167e4
TEST DL,DL
JZ 0x000169e0
CALL 0x000123a0
LEA EBP,[EBX + 0xffff97b6]
XOR EDI,EDI
SUB ESP,0xc
PUSH ESI
CALL 0x00012530
MOV dword ptr [ESP],EDI
CALL 0x00012530
ADD ESP,0xc
PUSH 0x5
PUSH EBP
PUSH 0x0
CALL 0x00012140
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x3c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x00016a5d
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EDI,EDI
CMP byte ptr [EAX],0x0
JNZ 0x00016860
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX],ECX
MOV EAX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x0001690b
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX],ECX
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x00016917
MOV dword ptr [EAX],EDX
XOR EDX,EDX
TEST EBP,EBP
JZ 0x00016920
MOV dword ptr [EBP],EDI
XOR EDI,EDI
SUB ESP,0xc
PUSH EDX
CALL 0x00012530
MOV dword ptr [ESP],EDI
CALL 0x00012530
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000168cb
XOR EDX,EDX
XOR EDI,EDI
JMP 0x000168f3
MOV EAX,dword ptr [EAX + 0xc]
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],EAX
PUSH EAX
CALL 0x000124d0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00016a40
MOV EAX,dword ptr [EAX]
SUB ESP,0xc
PUSH EAX
CALL 0x00017450
MOV EDI,EAX
CALL 0x00012050
CALL 0x000123a0
ADD ESP,0x10
MOV EDX,ESI
JMP 0x000168f3
SUB ESP,0xc
LEA EAX,[EBX + 0xffff9f37]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH 0xa
PUSH 0x0
PUSH EDI
CALL 0x00017550
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000169c1
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x8],EAX
CMP EAX,-0x1
JNZ 0x0001683d
CALL 0x00012050
SUB ESP,0xc
LEA EBP,[EBX + 0xffff97a8]
PUSH EDI
CALL 0x00017450
ADD ESP,0x10
MOV EDI,EAX
JMP 0x000168aa
SUB ESP,0xc
LEA EAX,[EBX + 0xffff9f37]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH 0xa
PUSH 0x0
PUSH ESI
CALL 0x00017550
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x00016a28
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x10],EAX
CMP EAX,-0x1
JZ 0x00016a28
CALL 0x000123a0
TEST EDI,EDI
JNZ 0x00016819
MOV EDX,ESI
JMP 0x000168f3
CALL 0x000123a0
LEA EBP,[EBX + 0xffff97c3]
XOR EDI,EDI
JMP 0x000168aa
SUB ESP,0x4
XOR EDX,EDX
LEA EAX,[ESP + 0x2b]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x10]
PUSH EDX
PUSH EAX
CALL 0x00014310
ADD ESP,0x10
JMP 0x0001696d
CALL 0x0001e480
XOR EDX,EDX
JMP 0x000168f3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3\nFUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)\n\n{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001e480();\n}\n\n" comment (function_definition "undefined4 __regparm3\nFUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)\n\n{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001e480();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)" identifier (parameter_list "(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "__gid_t *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "__gid_t *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001e480();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "passwd *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (declaration "group *pgVar3;" type_identifier (pointer_declarator "*pgVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *__name;" primitive_type (pointer_declarator "*__name" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "__gid_t local_54;" type_identifier identifier ;) (declaration "__gid_t local_4c;" type_identifier identifier ;) (declaration "__gid_t local_3c;" type_identifier identifier ;) (declaration "undefined1 local_35 [21];" type_identifier (array_declarator "local_35 [21]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16719;" (assignment_expression "uStack_14 = 0x16719" 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_4c = *param_3;" (assignment_expression "local_4c = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "local_54 = 0xffffffff;" (assignment_expression "local_54 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }" if (parenthesized_expression "(param_4 != (__gid_t *)0x0)" ( (binary_expression "param_4 != (__gid_t *)0x0" identifier != (cast_expression "(__gid_t *)0x0" ( (type_descriptor "__gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_54 = *param_4;\n  }" { (expression_statement "local_54 = *param_4;" (assignment_expression "local_54 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) })) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = 0;\n  }" { (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) })) (if_statement "if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }" if (parenthesized_expression "(param_6 != (int *)0x0)" ( (binary_expression "param_6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = 0;\n  }" { (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) })) (if_statement "if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" { (expression_statement "__name = (char *)FUN_00017450(param_1);" (assignment_expression "__name = (char *)FUN_00017450(param_1)" identifier = (cast_expression "(char *)FUN_00017450(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (labeled_statement "LAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;" statement_identifier : (if_statement "if (__name == (char *)0x0) goto LAB_00016940;" if (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016940;" goto statement_identifier ;))) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar8 = param_2 != 0;" (assignment_expression "bVar8 = param_2 != 0" identifier = (binary_expression "param_2 != 0" identifier != number_literal)) ;) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" identifier = (pointer_expression "*__name" * identifier)) ;) (goto_statement "goto joined_r0x0001688f;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" else (compound_statement "{\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" { (expression_statement "iVar7 = param_2 - (int)param_1;" (assignment_expression "iVar7 = param_2 - (int)param_1" identifier = (binary_expression "param_2 - (int)param_1" identifier - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }" { (if_statement "if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" if (parenthesized_expression "(*(char *)(param_2 + 1) == '\0')" ( (binary_expression "*(char *)(param_2 + 1) == '\0'" (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" { (labeled_statement "LAB_00016940:\n        __name = (char *)0x0;" statement_identifier : (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (labeled_statement "LAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);" statement_identifier : (expression_statement "pcVar4 = (char *)(param_2 + 1);" (assignment_expression "pcVar4 = (char *)(param_2 + 1)" identifier = (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) ;)) (if_statement "if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" { (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }" statement_identifier : (if_statement "if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }" if (parenthesized_expression "((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0))" ( (binary_expression "(*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)" (parenthesized_expression "(*pcVar4 == '+')" ( (binary_expression "*pcVar4 == '+'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'+'" ' character ')) )) || (parenthesized_expression "(pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)" ( (comma_expression "pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0" (assignment_expression "pgVar3 = getgrnam(pcVar4)" identifier = (call_expression "getgrnam(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) , (binary_expression "pgVar3 == (group *)0x0" identifier == (cast_expression "(group *)0x0" ( (type_descriptor "group *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }" { (expression_statement "iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");" (assignment_expression "iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"")" identifier = (call_expression "FUN_00017550(pcVar4,0,10,&local_3c,"")" identifier (argument_list "(pcVar4,0,10,&local_3c,"")" ( identifier , number_literal , number_literal , (pointer_expression "&local_3c" & identifier) , (string_literal """" " ") )))) ;) (if_statement "if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }" if (parenthesized_expression "((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff))" ( (binary_expression "(iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)" (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_54 = local_3c, local_3c == 0xffffffff)" ( (comma_expression "local_54 = local_3c, local_3c == 0xffffffff" (assignment_expression "local_54 = local_3c" identifier = identifier) , (binary_expression "local_3c == 0xffffffff" identifier == number_literal)) ))) )) (compound_statement "{\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }" { (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = "invalid group";" (assignment_expression "pcVar6 = "invalid group"" identifier = (string_literal ""invalid group"" " string_content ")) ;) (expression_statement "__ptr = (void *)FUN_00017450(pcVar4);" (assignment_expression "__ptr = (void *)FUN_00017450(pcVar4)" identifier = (cast_expression "(void *)FUN_00017450(pcVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))))) ;) (goto_statement "goto LAB_000168aa;" goto statement_identifier ;) })) }) (else_clause "else {\n        local_54 = pgVar3->gr_gid;\n      }" else (compound_statement "{\n        local_54 = pgVar3->gr_gid;\n      }" { (expression_statement "local_54 = pgVar3->gr_gid;" (assignment_expression "local_54 = pgVar3->gr_gid" identifier = (field_expression "pgVar3->gr_gid" identifier -> field_identifier)) ;) })))) (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = (char *)FUN_00017450(pcVar4);" (assignment_expression "pcVar4 = (char *)FUN_00017450(pcVar4)" identifier = (cast_expression "(char *)FUN_00017450(pcVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))))) ;) }) (else_clause "else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" else (compound_statement "{\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" { (expression_statement "__name = (char *)FUN_00017420(param_1,iVar7 + 1);" (assignment_expression "__name = (char *)FUN_00017420(param_1,iVar7 + 1)" identifier = (cast_expression "(char *)FUN_00017420(param_1,iVar7 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017420(param_1,iVar7 + 1)" identifier (argument_list "(param_1,iVar7 + 1)" ( identifier , (binary_expression "iVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "__name[iVar7] = '\0';" (assignment_expression "__name[iVar7] = '\0'" (subscript_expression "__name[iVar7]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;" if (parenthesized_expression "(*(char *)(param_2 + 1) == '\0')" ( (binary_expression "*(char *)(param_2 + 1) == '\0'" (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016876;" goto statement_identifier ;)) (expression_statement "pcVar4 = (char *)(param_2 + 1);" (assignment_expression "pcVar4 = (char *)(param_2 + 1)" identifier = (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (if_statement "if (__name == (char *)0x0) goto LAB_00016793;" if (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016793;" goto statement_identifier ;)) (expression_statement "bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;" (assignment_expression "bVar8 = param_2 != 0 && pcVar4 == (char *)0x0" identifier = (binary_expression "param_2 != 0 && pcVar4 == (char *)0x0" (binary_expression "param_2 != 0" identifier != number_literal) && (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) ;) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" identifier = (pointer_expression "*__name" * identifier)) ;) (labeled_statement "joined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" statement_identifier : (if_statement "if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" if (parenthesized_expression "((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0))" ( (binary_expression "(cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)" (parenthesized_expression "(cVar1 == '+')" ( (binary_expression "cVar1 == '+'" identifier == (char_literal "'+'" ' character ')) )) || (parenthesized_expression "(ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)" ( (comma_expression "ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0" (assignment_expression "ppVar2 = getpwnam(__name)" identifier = (call_expression "getpwnam(__name)" identifier (argument_list "(__name)" ( identifier )))) , (binary_expression "ppVar2 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" { (if_statement "if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = "invalid spec";" (assignment_expression "pcVar6 = "invalid spec"" identifier = (string_literal ""invalid spec"" " string_content ")) ;) (expression_statement "__ptr = (void *)0x0;" (assignment_expression "__ptr = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" else (compound_statement "{\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" { (expression_statement "iVar7 = FUN_00017550(__name,0,10,&local_3c,"");" (assignment_expression "iVar7 = FUN_00017550(__name,0,10,&local_3c,"")" identifier = (call_expression "FUN_00017550(__name,0,10,&local_3c,"")" identifier (argument_list "(__name,0,10,&local_3c,"")" ( identifier , number_literal , number_literal , (pointer_expression "&local_3c" & identifier) , (string_literal """" " ") )))) ;) (if_statement "if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }" if (parenthesized_expression "((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff))" ( (binary_expression "(iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(local_4c = local_3c, local_3c != 0xffffffff)" ( (comma_expression "local_4c = local_3c, local_3c != 0xffffffff" (assignment_expression "local_4c = local_3c" identifier = identifier) , (binary_expression "local_3c != 0xffffffff" identifier != number_literal)) ))) )) (compound_statement "{\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) goto LAB_00016819;" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016819;" goto statement_identifier ;)) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = "invalid user";" (assignment_expression "pcVar6 = "invalid user"" identifier = (string_literal ""invalid user"" " string_content ")) ;) (expression_statement "__ptr = (void *)0x0;" (assignment_expression "__ptr = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_000168aa:\n        free(__name);" statement_identifier : (expression_statement "free(__name);" (call_expression "free(__name)" identifier (argument_list "(__name)" ( identifier ))) ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "uVar5 = dcgettext(0,pcVar6,5);" (assignment_expression "uVar5 = dcgettext(0,pcVar6,5)" identifier = (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal )))) ;) (goto_statement "goto LAB_000168cb;" goto statement_identifier ;) }))) (expression_statement "local_4c = ppVar2->pw_uid;" (assignment_expression "local_4c = ppVar2->pw_uid" identifier = (field_expression "ppVar2->pw_uid" identifier -> field_identifier)) ;) (if_statement "if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }" { (expression_statement "local_54 = ppVar2->pw_gid;" (assignment_expression "local_54 = ppVar2->pw_gid" identifier = (field_expression "ppVar2->pw_gid" identifier -> field_identifier)) ;) (expression_statement "pgVar3 = getgrgid(local_54);" (assignment_expression "pgVar3 = getgrgid(local_54)" identifier = (call_expression "getgrgid(local_54)" identifier (argument_list "(local_54)" ( identifier )))) ;) (if_statement "if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }" if (parenthesized_expression "(pgVar3 == (group *)0x0)" ( (binary_expression "pgVar3 == (group *)0x0" identifier == (cast_expression "(group *)0x0" ( (type_descriptor "group *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }" { (expression_statement "pcVar4 = (char *)FUN_00014310(local_54,0,local_35);" (assignment_expression "pcVar4 = (char *)FUN_00014310(local_54,0,local_35)" identifier = (cast_expression "(char *)FUN_00014310(local_54,0,local_35)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00014310(local_54,0,local_35)" identifier (argument_list "(local_54,0,local_35)" ( identifier , number_literal , identifier ))))) ;) }) (else_clause "else {\n          pcVar4 = pgVar3->gr_name;\n        }" else (compound_statement "{\n          pcVar4 = pgVar3->gr_name;\n        }" { (expression_statement "pcVar4 = pgVar3->gr_name;" (assignment_expression "pcVar4 = pgVar3->gr_name" identifier = (field_expression "pgVar3->gr_name" identifier -> field_identifier)) ;) }))) (expression_statement "pcVar4 = (char *)FUN_00017450(pcVar4);" (assignment_expression "pcVar4 = (char *)FUN_00017450(pcVar4)" identifier = (cast_expression "(char *)FUN_00017450(pcVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))))) ;) (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" else (compound_statement "{\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) goto LAB_00016819;" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016819;" goto statement_identifier ;)) }))) }))) }))) (labeled_statement "LAB_000168f3:\n  *param_3 = local_4c;" statement_identifier : (expression_statement "*param_3 = local_4c;" (assignment_expression "*param_3 = local_4c" (pointer_expression "*param_3" * identifier) = identifier) ;)) (if_statement "if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }" if (parenthesized_expression "(param_4 != (__gid_t *)0x0)" ( (binary_expression "param_4 != (__gid_t *)0x0" identifier != (cast_expression "(__gid_t *)0x0" ( (type_descriptor "__gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_4 = local_54;\n  }" { (expression_statement "*param_4 = local_54;" (assignment_expression "*param_4 = local_54" (pointer_expression "*param_4" * identifier) = identifier) ;) })) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }" { (expression_statement "*param_5 = __name;" (assignment_expression "*param_5 = __name" (pointer_expression "*param_5" * identifier) = identifier) ;) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }" if (parenthesized_expression "(param_6 != (int *)0x0)" ( (binary_expression "param_6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }" { (expression_statement "*param_6 = (int)pcVar4;" (assignment_expression "*param_6 = (int)pcVar4" (pointer_expression "*param_6" * identifier) = (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "free(__name);" (call_expression "free(__name)" identifier (argument_list "(__name)" ( identifier ))) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\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    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) }))) comment (expression_statement "FUN_0001e480();" (call_expression "FUN_0001e480()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3\nparse_with_separator\n          (char *spec,char *separator,uid_t *uid,gid_t *gid,char **username,char **groupname)\n\n{\n  char cVar1;\n  int iVar2;\n  passwd *ppVar3;\n  group *pgVar4;\n  char *pcVar5;\n  strtol_error sVar6;\n  char *pcVar7;\n  char *__name;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  uint local_54;\n  __uid_t local_4c;\n  ulong tmp;\n  char buf [21];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *uid;\n  local_54 = 0xffffffff;\n  if (gid != (gid_t *)0x0) {\n    local_54 = *gid;\n  }\n  if (username != (char **)0x0) {\n    *username = (char *)0x0;\n  }\n  if (groupname != (char **)0x0) {\n    *groupname = (char *)0x0;\n  }\n  if (separator == (char *)0x0) {\n    pcVar5 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*spec != '\0') {\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar8 = (int)separator - (int)spec;\n    if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *uid = local_4c;\n  if (gid != (gid_t *)0x0) {\n    *gid = local_54;\n  }\n  if (username != (char **)0x0) {\n    *username = __name;\n    __name = (char *)0x0;\n  }\n  if (groupname != (char **)0x0) {\n    *groupname = pcVar5;\n    pcVar5 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar5);\n  pcVar5 = (char *)0x0;\nLAB_000168cb:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "char * __regparm3\nparse_with_separator\n          (char *spec,char *separator,uid_t *uid,gid_t *gid,char **username,char **groupname)\n\n{\n  char cVar1;\n  int iVar2;\n  passwd *ppVar3;\n  group *pgVar4;\n  char *pcVar5;\n  strtol_error sVar6;\n  char *pcVar7;\n  char *__name;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  uint local_54;\n  __uid_t local_4c;\n  ulong tmp;\n  char buf [21];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *uid;\n  local_54 = 0xffffffff;\n  if (gid != (gid_t *)0x0) {\n    local_54 = *gid;\n  }\n  if (username != (char **)0x0) {\n    *username = (char *)0x0;\n  }\n  if (groupname != (char **)0x0) {\n    *groupname = (char *)0x0;\n  }\n  if (separator == (char *)0x0) {\n    pcVar5 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*spec != '\0') {\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar8 = (int)separator - (int)spec;\n    if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *uid = local_4c;\n  if (gid != (gid_t *)0x0) {\n    *gid = local_54;\n  }\n  if (username != (char **)0x0) {\n    *username = __name;\n    __name = (char *)0x0;\n  }\n  if (groupname != (char **)0x0) {\n    *groupname = pcVar5;\n    pcVar5 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar5);\n  pcVar5 = (char *)0x0;\nLAB_000168cb:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (pointer_declarator "* __regparm3\nparse_with_separator\n          (char *spec,char *separator,uid_t *uid,gid_t *gid,char **username,char **groupname)" * (ERROR "__regparm3" identifier) (function_declarator "parse_with_separator\n          (char *spec,char *separator,uid_t *uid,gid_t *gid,char **username,char **groupname)" identifier (parameter_list "(char *spec,char *separator,uid_t *uid,gid_t *gid,char **username,char **groupname)" ( (parameter_declaration "char *spec" primitive_type (pointer_declarator "*spec" * identifier)) , (parameter_declaration "char *separator" primitive_type (pointer_declarator "*separator" * identifier)) , (parameter_declaration "uid_t *uid" type_identifier (pointer_declarator "*uid" * identifier)) , (parameter_declaration "gid_t *gid" type_identifier (pointer_declarator "*gid" * identifier)) , (parameter_declaration "char **username" primitive_type (pointer_declarator "**username" * (pointer_declarator "*username" * identifier))) , (parameter_declaration "char **groupname" primitive_type (pointer_declarator "**groupname" * (pointer_declarator "*groupname" * identifier))) )))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  passwd *ppVar3;\n  group *pgVar4;\n  char *pcVar5;\n  strtol_error sVar6;\n  char *pcVar7;\n  char *__name;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  uint local_54;\n  __uid_t local_4c;\n  ulong tmp;\n  char buf [21];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *uid;\n  local_54 = 0xffffffff;\n  if (gid != (gid_t *)0x0) {\n    local_54 = *gid;\n  }\n  if (username != (char **)0x0) {\n    *username = (char *)0x0;\n  }\n  if (groupname != (char **)0x0) {\n    *groupname = (char *)0x0;\n  }\n  if (separator == (char *)0x0) {\n    pcVar5 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*spec != '\0') {\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar8 = (int)separator - (int)spec;\n    if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *uid = local_4c;\n  if (gid != (gid_t *)0x0) {\n    *gid = local_54;\n  }\n  if (username != (char **)0x0) {\n    *username = __name;\n    __name = (char *)0x0;\n  }\n  if (groupname != (char **)0x0) {\n    *groupname = pcVar5;\n    pcVar5 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar5);\n  pcVar5 = (char *)0x0;\nLAB_000168cb:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "passwd *ppVar3;" type_identifier (pointer_declarator "*ppVar3" * identifier) ;) (declaration "group *pgVar4;" type_identifier (pointer_declarator "*pgVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "strtol_error sVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *__name;" primitive_type (pointer_declarator "*__name" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "__uid_t local_4c;" type_identifier identifier ;) (declaration "ulong tmp;" type_identifier identifier ;) (declaration "char buf [21];" primitive_type (array_declarator "buf [21]" identifier [ number_literal ]) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(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_4c = *uid;" (assignment_expression "local_4c = *uid" identifier = (pointer_expression "*uid" * identifier)) ;) (expression_statement "local_54 = 0xffffffff;" (assignment_expression "local_54 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (gid != (gid_t *)0x0) {\n    local_54 = *gid;\n  }" if (parenthesized_expression "(gid != (gid_t *)0x0)" ( (binary_expression "gid != (gid_t *)0x0" identifier != (cast_expression "(gid_t *)0x0" ( (type_descriptor "gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_54 = *gid;\n  }" { (expression_statement "local_54 = *gid;" (assignment_expression "local_54 = *gid" identifier = (pointer_expression "*gid" * identifier)) ;) })) (if_statement "if (username != (char **)0x0) {\n    *username = (char *)0x0;\n  }" if (parenthesized_expression "(username != (char **)0x0)" ( (binary_expression "username != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *username = (char *)0x0;\n  }" { (expression_statement "*username = (char *)0x0;" (assignment_expression "*username = (char *)0x0" (pointer_expression "*username" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (groupname != (char **)0x0) {\n    *groupname = (char *)0x0;\n  }" if (parenthesized_expression "(groupname != (char **)0x0)" ( (binary_expression "groupname != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *groupname = (char *)0x0;\n  }" { (expression_statement "*groupname = (char *)0x0;" (assignment_expression "*groupname = (char *)0x0" (pointer_expression "*groupname" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (separator == (char *)0x0) {\n    pcVar5 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*spec != '\0') {\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar8 = (int)separator - (int)spec;\n    if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" if (parenthesized_expression "(separator == (char *)0x0)" ( (binary_expression "separator == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar5 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*spec != '\0') {\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }" { (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (*spec != '\0') {\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" if (parenthesized_expression "(*spec != '\0')" ( (binary_expression "*spec != '\0'" (pointer_expression "*spec" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __name = xstrdup(spec);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar5 = (char *)0x0;\n      bVar9 = separator != (char *)0x0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" { (expression_statement "__name = xstrdup(spec);" (assignment_expression "__name = xstrdup(spec)" identifier = (call_expression "xstrdup(spec)" identifier (argument_list "(spec)" ( identifier )))) ;) (labeled_statement "LAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;" statement_identifier : (if_statement "if (__name == (char *)0x0) goto LAB_00016940;" if (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016940;" goto statement_identifier ;))) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar9 = separator != (char *)0x0;" (assignment_expression "bVar9 = separator != (char *)0x0" identifier = (binary_expression "separator != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" identifier = (pointer_expression "*__name" * identifier)) ;) (goto_statement "goto joined_r0x0001688f;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar8 = (int)separator - (int)spec;\n    if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" else (compound_statement "{\n    iVar8 = (int)separator - (int)spec;\n    if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" { (expression_statement "iVar8 = (int)separator - (int)spec;" (assignment_expression "iVar8 = (int)separator - (int)spec" identifier = (binary_expression "(int)separator - (int)spec" (cast_expression "(int)separator" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)spec" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (iVar8 == 0) {\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }\n    else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar5 = separator + 1;\n      if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }\n      endgrent();\n      pcVar5 = xstrdup(pcVar5);\n    }" { (if_statement "if (separator[1] == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }" if (parenthesized_expression "(separator[1] == '\0')" ( (binary_expression "separator[1] == '\0'" (subscript_expression "separator[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }" { (labeled_statement "LAB_00016940:\n        __name = (char *)0x0;" statement_identifier : (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (labeled_statement "LAB_00016793:\n      pcVar5 = separator + 1;" statement_identifier : (expression_statement "pcVar5 = separator + 1;" (assignment_expression "pcVar5 = separator + 1" identifier = (binary_expression "separator + 1" identifier + number_literal)) ;)) (if_statement "if (pcVar5 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        __name = (char *)0x0;\n        pcVar5 = (char *)0x0;\n        goto LAB_000168f3;\n      }" { (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00016819:\n      if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }" statement_identifier : (if_statement "if ((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)) {\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar4->gr_gid;\n      }" if (parenthesized_expression "((*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0))" ( (binary_expression "(*pcVar5 == '+') || (pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)" (parenthesized_expression "(*pcVar5 == '+')" ( (binary_expression "*pcVar5 == '+'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'+'" ' character ')) )) || (parenthesized_expression "(pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0)" ( (comma_expression "pgVar4 = getgrnam(pcVar5), pgVar4 == (group *)0x0" (assignment_expression "pgVar4 = getgrnam(pcVar5)" identifier = (call_expression "getgrnam(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) , (binary_expression "pgVar4 == (group *)0x0" identifier == (cast_expression "(group *)0x0" ( (type_descriptor "group *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");\n        if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }\n      }" { (expression_statement "sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"");" (assignment_expression "sVar6 = xstrtoul(pcVar5,(char **)0x0,10,&tmp,"")" identifier = (call_expression "xstrtoul(pcVar5,(char **)0x0,10,&tmp,"")" identifier (argument_list "(pcVar5,(char **)0x0,10,&tmp,"")" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal , (pointer_expression "&tmp" & identifier) , (string_literal """" " ") )))) ;) (if_statement "if ((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)) {\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }" if (parenthesized_expression "((sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff))" ( (binary_expression "(sVar6 != LONGINT_OK) || (local_54 = tmp, tmp == 0xffffffff)" (parenthesized_expression "(sVar6 != LONGINT_OK)" ( (binary_expression "sVar6 != LONGINT_OK" identifier != identifier) )) || (parenthesized_expression "(local_54 = tmp, tmp == 0xffffffff)" ( (comma_expression "local_54 = tmp, tmp == 0xffffffff" (assignment_expression "local_54 = tmp" identifier = identifier) , (binary_expression "tmp == 0xffffffff" identifier == number_literal)) ))) )) (compound_statement "{\n          endgrent();\n          pcVar7 = "invalid group";\n          pcVar5 = xstrdup(pcVar5);\n          goto LAB_000168aa;\n        }" { (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar7 = "invalid group";" (assignment_expression "pcVar7 = "invalid group"" identifier = (string_literal ""invalid group"" " string_content ")) ;) (expression_statement "pcVar5 = xstrdup(pcVar5);" (assignment_expression "pcVar5 = xstrdup(pcVar5)" identifier = (call_expression "xstrdup(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (goto_statement "goto LAB_000168aa;" goto statement_identifier ;) })) }) (else_clause "else {\n        local_54 = pgVar4->gr_gid;\n      }" else (compound_statement "{\n        local_54 = pgVar4->gr_gid;\n      }" { (expression_statement "local_54 = pgVar4->gr_gid;" (assignment_expression "local_54 = pgVar4->gr_gid" identifier = (field_expression "pgVar4->gr_gid" identifier -> field_identifier)) ;) })))) (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar5 = xstrdup(pcVar5);" (assignment_expression "pcVar5 = xstrdup(pcVar5)" identifier = (call_expression "xstrdup(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) }) (else_clause "else {\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }" else (compound_statement "{\n      __name = (char *)xmemdup(spec,iVar8 + 1);\n      __name[iVar8] = '\0';\n      if (separator[1] == '\0') goto LAB_00016876;\n      pcVar5 = separator + 1;\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar3->pw_uid;\n      if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }\n    }" { (expression_statement "__name = (char *)xmemdup(spec,iVar8 + 1);" (assignment_expression "__name = (char *)xmemdup(spec,iVar8 + 1)" identifier = (cast_expression "(char *)xmemdup(spec,iVar8 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmemdup(spec,iVar8 + 1)" identifier (argument_list "(spec,iVar8 + 1)" ( identifier , (binary_expression "iVar8 + 1" identifier + number_literal) ))))) ;) (expression_statement "__name[iVar8] = '\0';" (assignment_expression "__name[iVar8] = '\0'" (subscript_expression "__name[iVar8]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (separator[1] == '\0') goto LAB_00016876;" if (parenthesized_expression "(separator[1] == '\0')" ( (binary_expression "separator[1] == '\0'" (subscript_expression "separator[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016876;" goto statement_identifier ;)) (expression_statement "pcVar5 = separator + 1;" (assignment_expression "pcVar5 = separator + 1" identifier = (binary_expression "separator + 1" identifier + number_literal)) ;) (if_statement "if (__name == (char *)0x0) goto LAB_00016793;" if (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016793;" goto statement_identifier ;)) (expression_statement "bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0;" (assignment_expression "bVar9 = separator != (char *)0x0 && pcVar5 == (char *)0x0" identifier = (binary_expression "separator != (char *)0x0 && pcVar5 == (char *)0x0" (binary_expression "separator != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) ;) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" identifier = (pointer_expression "*__name" * identifier)) ;) (labeled_statement "joined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }" statement_identifier : (if_statement "if ((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)) {\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }" if (parenthesized_expression "((cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0))" ( (binary_expression "(cVar1 == '+') || (ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)" (parenthesized_expression "(cVar1 == '+')" ( (binary_expression "cVar1 == '+'" identifier == (char_literal "'+'" ' character ')) )) || (parenthesized_expression "(ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0)" ( (comma_expression "ppVar3 = getpwnam(__name), ppVar3 == (passwd *)0x0" (assignment_expression "ppVar3 = getpwnam(__name)" identifier = (call_expression "getpwnam(__name)" identifier (argument_list "(__name)" ( identifier )))) , (binary_expression "ppVar3 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(pcVar5);\n        pcVar5 = (char *)dcgettext(0,pcVar7,5);\n        goto LAB_000168cb;\n      }" { (if_statement "if (bVar9) {\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }\n        else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n          endpwent();\n          pcVar7 = "invalid spec";\n          pcVar5 = (char *)0x0;\n        }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar7 = "invalid spec";" (assignment_expression "pcVar7 = "invalid spec"" identifier = (string_literal ""invalid spec"" " string_content ")) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }" else (compound_statement "{\n          sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");\n          if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar7 = "invalid user";\n          pcVar5 = (char *)0x0;\n        }" { (expression_statement "sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"");" (assignment_expression "sVar6 = xstrtoul(__name,(char **)0x0,10,&tmp,"")" identifier = (call_expression "xstrtoul(__name,(char **)0x0,10,&tmp,"")" identifier (argument_list "(__name,(char **)0x0,10,&tmp,"")" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal , (pointer_expression "&tmp" & identifier) , (string_literal """" " ") )))) ;) (if_statement "if ((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)) {\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }" if (parenthesized_expression "((sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff))" ( (binary_expression "(sVar6 == LONGINT_OK) && (local_4c = tmp, tmp != 0xffffffff)" (parenthesized_expression "(sVar6 == LONGINT_OK)" ( (binary_expression "sVar6 == LONGINT_OK" identifier == identifier) )) && (parenthesized_expression "(local_4c = tmp, tmp != 0xffffffff)" ( (comma_expression "local_4c = tmp, tmp != 0xffffffff" (assignment_expression "local_4c = tmp" identifier = identifier) , (binary_expression "tmp != 0xffffffff" identifier != number_literal)) ))) )) (compound_statement "{\n            endpwent();\n            if (pcVar5 != (char *)0x0) goto LAB_00016819;\n            pcVar5 = (char *)0x0;\n            goto LAB_000168f3;\n          }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar5 != (char *)0x0) goto LAB_00016819;" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016819;" goto statement_identifier ;)) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar7 = "invalid user";" (assignment_expression "pcVar7 = "invalid user"" identifier = (string_literal ""invalid user"" " string_content ")) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_000168aa:\n        free(__name);" statement_identifier : (expression_statement "free(__name);" (call_expression "free(__name)" identifier (argument_list "(__name)" ( identifier ))) ;)) (expression_statement "free(pcVar5);" (call_expression "free(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "pcVar5 = (char *)dcgettext(0,pcVar7,5);" (assignment_expression "pcVar5 = (char *)dcgettext(0,pcVar7,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar7,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar7,5)" identifier (argument_list "(0,pcVar7,5)" ( number_literal , identifier , number_literal ))))) ;) (goto_statement "goto LAB_000168cb;" goto statement_identifier ;) }))) (expression_statement "local_4c = ppVar3->pw_uid;" (assignment_expression "local_4c = ppVar3->pw_uid" identifier = (field_expression "ppVar3->pw_uid" identifier -> field_identifier)) ;) (if_statement "if (bVar9) {\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n        local_54 = ppVar3->pw_gid;\n        pgVar4 = getgrgid(local_54);\n        if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }\n        pcVar5 = xstrdup(pcVar5);\n        endgrent();\n        endpwent();\n      }" { (expression_statement "local_54 = ppVar3->pw_gid;" (assignment_expression "local_54 = ppVar3->pw_gid" identifier = (field_expression "ppVar3->pw_gid" identifier -> field_identifier)) ;) (expression_statement "pgVar4 = getgrgid(local_54);" (assignment_expression "pgVar4 = getgrgid(local_54)" identifier = (call_expression "getgrgid(local_54)" identifier (argument_list "(local_54)" ( identifier )))) ;) (if_statement "if (pgVar4 == (group *)0x0) {\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }\n        else {\n          pcVar5 = pgVar4->gr_name;\n        }" if (parenthesized_expression "(pgVar4 == (group *)0x0)" ( (binary_expression "pgVar4 == (group *)0x0" identifier == (cast_expression "(group *)0x0" ( (type_descriptor "group *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar5 = umaxtostr((ulonglong)local_54,buf);\n        }" { (expression_statement "pcVar5 = umaxtostr((ulonglong)local_54,buf);" (assignment_expression "pcVar5 = umaxtostr((ulonglong)local_54,buf)" identifier = (call_expression "umaxtostr((ulonglong)local_54,buf)" identifier (argument_list "((ulonglong)local_54,buf)" ( (cast_expression "(ulonglong)local_54" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , identifier )))) ;) }) (else_clause "else {\n          pcVar5 = pgVar4->gr_name;\n        }" else (compound_statement "{\n          pcVar5 = pgVar4->gr_name;\n        }" { (expression_statement "pcVar5 = pgVar4->gr_name;" (assignment_expression "pcVar5 = pgVar4->gr_name" identifier = (field_expression "pgVar4->gr_name" identifier -> field_identifier)) ;) }))) (expression_statement "pcVar5 = xstrdup(pcVar5);" (assignment_expression "pcVar5 = xstrdup(pcVar5)" identifier = (call_expression "xstrdup(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }" else (compound_statement "{\n        endpwent();\n        if (pcVar5 != (char *)0x0) goto LAB_00016819;\n      }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar5 != (char *)0x0) goto LAB_00016819;" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016819;" goto statement_identifier ;)) }))) }))) }))) (labeled_statement "LAB_000168f3:\n  *uid = local_4c;" statement_identifier : (expression_statement "*uid = local_4c;" (assignment_expression "*uid = local_4c" (pointer_expression "*uid" * identifier) = identifier) ;)) (if_statement "if (gid != (gid_t *)0x0) {\n    *gid = local_54;\n  }" if (parenthesized_expression "(gid != (gid_t *)0x0)" ( (binary_expression "gid != (gid_t *)0x0" identifier != (cast_expression "(gid_t *)0x0" ( (type_descriptor "gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *gid = local_54;\n  }" { (expression_statement "*gid = local_54;" (assignment_expression "*gid = local_54" (pointer_expression "*gid" * identifier) = identifier) ;) })) (if_statement "if (username != (char **)0x0) {\n    *username = __name;\n    __name = (char *)0x0;\n  }" if (parenthesized_expression "(username != (char **)0x0)" ( (binary_expression "username != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *username = __name;\n    __name = (char *)0x0;\n  }" { (expression_statement "*username = __name;" (assignment_expression "*username = __name" (pointer_expression "*username" * identifier) = identifier) ;) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (groupname != (char **)0x0) {\n    *groupname = pcVar5;\n    pcVar5 = (char *)0x0;\n  }" if (parenthesized_expression "(groupname != (char **)0x0)" ( (binary_expression "groupname != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *groupname = pcVar5;\n    pcVar5 = (char *)0x0;\n  }" { (expression_statement "*groupname = pcVar5;" (assignment_expression "*groupname = pcVar5" (pointer_expression "*groupname" * identifier) = identifier) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "free(__name);" (call_expression "free(__name)" identifier (argument_list "(__name)" ( identifier ))) ;) (expression_statement "free(pcVar5);" (call_expression "free(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000168cb:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar5;\n  }" statement_identifier : (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar5;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(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    return pcVar5;\n  }" { (return_statement "return pcVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 __regparm3\nFUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)\n\n{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0001e480();\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)\n\n{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0001e480();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)" identifier (parameter_list "(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "__gid_t *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "__gid_t *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0001e480();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "passwd *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (declaration "group *pgVar3;" type_identifier (pointer_declarator "*pgVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *__name;" primitive_type (pointer_declarator "*__name" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "__gid_t local_54;" type_identifier identifier ;) (declaration "__gid_t local_4c;" type_identifier identifier ;) (declaration "__gid_t local_3c;" type_identifier identifier ;) (declaration "undefined1 local_35 [21];" type_identifier (array_declarator "local_35 [21]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16719;" (assignment_expression "uStack_14 = 0x16719" 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_4c = *param_3;" (assignment_expression "local_4c = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "local_54 = 0xffffffff;" (assignment_expression "local_54 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }" if (parenthesized_expression "(param_4 != (__gid_t *)0x0)" ( (binary_expression "param_4 != (__gid_t *)0x0" identifier != (cast_expression "(__gid_t *)0x0" ( (type_descriptor "__gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_54 = *param_4;\n  }" { (expression_statement "local_54 = *param_4;" (assignment_expression "local_54 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) })) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = 0;\n  }" { (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) })) (if_statement "if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }" if (parenthesized_expression "(param_6 != (int *)0x0)" ( (binary_expression "param_6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = 0;\n  }" { (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) })) (if_statement "if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" { (expression_statement "__name = (char *)FUN_00017450(param_1);" (assignment_expression "__name = (char *)FUN_00017450(param_1)" identifier = (cast_expression "(char *)FUN_00017450(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (labeled_statement "LAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;" statement_identifier : (if_statement "if (__name == (char *)0x0) goto LAB_00016940;" if (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016940;" goto statement_identifier ;))) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar8 = param_2 != 0;" (assignment_expression "bVar8 = param_2 != 0" identifier = (binary_expression "param_2 != 0" identifier != number_literal)) ;) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" identifier = (pointer_expression "*__name" * identifier)) ;) (goto_statement "goto joined_r0x0001688f;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" else (compound_statement "{\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" { (expression_statement "iVar7 = param_2 - (int)param_1;" (assignment_expression "iVar7 = param_2 - (int)param_1" identifier = (binary_expression "param_2 - (int)param_1" identifier - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }" { (if_statement "if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" if (parenthesized_expression "(*(char *)(param_2 + 1) == '\0')" ( (binary_expression "*(char *)(param_2 + 1) == '\0'" (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" { (labeled_statement "LAB_00016940:\n        __name = (char *)0x0;" statement_identifier : (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (labeled_statement "LAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);" statement_identifier : (expression_statement "pcVar4 = (char *)(param_2 + 1);" (assignment_expression "pcVar4 = (char *)(param_2 + 1)" identifier = (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) ;)) (if_statement "if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" { (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }" statement_identifier : (if_statement "if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }" if (parenthesized_expression "((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0))" ( (binary_expression "(*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)" (parenthesized_expression "(*pcVar4 == '+')" ( (binary_expression "*pcVar4 == '+'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'+'" ' character ')) )) || (parenthesized_expression "(pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)" ( (comma_expression "pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0" (assignment_expression "pgVar3 = getgrnam(pcVar4)" identifier = (call_expression "getgrnam(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) , (binary_expression "pgVar3 == (group *)0x0" identifier == (cast_expression "(group *)0x0" ( (type_descriptor "group *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }" { (expression_statement "iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");" (assignment_expression "iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"")" identifier = (call_expression "FUN_00017550(pcVar4,0,10,&local_3c,"")" identifier (argument_list "(pcVar4,0,10,&local_3c,"")" ( identifier , number_literal , number_literal , (pointer_expression "&local_3c" & identifier) , (string_literal """" " ") )))) ;) (if_statement "if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }" if (parenthesized_expression "((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff))" ( (binary_expression "(iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)" (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_54 = local_3c, local_3c == 0xffffffff)" ( (comma_expression "local_54 = local_3c, local_3c == 0xffffffff" (assignment_expression "local_54 = local_3c" identifier = identifier) , (binary_expression "local_3c == 0xffffffff" identifier == number_literal)) ))) )) (compound_statement "{\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }" { (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = "invalid group";" (assignment_expression "pcVar6 = "invalid group"" identifier = (string_literal ""invalid group"" " string_content ")) ;) (expression_statement "__ptr = (void *)FUN_00017450(pcVar4);" (assignment_expression "__ptr = (void *)FUN_00017450(pcVar4)" identifier = (cast_expression "(void *)FUN_00017450(pcVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))))) ;) (goto_statement "goto LAB_000168aa;" goto statement_identifier ;) })) }) (else_clause "else {\n        local_54 = pgVar3->gr_gid;\n      }" else (compound_statement "{\n        local_54 = pgVar3->gr_gid;\n      }" { (expression_statement "local_54 = pgVar3->gr_gid;" (assignment_expression "local_54 = pgVar3->gr_gid" identifier = (field_expression "pgVar3->gr_gid" identifier -> field_identifier)) ;) })))) (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = (char *)FUN_00017450(pcVar4);" (assignment_expression "pcVar4 = (char *)FUN_00017450(pcVar4)" identifier = (cast_expression "(char *)FUN_00017450(pcVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))))) ;) }) (else_clause "else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" else (compound_statement "{\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" { (expression_statement "__name = (char *)FUN_00017420(param_1,iVar7 + 1);" (assignment_expression "__name = (char *)FUN_00017420(param_1,iVar7 + 1)" identifier = (cast_expression "(char *)FUN_00017420(param_1,iVar7 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017420(param_1,iVar7 + 1)" identifier (argument_list "(param_1,iVar7 + 1)" ( identifier , (binary_expression "iVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "__name[iVar7] = '\0';" (assignment_expression "__name[iVar7] = '\0'" (subscript_expression "__name[iVar7]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;" if (parenthesized_expression "(*(char *)(param_2 + 1) == '\0')" ( (binary_expression "*(char *)(param_2 + 1) == '\0'" (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00016876;" goto statement_identifier ;)) (expression_statement "pcVar4 = (char *)(param_2 + 1);" (assignment_expression "pcVar4 = (char *)(param_2 + 1)" identifier = (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (if_statement "if (__name == (char *)0x0) goto LAB_00016793;" if (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016793;" goto statement_identifier ;)) (expression_statement "bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;" (assignment_expression "bVar8 = param_2 != 0 && pcVar4 == (char *)0x0" identifier = (binary_expression "param_2 != 0 && pcVar4 == (char *)0x0" (binary_expression "param_2 != 0" identifier != number_literal) && (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) ;) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" identifier = (pointer_expression "*__name" * identifier)) ;) (labeled_statement "joined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" statement_identifier : (if_statement "if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" if (parenthesized_expression "((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0))" ( (binary_expression "(cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)" (parenthesized_expression "(cVar1 == '+')" ( (binary_expression "cVar1 == '+'" identifier == (char_literal "'+'" ' character ')) )) || (parenthesized_expression "(ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)" ( (comma_expression "ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0" (assignment_expression "ppVar2 = getpwnam(__name)" identifier = (call_expression "getpwnam(__name)" identifier (argument_list "(__name)" ( identifier )))) , (binary_expression "ppVar2 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" { (if_statement "if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = "invalid spec";" (assignment_expression "pcVar6 = "invalid spec"" identifier = (string_literal ""invalid spec"" " string_content ")) ;) (expression_statement "__ptr = (void *)0x0;" (assignment_expression "__ptr = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" else (compound_statement "{\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" { (expression_statement "iVar7 = FUN_00017550(__name,0,10,&local_3c,"");" (assignment_expression "iVar7 = FUN_00017550(__name,0,10,&local_3c,"")" identifier = (call_expression "FUN_00017550(__name,0,10,&local_3c,"")" identifier (argument_list "(__name,0,10,&local_3c,"")" ( identifier , number_literal , number_literal , (pointer_expression "&local_3c" & identifier) , (string_literal """" " ") )))) ;) (if_statement "if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }" if (parenthesized_expression "((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff))" ( (binary_expression "(iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(local_4c = local_3c, local_3c != 0xffffffff)" ( (comma_expression "local_4c = local_3c, local_3c != 0xffffffff" (assignment_expression "local_4c = local_3c" identifier = identifier) , (binary_expression "local_3c != 0xffffffff" identifier != number_literal)) ))) )) (compound_statement "{\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) goto LAB_00016819;" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016819;" goto statement_identifier ;)) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000168f3;" goto statement_identifier ;) })) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = "invalid user";" (assignment_expression "pcVar6 = "invalid user"" identifier = (string_literal ""invalid user"" " string_content ")) ;) (expression_statement "__ptr = (void *)0x0;" (assignment_expression "__ptr = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_000168aa:\n        free(__name);" statement_identifier : (expression_statement "free(__name);" (call_expression "free(__name)" identifier (argument_list "(__name)" ( identifier ))) ;)) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "uVar5 = dcgettext(0,pcVar6,5);" (assignment_expression "uVar5 = dcgettext(0,pcVar6,5)" identifier = (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal )))) ;) (goto_statement "goto LAB_000168cb;" goto statement_identifier ;) }))) (expression_statement "local_4c = ppVar2->pw_uid;" (assignment_expression "local_4c = ppVar2->pw_uid" identifier = (field_expression "ppVar2->pw_uid" identifier -> field_identifier)) ;) (if_statement "if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }" { (expression_statement "local_54 = ppVar2->pw_gid;" (assignment_expression "local_54 = ppVar2->pw_gid" identifier = (field_expression "ppVar2->pw_gid" identifier -> field_identifier)) ;) (expression_statement "pgVar3 = getgrgid(local_54);" (assignment_expression "pgVar3 = getgrgid(local_54)" identifier = (call_expression "getgrgid(local_54)" identifier (argument_list "(local_54)" ( identifier )))) ;) (if_statement "if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }" if (parenthesized_expression "(pgVar3 == (group *)0x0)" ( (binary_expression "pgVar3 == (group *)0x0" identifier == (cast_expression "(group *)0x0" ( (type_descriptor "group *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }" { (expression_statement "pcVar4 = (char *)FUN_00014310(local_54,0,local_35);" (assignment_expression "pcVar4 = (char *)FUN_00014310(local_54,0,local_35)" identifier = (cast_expression "(char *)FUN_00014310(local_54,0,local_35)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00014310(local_54,0,local_35)" identifier (argument_list "(local_54,0,local_35)" ( identifier , number_literal , identifier ))))) ;) }) (else_clause "else {\n          pcVar4 = pgVar3->gr_name;\n        }" else (compound_statement "{\n          pcVar4 = pgVar3->gr_name;\n        }" { (expression_statement "pcVar4 = pgVar3->gr_name;" (assignment_expression "pcVar4 = pgVar3->gr_name" identifier = (field_expression "pgVar3->gr_name" identifier -> field_identifier)) ;) }))) (expression_statement "pcVar4 = (char *)FUN_00017450(pcVar4);" (assignment_expression "pcVar4 = (char *)FUN_00017450(pcVar4)" identifier = (cast_expression "(char *)FUN_00017450(pcVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00017450(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))))) ;) (expression_statement "endgrent();" (call_expression "endgrent()" identifier (argument_list "()" ( ))) ;) (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" else (compound_statement "{\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" { (expression_statement "endpwent();" (call_expression "endpwent()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) goto LAB_00016819;" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00016819;" goto statement_identifier ;)) }))) }))) }))) (labeled_statement "LAB_000168f3:\n  *param_3 = local_4c;" statement_identifier : (expression_statement "*param_3 = local_4c;" (assignment_expression "*param_3 = local_4c" (pointer_expression "*param_3" * identifier) = identifier) ;)) (if_statement "if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }" if (parenthesized_expression "(param_4 != (__gid_t *)0x0)" ( (binary_expression "param_4 != (__gid_t *)0x0" identifier != (cast_expression "(__gid_t *)0x0" ( (type_descriptor "__gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_4 = local_54;\n  }" { (expression_statement "*param_4 = local_54;" (assignment_expression "*param_4 = local_54" (pointer_expression "*param_4" * identifier) = identifier) ;) })) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }" { (expression_statement "*param_5 = __name;" (assignment_expression "*param_5 = __name" (pointer_expression "*param_5" * identifier) = identifier) ;) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }" if (parenthesized_expression "(param_6 != (int *)0x0)" ( (binary_expression "param_6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }" { (expression_statement "*param_6 = (int)pcVar4;" (assignment_expression "*param_6 = (int)pcVar4" (pointer_expression "*param_6" * identifier) = (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "free(__name);" (call_expression "free(__name)" identifier (argument_list "(__name)" ( identifier ))) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\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    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) }))) (expression_statement "FUN_0001e480();" (call_expression "FUN_0001e480()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 (array_declarator IDENT [ LIT ]) ;) (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 IDENT = (pointer_expression * IDENT)) ;) (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)) ;) })) (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 * 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 (pointer_expression * IDENT) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (labeled_statement 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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , (string_literal " ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) })))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , (string_literal " ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 * IDENT) = 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 * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (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 * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (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 { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3\nFUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)\n\n{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0001e480();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00016710(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)" (identifier "FUN_00016710") (parameter_list "(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,\n            int *param_6)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "__gid_t *param_3" (type_identifier "__gid_t") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "__gid_t *param_4" (type_identifier "__gid_t") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int *param_6" (primitive_type "int") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  char cVar1;\n  passwd *ppVar2;\n  group *pgVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  char *pcVar6;\n  char *__name;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  __gid_t local_54;\n  __gid_t local_4c;\n  __gid_t local_3c;\n  undefined1 local_35 [21];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_4c = *param_3;\n  local_54 = 0xffffffff;\n  if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }\n  if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }\nLAB_000168f3:\n  *param_3 = local_4c;\n  if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }\n  if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }\n  free(__name);\n  free(pcVar4);\n  uVar5 = 0;\nLAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_0001e480();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "passwd *ppVar2;" (type_identifier "passwd") (pointer_declarator "*ppVar2" (* "*") (identifier "ppVar2")) (; ";")) (declaration "group *pgVar3;" (type_identifier "group") (pointer_declarator "*pgVar3" (* "*") (identifier "pgVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char *__name;" (primitive_type "char") (pointer_declarator "*__name" (* "*") (identifier "__name")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "__gid_t local_54;" (type_identifier "__gid_t") (identifier "local_54") (; ";")) (declaration "__gid_t local_4c;" (type_identifier "__gid_t") (identifier "local_4c") (; ";")) (declaration "__gid_t local_3c;" (type_identifier "__gid_t") (identifier "local_3c") (; ";")) (declaration "undefined1 local_35 [21];" (type_identifier "undefined1") (array_declarator "local_35 [21]" (identifier "local_35") ([ "[") (number_literal "21") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x16719;" (assignment_expression "uStack_14 = 0x16719" (identifier "uStack_14") (= "=") (number_literal "0x16719")) (; ";")) (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_4c = *param_3;" (assignment_expression "local_4c = *param_3" (identifier "local_4c") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "local_54 = 0xffffffff;" (assignment_expression "local_54 = 0xffffffff" (identifier "local_54") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (param_4 != (__gid_t *)0x0) {\n    local_54 = *param_4;\n  }" (if "if") (parenthesized_expression "(param_4 != (__gid_t *)0x0)" (( "(") (binary_expression "param_4 != (__gid_t *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(__gid_t *)0x0" (( "(") (type_descriptor "__gid_t *" (type_identifier "__gid_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_54 = *param_4;\n  }" ({ "{") (expression_statement "local_54 = *param_4;" (assignment_expression "local_54 = *param_4" (identifier "local_54") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (} "}"))) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }" (if "if") (parenthesized_expression "(param_5 != (undefined4 *)0x0)" (( "(") (binary_expression "param_5 != (undefined4 *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_5 = 0;\n  }" ({ "{") (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (param_6 != (int *)0x0) {\n    *param_6 = 0;\n  }" (if "if") (parenthesized_expression "(param_6 != (int *)0x0)" (( "(") (binary_expression "param_6 != (int *)0x0" (identifier "param_6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_6 = 0;\n  }" ({ "{") (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }\n  else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar4 = (char *)0x0;\n    __name = (char *)0x0;\n    if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }\n  }" ({ "{") (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" (identifier "__name") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (*param_1 != '\0') {\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" (if "if") (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      __name = (char *)FUN_00017450(param_1);\nLAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;\n      pcVar4 = (char *)0x0;\n      bVar8 = param_2 != 0;\n      cVar1 = *__name;\n      goto joined_r0x0001688f;\n    }" ({ "{") (expression_statement "__name = (char *)FUN_00017450(param_1);" (assignment_expression "__name = (char *)FUN_00017450(param_1)" (identifier "__name") (= "=") (cast_expression "(char *)FUN_00017450(param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00017450(param_1)" (identifier "FUN_00017450") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (labeled_statement "LAB_00016876:\n      if (__name == (char *)0x0) goto LAB_00016940;" (statement_identifier "LAB_00016876") (: ":") (if_statement "if (__name == (char *)0x0) goto LAB_00016940;" (if "if") (parenthesized_expression "(__name == (char *)0x0)" (( "(") (binary_expression "__name == (char *)0x0" (identifier "__name") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00016940;" (goto "goto") (statement_identifier "LAB_00016940") (; ";")))) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "bVar8 = param_2 != 0;" (assignment_expression "bVar8 = param_2 != 0" (identifier "bVar8") (= "=") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" (identifier "cVar1") (= "=") (pointer_expression "*__name" (* "*") (identifier "__name"))) (; ";")) (goto_statement "goto joined_r0x0001688f;" (goto "goto") (statement_identifier "joined_r0x0001688f") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar7 = param_2 - (int)param_1;\n    if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar7 = param_2 - (int)param_1;" (assignment_expression "iVar7 = param_2 - (int)param_1" (identifier "iVar7") (= "=") (binary_expression "param_2 - (int)param_1" (identifier "param_2") (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (iVar7 == 0) {\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }\n    else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\nLAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);\n      if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }\n      __name = (char *)0x0;\nLAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }\n      endgrent();\n      pcVar4 = (char *)FUN_00017450(pcVar4);\n    }" ({ "{") (if_statement "if (*(char *)(param_2 + 1) == '\0') {\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 1) == '\0')" (( "(") (binary_expression "*(char *)(param_2 + 1) == '\0'" (pointer_expression "*(char *)(param_2 + 1)" (* "*") (cast_expression "(char *)(param_2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_00016940:\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" ({ "{") (labeled_statement "LAB_00016940:\n        __name = (char *)0x0;" (statement_identifier "LAB_00016940") (: ":") (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" (identifier "__name") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000168f3;" (goto "goto") (statement_identifier "LAB_000168f3") (; ";")) (} "}"))) (labeled_statement "LAB_00016793:\n      pcVar4 = (char *)(param_2 + 1);" (statement_identifier "LAB_00016793") (: ":") (expression_statement "pcVar4 = (char *)(param_2 + 1);" (assignment_expression "pcVar4 = (char *)(param_2 + 1)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(param_2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (; ";"))) (if_statement "if (pcVar4 == (char *)0x0) {\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        __name = (char *)0x0;\n        pcVar4 = (char *)0x0;\n        goto LAB_000168f3;\n      }" ({ "{") (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" (identifier "__name") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000168f3;" (goto "goto") (statement_identifier "LAB_000168f3") (; ";")) (} "}"))) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" (identifier "__name") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_00016819:\n      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }" (statement_identifier "LAB_00016819") (: ":") (if_statement "if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }\n      else {\n        local_54 = pgVar3->gr_gid;\n      }" (if "if") (parenthesized_expression "((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0))" (( "(") (binary_expression "(*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)" (parenthesized_expression "(*pcVar4 == '+')" (( "(") (binary_expression "*pcVar4 == '+'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "'+'" (' "'") (character "+") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)" (( "(") (comma_expression "pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0" (assignment_expression "pgVar3 = getgrnam(pcVar4)" (identifier "pgVar3") (= "=") (call_expression "getgrnam(pcVar4)" (identifier "getgrnam") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (, ",") (binary_expression "pgVar3 == (group *)0x0" (identifier "pgVar3") (== "==") (cast_expression "(group *)0x0" (( "(") (type_descriptor "group *" (type_identifier "group") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");\n        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }\n      }" ({ "{") (expression_statement "iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");" (assignment_expression "iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"")" (identifier "iVar7") (= "=") (call_expression "FUN_00017550(pcVar4,0,10,&local_3c,"")" (identifier "FUN_00017550") (argument_list "(pcVar4,0,10,&local_3c,"")" (( "(") (identifier "pcVar4") (, ",") (number_literal "0") (, ",") (number_literal "10") (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (string_literal """" (" """) (" """)) () ")")))) (; ";")) (if_statement "if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }" (if "if") (parenthesized_expression "((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff))" (( "(") (binary_expression "(iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)" (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_54 = local_3c, local_3c == 0xffffffff)" (( "(") (comma_expression "local_54 = local_3c, local_3c == 0xffffffff" (assignment_expression "local_54 = local_3c" (identifier "local_54") (= "=") (identifier "local_3c")) (, ",") (binary_expression "local_3c == 0xffffffff" (identifier "local_3c") (== "==") (number_literal "0xffffffff"))) () ")"))) () ")")) (compound_statement "{\n          endgrent();\n          pcVar6 = "invalid group";\n          __ptr = (void *)FUN_00017450(pcVar4);\n          goto LAB_000168aa;\n        }" ({ "{") (expression_statement "endgrent();" (call_expression "endgrent()" (identifier "endgrent") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar6 = "invalid group";" (assignment_expression "pcVar6 = "invalid group"" (identifier "pcVar6") (= "=") (string_literal ""invalid group"" (" """) (string_content "invalid group") (" """))) (; ";")) (expression_statement "__ptr = (void *)FUN_00017450(pcVar4);" (assignment_expression "__ptr = (void *)FUN_00017450(pcVar4)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00017450(pcVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00017450(pcVar4)" (identifier "FUN_00017450") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))))) (; ";")) (goto_statement "goto LAB_000168aa;" (goto "goto") (statement_identifier "LAB_000168aa") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        local_54 = pgVar3->gr_gid;\n      }" (else "else") (compound_statement "{\n        local_54 = pgVar3->gr_gid;\n      }" ({ "{") (expression_statement "local_54 = pgVar3->gr_gid;" (assignment_expression "local_54 = pgVar3->gr_gid" (identifier "local_54") (= "=") (field_expression "pgVar3->gr_gid" (identifier "pgVar3") (-> "->") (field_identifier "gr_gid"))) (; ";")) (} "}"))))) (expression_statement "endgrent();" (call_expression "endgrent()" (identifier "endgrent") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar4 = (char *)FUN_00017450(pcVar4);" (assignment_expression "pcVar4 = (char *)FUN_00017450(pcVar4)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_00017450(pcVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00017450(pcVar4)" (identifier "FUN_00017450") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" (else "else") (compound_statement "{\n      __name = (char *)FUN_00017420(param_1,iVar7 + 1);\n      __name[iVar7] = '\0';\n      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;\n      pcVar4 = (char *)(param_2 + 1);\n      if (__name == (char *)0x0) goto LAB_00016793;\n      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;\n      cVar1 = *__name;\njoined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }\n      local_4c = ppVar2->pw_uid;\n      if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }\n    }" ({ "{") (expression_statement "__name = (char *)FUN_00017420(param_1,iVar7 + 1);" (assignment_expression "__name = (char *)FUN_00017420(param_1,iVar7 + 1)" (identifier "__name") (= "=") (cast_expression "(char *)FUN_00017420(param_1,iVar7 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00017420(param_1,iVar7 + 1)" (identifier "FUN_00017420") (argument_list "(param_1,iVar7 + 1)" (( "(") (identifier "param_1") (, ",") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "__name[iVar7] = '\0';" (assignment_expression "__name[iVar7] = '\0'" (subscript_expression "__name[iVar7]" (identifier "__name") ([ "[") (identifier "iVar7") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;" (if "if") (parenthesized_expression "(*(char *)(param_2 + 1) == '\0')" (( "(") (binary_expression "*(char *)(param_2 + 1) == '\0'" (pointer_expression "*(char *)(param_2 + 1)" (* "*") (cast_expression "(char *)(param_2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00016876;" (goto "goto") (statement_identifier "LAB_00016876") (; ";"))) (expression_statement "pcVar4 = (char *)(param_2 + 1);" (assignment_expression "pcVar4 = (char *)(param_2 + 1)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(param_2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (__name == (char *)0x0) goto LAB_00016793;" (if "if") (parenthesized_expression "(__name == (char *)0x0)" (( "(") (binary_expression "__name == (char *)0x0" (identifier "__name") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00016793;" (goto "goto") (statement_identifier "LAB_00016793") (; ";"))) (expression_statement "bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;" (assignment_expression "bVar8 = param_2 != 0 && pcVar4 == (char *)0x0" (identifier "bVar8") (= "=") (binary_expression "param_2 != 0 && pcVar4 == (char *)0x0" (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) (&& "&&") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))))) (; ";")) (expression_statement "cVar1 = *__name;" (assignment_expression "cVar1 = *__name" (identifier "cVar1") (= "=") (pointer_expression "*__name" (* "*") (identifier "__name"))) (; ";")) (labeled_statement "joined_r0x0001688f:\n      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" (statement_identifier "joined_r0x0001688f") (: ":") (if_statement "if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" (if "if") (parenthesized_expression "((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0))" (( "(") (binary_expression "(cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)" (parenthesized_expression "(cVar1 == '+')" (( "(") (binary_expression "cVar1 == '+'" (identifier "cVar1") (== "==") (char_literal "'+'" (' "'") (character "+") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)" (( "(") (comma_expression "ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0" (assignment_expression "ppVar2 = getpwnam(__name)" (identifier "ppVar2") (= "=") (call_expression "getpwnam(__name)" (identifier "getpwnam") (argument_list "(__name)" (( "(") (identifier "__name") () ")")))) (, ",") (binary_expression "ppVar2 == (passwd *)0x0" (identifier "ppVar2") (== "==") (cast_expression "(passwd *)0x0" (( "(") (type_descriptor "passwd *" (type_identifier "passwd") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n        if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }\nLAB_000168aa:\n        free(__name);\n        free(__ptr);\n        uVar5 = dcgettext(0,pcVar6,5);\n        goto LAB_000168cb;\n      }" ({ "{") (if_statement "if (bVar8) {\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }\n        else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (compound_statement "{\n          endpwent();\n          pcVar6 = "invalid spec";\n          __ptr = (void *)0x0;\n        }" ({ "{") (expression_statement "endpwent();" (call_expression "endpwent()" (identifier "endpwent") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar6 = "invalid spec";" (assignment_expression "pcVar6 = "invalid spec"" (identifier "pcVar6") (= "=") (string_literal ""invalid spec"" (" """) (string_content "invalid spec") (" """))) (; ";")) (expression_statement "__ptr = (void *)0x0;" (assignment_expression "__ptr = (void *)0x0" (identifier "__ptr") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" (else "else") (compound_statement "{\n          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");\n          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }\n          endpwent();\n          pcVar6 = "invalid user";\n          __ptr = (void *)0x0;\n        }" ({ "{") (expression_statement "iVar7 = FUN_00017550(__name,0,10,&local_3c,"");" (assignment_expression "iVar7 = FUN_00017550(__name,0,10,&local_3c,"")" (identifier "iVar7") (= "=") (call_expression "FUN_00017550(__name,0,10,&local_3c,"")" (identifier "FUN_00017550") (argument_list "(__name,0,10,&local_3c,"")" (( "(") (identifier "__name") (, ",") (number_literal "0") (, ",") (number_literal "10") (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (string_literal """" (" """) (" """)) () ")")))) (; ";")) (if_statement "if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }" (if "if") (parenthesized_expression "((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff))" (( "(") (binary_expression "(iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)" (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_4c = local_3c, local_3c != 0xffffffff)" (( "(") (comma_expression "local_4c = local_3c, local_3c != 0xffffffff" (assignment_expression "local_4c = local_3c" (identifier "local_4c") (= "=") (identifier "local_3c")) (, ",") (binary_expression "local_3c != 0xffffffff" (identifier "local_3c") (!= "!=") (number_literal "0xffffffff"))) () ")"))) () ")")) (compound_statement "{\n            endpwent();\n            if (pcVar4 != (char *)0x0) goto LAB_00016819;\n            pcVar4 = (char *)0x0;\n            goto LAB_000168f3;\n          }" ({ "{") (expression_statement "endpwent();" (call_expression "endpwent()" (identifier "endpwent") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (pcVar4 != (char *)0x0) goto LAB_00016819;" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00016819;" (goto "goto") (statement_identifier "LAB_00016819") (; ";"))) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000168f3;" (goto "goto") (statement_identifier "LAB_000168f3") (; ";")) (} "}"))) (expression_statement "endpwent();" (call_expression "endpwent()" (identifier "endpwent") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar6 = "invalid user";" (assignment_expression "pcVar6 = "invalid user"" (identifier "pcVar6") (= "=") (string_literal ""invalid user"" (" """) (string_content "invalid user") (" """))) (; ";")) (expression_statement "__ptr = (void *)0x0;" (assignment_expression "__ptr = (void *)0x0" (identifier "__ptr") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (labeled_statement "LAB_000168aa:\n        free(__name);" (statement_identifier "LAB_000168aa") (: ":") (expression_statement "free(__name);" (call_expression "free(__name)" (identifier "free") (argument_list "(__name)" (( "(") (identifier "__name") () ")"))) (; ";"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "uVar5 = dcgettext(0,pcVar6,5);" (assignment_expression "uVar5 = dcgettext(0,pcVar6,5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,pcVar6,5)" (identifier "dcgettext") (argument_list "(0,pcVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar6") (, ",") (number_literal "5") () ")")))) (; ";")) (goto_statement "goto LAB_000168cb;" (goto "goto") (statement_identifier "LAB_000168cb") (; ";")) (} "}")))) (expression_statement "local_4c = ppVar2->pw_uid;" (assignment_expression "local_4c = ppVar2->pw_uid" (identifier "local_4c") (= "=") (field_expression "ppVar2->pw_uid" (identifier "ppVar2") (-> "->") (field_identifier "pw_uid"))) (; ";")) (if_statement "if (bVar8) {\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }\n      else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (compound_statement "{\n        local_54 = ppVar2->pw_gid;\n        pgVar3 = getgrgid(local_54);\n        if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }\n        pcVar4 = (char *)FUN_00017450(pcVar4);\n        endgrent();\n        endpwent();\n      }" ({ "{") (expression_statement "local_54 = ppVar2->pw_gid;" (assignment_expression "local_54 = ppVar2->pw_gid" (identifier "local_54") (= "=") (field_expression "ppVar2->pw_gid" (identifier "ppVar2") (-> "->") (field_identifier "pw_gid"))) (; ";")) (expression_statement "pgVar3 = getgrgid(local_54);" (assignment_expression "pgVar3 = getgrgid(local_54)" (identifier "pgVar3") (= "=") (call_expression "getgrgid(local_54)" (identifier "getgrgid") (argument_list "(local_54)" (( "(") (identifier "local_54") () ")")))) (; ";")) (if_statement "if (pgVar3 == (group *)0x0) {\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }\n        else {\n          pcVar4 = pgVar3->gr_name;\n        }" (if "if") (parenthesized_expression "(pgVar3 == (group *)0x0)" (( "(") (binary_expression "pgVar3 == (group *)0x0" (identifier "pgVar3") (== "==") (cast_expression "(group *)0x0" (( "(") (type_descriptor "group *" (type_identifier "group") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)FUN_00014310(local_54,0,local_35);" (assignment_expression "pcVar4 = (char *)FUN_00014310(local_54,0,local_35)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_00014310(local_54,0,local_35)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00014310(local_54,0,local_35)" (identifier "FUN_00014310") (argument_list "(local_54,0,local_35)" (( "(") (identifier "local_54") (, ",") (number_literal "0") (, ",") (identifier "local_35") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          pcVar4 = pgVar3->gr_name;\n        }" (else "else") (compound_statement "{\n          pcVar4 = pgVar3->gr_name;\n        }" ({ "{") (expression_statement "pcVar4 = pgVar3->gr_name;" (assignment_expression "pcVar4 = pgVar3->gr_name" (identifier "pcVar4") (= "=") (field_expression "pgVar3->gr_name" (identifier "pgVar3") (-> "->") (field_identifier "gr_name"))) (; ";")) (} "}")))) (expression_statement "pcVar4 = (char *)FUN_00017450(pcVar4);" (assignment_expression "pcVar4 = (char *)FUN_00017450(pcVar4)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_00017450(pcVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00017450(pcVar4)" (identifier "FUN_00017450") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))))) (; ";")) (expression_statement "endgrent();" (call_expression "endgrent()" (identifier "endgrent") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "endpwent();" (call_expression "endpwent()" (identifier "endpwent") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" (else "else") (compound_statement "{\n        endpwent();\n        if (pcVar4 != (char *)0x0) goto LAB_00016819;\n      }" ({ "{") (expression_statement "endpwent();" (call_expression "endpwent()" (identifier "endpwent") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (pcVar4 != (char *)0x0) goto LAB_00016819;" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00016819;" (goto "goto") (statement_identifier "LAB_00016819") (; ";"))) (} "}")))) (} "}")))) (} "}")))) (labeled_statement "LAB_000168f3:\n  *param_3 = local_4c;" (statement_identifier "LAB_000168f3") (: ":") (expression_statement "*param_3 = local_4c;" (assignment_expression "*param_3 = local_4c" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "local_4c")) (; ";"))) (if_statement "if (param_4 != (__gid_t *)0x0) {\n    *param_4 = local_54;\n  }" (if "if") (parenthesized_expression "(param_4 != (__gid_t *)0x0)" (( "(") (binary_expression "param_4 != (__gid_t *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(__gid_t *)0x0" (( "(") (type_descriptor "__gid_t *" (type_identifier "__gid_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_4 = local_54;\n  }" ({ "{") (expression_statement "*param_4 = local_54;" (assignment_expression "*param_4 = local_54" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "local_54")) (; ";")) (} "}"))) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }" (if "if") (parenthesized_expression "(param_5 != (undefined4 *)0x0)" (( "(") (binary_expression "param_5 != (undefined4 *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_5 = __name;\n    __name = (char *)0x0;\n  }" ({ "{") (expression_statement "*param_5 = __name;" (assignment_expression "*param_5 = __name" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "__name")) (; ";")) (expression_statement "__name = (char *)0x0;" (assignment_expression "__name = (char *)0x0" (identifier "__name") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (if_statement "if (param_6 != (int *)0x0) {\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }" (if "if") (parenthesized_expression "(param_6 != (int *)0x0)" (( "(") (binary_expression "param_6 != (int *)0x0" (identifier "param_6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_6 = (int)pcVar4;\n    pcVar4 = (char *)0x0;\n  }" ({ "{") (expression_statement "*param_6 = (int)pcVar4;" (assignment_expression "*param_6 = (int)pcVar4" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (cast_expression "(int)pcVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar4"))) (; ";")) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "free(__name);" (call_expression "free(__name)" (identifier "free") (argument_list "(__name)" (( "(") (identifier "__name") () ")"))) (; ";")) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" (identifier "free") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000168cb:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" (statement_identifier "LAB_000168cb") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\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    return uVar5;\n  }" ({ "{") (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))) (expression_statement "FUN_0001e480();" (call_expression "FUN_0001e480()" (identifier "FUN_0001e480") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

char * __regparm3
function_1
          (char *spec,char *var_5,type_1 *uid,type_2 *var_2,char **var_3,char **var_4)

{
  char var_18;
  int var_26;
  type_3 *var_20;
  type_4 *var_11;
  char *var_9;
  type_5 var_13;
  char *pcVar7;
  char *var_7;
  int var_8;
  int var_1;
  bool bVar9;
  type_6 local_54;
  type_7 local_4c;
  type_8 var_15;
  char buf [21];
  
  var_26 = *(int *)(var_1 + 0x14);
  local_4c = *uid;
  local_54 = 0xffffffff;
  if (var_2 != (type_2 *)0x0) {
    local_54 = *var_2;
  }
  if (var_3 != (char **)0x0) {
    *var_3 = (char *)0x0;
  }
  if (var_4 != (char **)0x0) {
    *var_4 = (char *)0x0;
  }
  if (var_5 == (char *)0x0) {
    var_9 = (char *)0x0;
    var_7 = (char *)0x0;
    if (*spec != '\0') {
      var_7 = var_6(spec);
LAB_00016876:
      if (var_7 == (char *)0x0) goto LAB_00016940;
      var_9 = (char *)0x0;
      bVar9 = var_5 != (char *)0x0;
      var_18 = *var_7;
      goto joined_r0x0001688f;
    }
  }
  else {
    var_8 = (int)var_5 - (int)spec;
    if (var_8 == 0) {
      if (var_5[1] == '\0') {
LAB_00016940:
        var_7 = (char *)0x0;
        var_9 = (char *)0x0;
        goto LAB_000168f3;
      }
LAB_00016793:
      var_9 = var_5 + 1;
      if (var_9 == (char *)0x0) {
        var_7 = (char *)0x0;
        var_9 = (char *)0x0;
        goto LAB_000168f3;
      }
      var_7 = (char *)0x0;
LAB_00016819:
      if ((*var_9 == '+') || (var_11 = var_10(var_9), var_11 == (type_4 *)0x0)) {
        var_13 = var_12(var_9,(char **)0x0,10,&var_15,"");
        if ((var_13 != var_14) || (local_54 = var_15, var_15 == 0xffffffff)) {
          var_16();
          pcVar7 = "invalid group";
          var_9 = var_6(var_9);
          goto LAB_000168aa;
        }
      }
      else {
        local_54 = var_11->gr_gid;
      }
      var_16();
      var_9 = var_6(var_9);
    }
    else {
      var_7 = (char *)var_17(spec,var_8 + 1);
      var_7[var_8] = '\0';
      if (var_5[1] == '\0') goto LAB_00016876;
      var_9 = var_5 + 1;
      if (var_7 == (char *)0x0) goto LAB_00016793;
      bVar9 = var_5 != (char *)0x0 && var_9 == (char *)0x0;
      var_18 = *var_7;
joined_r0x0001688f:
      if ((var_18 == '+') || (var_20 = var_19(var_7), var_20 == (type_3 *)0x0)) {
        if (bVar9) {
          var_21();
          pcVar7 = "invalid spec";
          var_9 = (char *)0x0;
        }
        else {
          var_13 = var_12(var_7,(char **)0x0,10,&var_15,"");
          if ((var_13 == var_14) && (local_4c = var_15, var_15 != 0xffffffff)) {
            var_21();
            if (var_9 != (char *)0x0) goto LAB_00016819;
            var_9 = (char *)0x0;
            goto LAB_000168f3;
          }
          var_21();
          pcVar7 = "invalid user";
          var_9 = (char *)0x0;
        }
LAB_000168aa:
        var_22(var_7);
        var_22(var_9);
        var_9 = (char *)var_23(0,pcVar7,5);
        goto LAB_000168cb;
      }
      local_4c = var_20->pw_uid;
      if (bVar9) {
        local_54 = var_20->pw_gid;
        var_11 = var_24(local_54);
        if (var_11 == (type_4 *)0x0) {
          var_9 = var_25((type_9)local_54,buf);
        }
        else {
          var_9 = var_11->gr_name;
        }
        var_9 = var_6(var_9);
        var_16();
        var_21();
      }
      else {
        var_21();
        if (var_9 != (char *)0x0) goto LAB_00016819;
      }
    }
  }
LAB_000168f3:
  *uid = local_4c;
  if (var_2 != (type_2 *)0x0) {
    *var_2 = local_54;
  }
  if (var_3 != (char **)0x0) {
    *var_3 = var_7;
    var_7 = (char *)0x0;
  }
  if (var_4 != (char **)0x0) {
    *var_4 = var_9;
    var_9 = (char *)0x0;
  }
  var_22(var_7);
  var_22(var_9);
  var_9 = (char *)0x0;
LAB_000168cb:
  if (var_26 == *(int *)(var_1 + 0x14)) {
    return var_9;
  }
                    /* WARNING: Subroutine does not return */
  var_27();
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (identifier) right: (pointer_expression argument: (identifier)))) (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)))))) (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: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (string_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (string_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal))))) (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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: (identifier)) 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: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_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 (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

undefined4 __regparm3
MASKED(char *param_1,int param_2,__gid_t *param_3,__gid_t *param_4,undefined4 *param_5,
            int *param_6)

{
  char cVar1;
  passwd *ppVar2;
  group *pgVar3;
  char *pcVar4;
  undefined4 uVar5;
  void *__ptr;
  char *pcVar6;
  char *__name;
  int iVar7;
  int in_GS_OFFSET;
  bool bVar8;
  __gid_t local_54;
  __gid_t local_4c;
  __gid_t local_3c;
  undefined1 local_35 [21];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x16719;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_4c = *param_3;
  local_54 = 0xffffffff;
  if (param_4 != (__gid_t *)0x0) {
    local_54 = *param_4;
  }
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = 0;
  }
  if (param_6 != (int *)0x0) {
    *param_6 = 0;
  }
  if (param_2 == 0) {
    pcVar4 = (char *)0x0;
    __name = (char *)0x0;
    if (*param_1 != '\0') {
      __name = (char *)FUN_00017450(param_1);
LAB_00016876:
      if (__name == (char *)0x0) goto LAB_00016940;
      pcVar4 = (char *)0x0;
      bVar8 = param_2 != 0;
      cVar1 = *__name;
      goto joined_r0x0001688f;
    }
  }
  else {
    iVar7 = param_2 - (int)param_1;
    if (iVar7 == 0) {
      if (*(char *)(param_2 + 1) == '\0') {
LAB_00016940:
        __name = (char *)0x0;
        pcVar4 = (char *)0x0;
        goto LAB_000168f3;
      }
LAB_00016793:
      pcVar4 = (char *)(param_2 + 1);
      if (pcVar4 == (char *)0x0) {
        __name = (char *)0x0;
        pcVar4 = (char *)0x0;
        goto LAB_000168f3;
      }
      __name = (char *)0x0;
LAB_00016819:
      if ((*pcVar4 == '+') || (pgVar3 = getgrnam(pcVar4), pgVar3 == (group *)0x0)) {
        iVar7 = FUN_00017550(pcVar4,0,10,&local_3c,"");
        if ((iVar7 != 0) || (local_54 = local_3c, local_3c == 0xffffffff)) {
          endgrent();
          pcVar6 = "invalid group";
          __ptr = (void *)FUN_00017450(pcVar4);
          goto LAB_000168aa;
        }
      }
      else {
        local_54 = pgVar3->gr_gid;
      }
      endgrent();
      pcVar4 = (char *)FUN_00017450(pcVar4);
    }
    else {
      __name = (char *)FUN_00017420(param_1,iVar7 + 1);
      __name[iVar7] = '\0';
      if (*(char *)(param_2 + 1) == '\0') goto LAB_00016876;
      pcVar4 = (char *)(param_2 + 1);
      if (__name == (char *)0x0) goto LAB_00016793;
      bVar8 = param_2 != 0 && pcVar4 == (char *)0x0;
      cVar1 = *__name;
joined_r0x0001688f:
      if ((cVar1 == '+') || (ppVar2 = getpwnam(__name), ppVar2 == (passwd *)0x0)) {
        if (bVar8) {
          endpwent();
          pcVar6 = "invalid spec";
          __ptr = (void *)0x0;
        }
        else {
          iVar7 = FUN_00017550(__name,0,10,&local_3c,"");
          if ((iVar7 == 0) && (local_4c = local_3c, local_3c != 0xffffffff)) {
            endpwent();
            if (pcVar4 != (char *)0x0) goto LAB_00016819;
            pcVar4 = (char *)0x0;
            goto LAB_000168f3;
          }
          endpwent();
          pcVar6 = "invalid user";
          __ptr = (void *)0x0;
        }
LAB_000168aa:
        free(__name);
        free(__ptr);
        uVar5 = dcgettext(0,pcVar6,5);
        goto LAB_000168cb;
      }
      local_4c = ppVar2->pw_uid;
      if (bVar8) {
        local_54 = ppVar2->pw_gid;
        pgVar3 = getgrgid(local_54);
        if (pgVar3 == (group *)0x0) {
          pcVar4 = (char *)FUN_00014310(local_54,0,local_35);
        }
        else {
          pcVar4 = pgVar3->gr_name;
        }
        pcVar4 = (char *)FUN_00017450(pcVar4);
        endgrent();
        endpwent();
      }
      else {
        endpwent();
        if (pcVar4 != (char *)0x0) goto LAB_00016819;
      }
    }
  }
LAB_000168f3:
  *param_3 = local_4c;
  if (param_4 != (__gid_t *)0x0) {
    *param_4 = local_54;
  }
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = __name;
    __name = (char *)0x0;
  }
  if (param_6 != (int *)0x0) {
    *param_6 = (int)pcVar4;
    pcVar4 = (char *)0x0;
  }
  free(__name);
  free(pcVar4);
  uVar5 = 0;
LAB_000168cb:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0001e480();
}

