
_Bool print_group_list(char *username,uid_t ruid,gid_t rgid,gid_t egid,_Bool use_names,char delim)

{
  undefined *puVar1;
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  undefined3 extraout_var_01;
  int iVar2;
  _Bool _Var5;
  undefined4 *puVar3;
  undefined4 uVar4;
  char *pcVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  gid_t *pgVar10;
  undefined4 uVar11;
  bool bVar12;
  undefined *puVar13;
  gid_t *groups;
  int local_2c;
  
  puVar13 = PTR___stack_chk_guard_0002c2e4;
  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;
  if (username == (char *)0x0) {
    iVar2 = 0;
    bVar12 = true;
  }
  else {
    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);
    bVar12 = iVar2 != 0;
  }
  _Var5 = print_group(rgid,use_names);
  if (CONCAT31(extraout_var,_Var5) == 0) {
    bVar12 = false;
  }
  if (rgid != egid) {
    iVar8 = *(int *)PTR_stdout_0002c258;
    pcVar6 = *(char **)(iVar8 + 0x14);
    if (pcVar6 < *(char **)(iVar8 + 0x18)) {
      *(char **)(iVar8 + 0x14) = pcVar6 + 1;
      *pcVar6 = delim;
    }
    else {
      (*(code *)PTR___overflow_0002c234)(iVar8,delim);
    }
    _Var5 = print_group(egid,use_names);
    if (CONCAT31(extraout_var_00,_Var5) == 0) {
      bVar12 = false;
    }
  }
  if (iVar2 == 0) {
    iVar2 = xgetgroups(username,egid,&groups);
    pgVar10 = groups;
  }
  else {
    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);
    pgVar10 = groups;
  }
  puVar1 = PTR_stdout_0002c258;
  if (iVar2 < 0) {
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();
    uVar11 = *puVar3;
    if (username == (char *)0x0) {
      bVar12 = false;
      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);
      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);
    }
    else {
      bVar12 = false;
      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);
      pcVar6 = quote(username);
      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);
    }
  }
  else {
    iVar8 = 0;
    if (iVar2 != 0) {
      iVar7 = 0;
      groups = pgVar10;
      do {
        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)
           ) {
          iVar9 = *(int *)puVar1;
          pcVar6 = *(char **)(iVar9 + 0x14);
          if (pcVar6 < *(char **)(iVar9 + 0x18)) {
            *(char **)(iVar9 + 0x14) = pcVar6 + 1;
            *pcVar6 = delim;
          }
          else {
            (*(code *)PTR___overflow_0002c234)(iVar9,delim);
          }
          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);
          pgVar10 = groups;
          if (CONCAT31(extraout_var_01,_Var5) == 0) {
            bVar12 = false;
          }
        }
        iVar8 = iVar8 + 1;
        iVar7 = iVar8 * 4;
      } while (iVar2 != iVar8);
    }
    (*(code *)PTR_free_0002c2ec)();
  }
  if (local_2c == *(int *)puVar13) {
    return bVar12;
  }
  puVar13 = PTR___stack_chk_fail_0002c2d4;
  (*(code *)PTR___stack_chk_fail_0002c2d4)();
  iVar2 = *(int *)(puVar13 + 0x18da8);
  *(int *)(iVar2 + -0x3c4c) = local_2c;
  return SUB41(iVar2,0);
}



uint print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,
                     undefined1 param_6)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined1 *puVar7;
  int iVar8;
  int iVar9;
  undefined4 uVar10;
  uint uVar11;
  undefined *puVar12;
  int local_30;
  int local_2c;
  
  puVar12 = PTR___stack_chk_guard_0002c2e4;
  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;
  if (param_1 == 0) {
    iVar2 = 0;
    uVar11 = 1;
  }
  else {
    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);
    uVar11 = (uint)(iVar2 != 0);
  }
  iVar3 = print_group(param_3,param_5);
  if (iVar3 == 0) {
    uVar11 = 0;
  }
  if (param_3 != param_4) {
    iVar3 = *(int *)PTR_stdout_0002c258;
    puVar7 = *(undefined1 **)(iVar3 + 0x14);
    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {
      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;
      *puVar7 = param_6;
    }
    else {
      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);
    }
    iVar3 = print_group(param_4,param_5);
    if (iVar3 == 0) {
      uVar11 = 0;
    }
  }
  if (iVar2 == 0) {
    iVar2 = xgetgroups(param_1,param_4,&local_30);
    iVar3 = local_30;
  }
  else {
    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);
    iVar3 = local_30;
  }
  puVar1 = PTR_stdout_0002c258;
  if (iVar2 < 0) {
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();
    uVar10 = *puVar4;
    if (param_1 == 0) {
      uVar11 = 0;
      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);
      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);
    }
    else {
      uVar11 = 0;
      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);
      uVar6 = quote(param_1);
      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);
    }
  }
  else {
    iVar9 = 0;
    if (iVar2 != 0) {
      iVar8 = 0;
      local_30 = iVar3;
      do {
        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {
          iVar3 = *(int *)puVar1;
          puVar7 = *(undefined1 **)(iVar3 + 0x14);
          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {
            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;
            *puVar7 = param_6;
          }
          else {
            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);
          }
          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);
          iVar3 = local_30;
          if (iVar8 == 0) {
            uVar11 = 0;
          }
        }
        iVar9 = iVar9 + 1;
        iVar8 = iVar9 * 4;
      } while (iVar2 != iVar9);
    }
    (*(code *)PTR_free_0002c2ec)();
  }
  if (local_2c == *(int *)puVar12) {
    return uVar11;
  }
  puVar12 = PTR___stack_chk_fail_0002c2d4;
  (*(code *)PTR___stack_chk_fail_0002c2d4)();
  uVar11 = *(uint *)(puVar12 + 0x18da8);
  *(int *)(uVar11 - 0x3c4c) = local_2c;
  return uVar11;
}


lui gp,0x2
addiu gp,gp,0x1050
addu gp,gp,t9
addiu sp,sp,-0x50
sw s7,0x44(sp)
lw s7,-0x7dec(gp)
sw gp,0x10(sp)
sw s5,0x3c(sp)
sw s4,0x38(sp)
sw s2,0x30(sp)
or s2,a3,zero
sw s1,0x2c(sp)
or s1,a2,zero
sw s0,0x28(sp)
or s0,a0,zero
sw ra,0x4c(sp)
sw s8,0x48(sp)
sw s6,0x40(sp)
sw s3,0x34(sp)
lw v0,0x0(s7)
lbu s4,0x63(sp)
lb s5,0x67(sp)
sw v0,0x24(sp)
beq a0,zero,0x0001324c
_lw t9,-0x7dd4(gp)
jalr t9
_or a0,a1,zero
lw gp,0x10(sp)
or s6,v0,zero
sltu s3,zero,v0
lw t9,-0x7fa0(gp)
or a1,s4,zero
bal 0x00012fb0
_or a0,s1,zero
lw gp,0x10(sp)
beq s1,s2,0x00013150
_movz s3,zero,v0
lw v0,-0x7e78(gp)
lw a0,0x0(v0)
lw v1,0x14(a0)
lw v0,0x18(a0)
sltu v0,v1,v0
beq v0,zero,0x0001332c
_addiu v0,v1,0x1
sw v0,0x14(a0)
sb s5,0x0(v1)
lw t9,-0x7fa0(gp)
or a1,s4,zero
bal 0x00012fb0
_or a0,s2,zero
movz s3,zero,v0
lw gp,0x10(sp)
beq s6,zero,0x00013258
_lw t9,-0x7f8c(gp)
addiu a2,sp,0x20
lw a1,0xc(s6)
bal 0x00016bc0
_or a0,s0,zero
lw gp,0x10(sp)
bltz v0,0x00013274
_or s8,v0,zero
lw a0,0x20(sp)
beq v0,zero,0x000131fc
_or s0,zero,zero
lw s6,-0x7e78(gp)
andi v0,s5,0xff
sw v0,0x18(sp)
sll v1,s0,0x2
addu v0,a0,v1
lw v0,0x0(v0)
beq v0,s1,0x000131f0
_nop
beq v0,s2,0x000131f0
_nop
lw a0,0x0(s6)
lw a1,0x14(a0)
lw v0,0x18(a0)
sltu v0,a1,v0
beq v0,zero,0x000132e0
_addiu v0,a1,0x1
sw v0,0x14(a0)
sb s5,0x0(a1)
lw v0,0x20(sp)
or a1,s4,zero
lw t9,-0x7fa0(gp)
addu v1,v0,v1
bal 0x00012fb0
_lw a0,0x0(v1)
lw gp,0x10(sp)
bne v0,zero,0x000131f0
_lw a0,0x20(sp)
or s3,zero,zero
addiu s0,s0,0x1
bne s8,s0,0x00013190
_sll v1,s0,0x2
lw t9,-0x7de4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x24(sp)
or v0,s3,zero
lw v1,0x0(s7)
bne a0,v1,0x00013340
_lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
or s6,zero,zero
b 0x000130f8
_li s3,0x1
addiu a2,sp,0x20
or a1,s2,zero
bal 0x00016bc0
_or a0,s0,zero
lw gp,0x10(sp)
bgez v0,0x00013174
_or s8,v0,zero
lw t9,-0x7e70(gp)
jalr t9
_nop
li a2,0x5
lw gp,0x10(sp)
or a0,zero,zero
lw s1,0x0(v0)
beq s0,zero,0x000132fc
_lw t9,-0x7df8(gp)
lw a1,-0x7fc8(gp)
or s3,zero,zero
jalr t9
_addiu a1,a1,-0x5f2c
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7f88(gp)
bal 0x00015a60
_or s0,v0,zero
or a0,zero,zero
lw gp,0x10(sp)
or a3,v0,zero
or a2,s0,zero
lw t9,-0x7e34(gp)
jalr t9
_or a1,s1,zero
b 0x0001320c
_lw gp,0x10(sp)
lw t9,-0x7e9c(gp)
lw a1,0x18(sp)
jalr t9
_sw v1,0x1c(sp)
lw gp,0x10(sp)
b 0x000131c8
_lw v1,0x1c(sp)
lw a1,-0x7fc8(gp)
or s3,zero,zero
jalr t9
_addiu a1,a1,-0x5f08
or a0,zero,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7e34(gp)
jalr t9
_or a1,s1,zero
b 0x0001320c
_lw gp,0x10(sp)
lw t9,-0x7e9c(gp)
jalr t9
_andi a1,s5,0xff
b 0x00013138
_lw gp,0x10(sp)
lw t9,-0x7dfc(gp)
jalr t9
_nop
nop
lui gp,0x2
addiu gp,gp,0xd80
addu gp,gp,t9
lw v0,-0x7fd8(gp)
jr ra
_sw a0,-0x3c4c(v0)
(translation_unit "uint print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}\n\n" (function_definition "uint print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}" type_identifier (function_declarator "print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined1 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar12 = PTR___stack_chk_guard_0002c2e4;" (assignment_expression "puVar12 = PTR___stack_chk_guard_0002c2e4" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002c2e4" * (cast_expression "(int *)PTR___stack_chk_guard_0002c2e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    uVar11 = 1;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2)" identifier = (call_expression "(*(code *)PTR_getpwuid_0002c2fc)(param_2)" (parenthesized_expression "(*(code *)PTR_getpwuid_0002c2fc)" ( (pointer_expression "*(code *)PTR_getpwuid_0002c2fc" * (cast_expression "(code *)PTR_getpwuid_0002c2fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar11 = (uint)(iVar2 != 0);" (assignment_expression "uVar11 = (uint)(iVar2 != 0)" identifier = (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))) ;) }))) (expression_statement "iVar3 = print_group(param_3,param_5);" (assignment_expression "iVar3 = print_group(param_3,param_5)" identifier = (call_expression "print_group(param_3,param_5)" identifier (argument_list "(param_3,param_5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar11 = 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar11 = 0;\n  }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) (if_statement "if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }" if (parenthesized_expression "(param_3 != param_4)" ( (binary_expression "param_3 != param_4" identifier != identifier) )) (compound_statement "{\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }" { (expression_statement "iVar3 = *(int *)PTR_stdout_0002c258;" (assignment_expression "iVar3 = *(int *)PTR_stdout_0002c258" identifier = (pointer_expression "*(int *)PTR_stdout_0002c258" * (cast_expression "(int *)PTR_stdout_0002c258" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar3 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar3 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar3 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar3 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar3 + 0x18)" * (cast_expression "(undefined1 **)(iVar3 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }" { (expression_statement "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = param_6;" (assignment_expression "*puVar7 = param_6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) (else_clause "else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" else (compound_statement "{\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" { (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar3,param_6);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar3,param_6)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" ( (pointer_expression "*(code *)PTR___overflow_0002c234" * (cast_expression "(code *)PTR___overflow_0002c234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,param_6)" ( identifier , identifier ))) ;) }))) (expression_statement "iVar3 = print_group(param_4,param_5);" (assignment_expression "iVar3 = print_group(param_4,param_5)" identifier = (call_expression "print_group(param_4,param_5)" identifier (argument_list "(param_4,param_5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar11 = 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) })) (if_statement "if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }" { (expression_statement "iVar2 = xgetgroups(param_1,param_4,&local_30);" (assignment_expression "iVar2 = xgetgroups(param_1,param_4,&local_30)" identifier = (call_expression "xgetgroups(param_1,param_4,&local_30)" identifier (argument_list "(param_1,param_4,&local_30)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) }) (else_clause "else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" else (compound_statement "{\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" { (expression_statement "iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);" (assignment_expression "iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" identifier = (call_expression "xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" identifier (argument_list "(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" ( identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) }))) (expression_statement "puVar1 = PTR_stdout_0002c258;" (assignment_expression "puVar1 = PTR_stdout_0002c258" identifier = identifier) ;) (if_statement "if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002c260)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002c260)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002c260)" ( (pointer_expression "*(code *)PTR___errno_location_0002c260" * (cast_expression "(code *)PTR___errno_location_0002c260" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" * (cast_expression "(code *)PTR_dcgettext_0002c2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c108 + -0x5f08,5)" ( number_literal , (binary_expression "PTR_DAT_0002c108 + -0x5f08" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" ( (pointer_expression "*(code *)PTR_error_0002c29c" * (cast_expression "(code *)PTR_error_0002c29c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,uVar10,uVar5)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" else (compound_statement "{\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" * (cast_expression "(code *)PTR_dcgettext_0002c2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c108 + -0x5f2c)" ( number_literal , (binary_expression "PTR_DAT_0002c108 + -0x5f2c" identifier + number_literal) )))) ;) (expression_statement "uVar6 = quote(param_1);" (assignment_expression "uVar6 = quote(param_1)" identifier = (call_expression "quote(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" ( (pointer_expression "*(code *)PTR_error_0002c29c" * (cast_expression "(code *)PTR_error_0002c29c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,uVar10,uVar5,uVar6)" ( number_literal , identifier , identifier , identifier ))) ;) }))) }) (else_clause "else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" else (compound_statement "{\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "local_30 = iVar3;" (assignment_expression "local_30 = iVar3" identifier = identifier) ;) (do_statement "do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);" do (compound_statement "{\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      }" { (if_statement "if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }" if (parenthesized_expression "((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4))" ( (binary_expression "(*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)" (parenthesized_expression "(*(int *)(iVar3 + iVar8) != param_3)" ( (binary_expression "*(int *)(iVar3 + iVar8) != param_3" (pointer_expression "*(int *)(iVar3 + iVar8)" * (cast_expression "(int *)(iVar3 + iVar8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar8)" ( (binary_expression "iVar3 + iVar8" identifier + identifier) )))) != identifier) )) && (parenthesized_expression "(*(int *)(iVar3 + iVar8) != param_4)" ( (binary_expression "*(int *)(iVar3 + iVar8) != param_4" (pointer_expression "*(int *)(iVar3 + iVar8)" * (cast_expression "(int *)(iVar3 + iVar8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar8)" ( (binary_expression "iVar3 + iVar8" identifier + identifier) )))) != identifier) ))) )) (compound_statement "{\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }" { (expression_statement "iVar3 = *(int *)puVar1;" (assignment_expression "iVar3 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar3 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar3 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar3 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar3 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar3 + 0x18)" * (cast_expression "(undefined1 **)(iVar3 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }" { (expression_statement "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = param_6;" (assignment_expression "*puVar7 = param_6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) (else_clause "else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" else (compound_statement "{\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" { (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar3,param_6);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar3,param_6)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" ( (pointer_expression "*(code *)PTR___overflow_0002c234" * (cast_expression "(code *)PTR___overflow_0002c234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,param_6)" ( identifier , identifier ))) ;) }))) (expression_statement "iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);" (assignment_expression "iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5)" identifier = (call_expression "print_group(*(undefined4 *)(local_30 + iVar8),param_5)" identifier (argument_list "(*(undefined4 *)(local_30 + iVar8),param_5)" ( (pointer_expression "*(undefined4 *)(local_30 + iVar8)" * (cast_expression "(undefined4 *)(local_30 + iVar8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + iVar8)" ( (binary_expression "local_30 + iVar8" identifier + identifier) )))) , identifier )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n            uVar11 = 0;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar11 = 0;\n          }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar9 * 4;" (assignment_expression "iVar8 = iVar9 * 4" identifier = (binary_expression "iVar9 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar2 != iVar9)" ( (binary_expression "iVar2 != iVar9" identifier != identifier) )) ;) })) (expression_statement "(*(code *)PTR_free_0002c2ec)();" (call_expression "(*(code *)PTR_free_0002c2ec)()" (parenthesized_expression "(*(code *)PTR_free_0002c2ec)" ( (pointer_expression "*(code *)PTR_free_0002c2ec" * (cast_expression "(code *)PTR_free_0002c2ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (if_statement "if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar12)" ( (binary_expression "local_2c == *(int *)puVar12" identifier == (pointer_expression "*(int *)puVar12" * (cast_expression "(int *)puVar12" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar11;\n  }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "puVar12 = PTR___stack_chk_fail_0002c2d4;" (assignment_expression "puVar12 = PTR___stack_chk_fail_0002c2d4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002c2d4" * (cast_expression "(code *)PTR___stack_chk_fail_0002c2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar11 = *(uint *)(puVar12 + 0x18da8);" (assignment_expression "uVar11 = *(uint *)(puVar12 + 0x18da8)" identifier = (pointer_expression "*(uint *)(puVar12 + 0x18da8)" * (cast_expression "(uint *)(puVar12 + 0x18da8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x18da8)" ( (binary_expression "puVar12 + 0x18da8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(uVar11 - 0x3c4c) = local_2c;" (assignment_expression "*(int *)(uVar11 - 0x3c4c) = local_2c" (pointer_expression "*(int *)(uVar11 - 0x3c4c)" * (cast_expression "(int *)(uVar11 - 0x3c4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar11 - 0x3c4c)" ( (binary_expression "uVar11 - 0x3c4c" identifier - number_literal) )))) = identifier) ;) (return_statement "return uVar11;" return identifier ;) })))
(translation_unit "_Bool print_group_list(char *username,uid_t ruid,gid_t rgid,gid_t egid,_Bool use_names,char delim)\n\n{\n  undefined *puVar1;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  int iVar2;\n  _Bool _Var5;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  gid_t *pgVar10;\n  undefined4 uVar11;\n  bool bVar12;\n  undefined *puVar13;\n  gid_t *groups;\n  int local_2c;\n  \n  puVar13 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (username == (char *)0x0) {\n    iVar2 = 0;\n    bVar12 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);\n    bVar12 = iVar2 != 0;\n  }\n  _Var5 = print_group(rgid,use_names);\n  if (CONCAT31(extraout_var,_Var5) == 0) {\n    bVar12 = false;\n  }\n  if (rgid != egid) {\n    iVar8 = *(int *)PTR_stdout_0002c258;\n    pcVar6 = *(char **)(iVar8 + 0x14);\n    if (pcVar6 < *(char **)(iVar8 + 0x18)) {\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }\n    _Var5 = print_group(egid,use_names);\n    if (CONCAT31(extraout_var_00,_Var5) == 0) {\n      bVar12 = false;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(username,egid,&groups);\n    pgVar10 = groups;\n  }\n  else {\n    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);\n    pgVar10 = groups;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar11 = *puVar3;\n    if (username == (char *)0x0) {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }\n    else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }\n  }\n  else {\n    iVar8 = 0;\n    if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar13) {\n    return bVar12;\n  }\n  puVar13 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  iVar2 = *(int *)(puVar13 + 0x18da8);\n  *(int *)(iVar2 + -0x3c4c) = local_2c;\n  return SUB41(iVar2,0);\n}\n\n" (function_definition "_Bool print_group_list(char *username,uid_t ruid,gid_t rgid,gid_t egid,_Bool use_names,char delim)\n\n{\n  undefined *puVar1;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  int iVar2;\n  _Bool _Var5;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  gid_t *pgVar10;\n  undefined4 uVar11;\n  bool bVar12;\n  undefined *puVar13;\n  gid_t *groups;\n  int local_2c;\n  \n  puVar13 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (username == (char *)0x0) {\n    iVar2 = 0;\n    bVar12 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);\n    bVar12 = iVar2 != 0;\n  }\n  _Var5 = print_group(rgid,use_names);\n  if (CONCAT31(extraout_var,_Var5) == 0) {\n    bVar12 = false;\n  }\n  if (rgid != egid) {\n    iVar8 = *(int *)PTR_stdout_0002c258;\n    pcVar6 = *(char **)(iVar8 + 0x14);\n    if (pcVar6 < *(char **)(iVar8 + 0x18)) {\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }\n    _Var5 = print_group(egid,use_names);\n    if (CONCAT31(extraout_var_00,_Var5) == 0) {\n      bVar12 = false;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(username,egid,&groups);\n    pgVar10 = groups;\n  }\n  else {\n    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);\n    pgVar10 = groups;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar11 = *puVar3;\n    if (username == (char *)0x0) {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }\n    else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }\n  }\n  else {\n    iVar8 = 0;\n    if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar13) {\n    return bVar12;\n  }\n  puVar13 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  iVar2 = *(int *)(puVar13 + 0x18da8);\n  *(int *)(iVar2 + -0x3c4c) = local_2c;\n  return SUB41(iVar2,0);\n}" type_identifier (function_declarator "print_group_list(char *username,uid_t ruid,gid_t rgid,gid_t egid,_Bool use_names,char delim)" identifier (parameter_list "(char *username,uid_t ruid,gid_t rgid,gid_t egid,_Bool use_names,char delim)" ( (parameter_declaration "char *username" primitive_type (pointer_declarator "*username" * identifier)) , (parameter_declaration "uid_t ruid" type_identifier identifier) , (parameter_declaration "gid_t rgid" type_identifier identifier) , (parameter_declaration "gid_t egid" type_identifier identifier) , (parameter_declaration "_Bool use_names" type_identifier identifier) , (parameter_declaration "char delim" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  int iVar2;\n  _Bool _Var5;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  gid_t *pgVar10;\n  undefined4 uVar11;\n  bool bVar12;\n  undefined *puVar13;\n  gid_t *groups;\n  int local_2c;\n  \n  puVar13 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (username == (char *)0x0) {\n    iVar2 = 0;\n    bVar12 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);\n    bVar12 = iVar2 != 0;\n  }\n  _Var5 = print_group(rgid,use_names);\n  if (CONCAT31(extraout_var,_Var5) == 0) {\n    bVar12 = false;\n  }\n  if (rgid != egid) {\n    iVar8 = *(int *)PTR_stdout_0002c258;\n    pcVar6 = *(char **)(iVar8 + 0x14);\n    if (pcVar6 < *(char **)(iVar8 + 0x18)) {\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }\n    _Var5 = print_group(egid,use_names);\n    if (CONCAT31(extraout_var_00,_Var5) == 0) {\n      bVar12 = false;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(username,egid,&groups);\n    pgVar10 = groups;\n  }\n  else {\n    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);\n    pgVar10 = groups;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar11 = *puVar3;\n    if (username == (char *)0x0) {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }\n    else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }\n  }\n  else {\n    iVar8 = 0;\n    if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar13) {\n    return bVar12;\n  }\n  puVar13 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  iVar2 = *(int *)(puVar13 + 0x18da8);\n  *(int *)(iVar2 + -0x3c4c) = local_2c;\n  return SUB41(iVar2,0);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "undefined3 extraout_var_01;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "_Bool _Var5;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "gid_t *pgVar10;" type_identifier (pointer_declarator "*pgVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "gid_t *groups;" type_identifier (pointer_declarator "*groups" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar13 = PTR___stack_chk_guard_0002c2e4;" (assignment_expression "puVar13 = PTR___stack_chk_guard_0002c2e4" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002c2e4" * (cast_expression "(int *)PTR___stack_chk_guard_0002c2e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (username == (char *)0x0) {\n    iVar2 = 0;\n    bVar12 = true;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);\n    bVar12 = iVar2 != 0;\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 "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0;\n    bVar12 = true;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "bVar12 = true;" (assignment_expression "bVar12 = true" identifier = true) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);\n    bVar12 = iVar2 != 0;\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);\n    bVar12 = iVar2 != 0;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid);" (assignment_expression "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(ruid)" identifier = (call_expression "(*(code *)PTR_getpwuid_0002c2fc)(ruid)" (parenthesized_expression "(*(code *)PTR_getpwuid_0002c2fc)" ( (pointer_expression "*(code *)PTR_getpwuid_0002c2fc" * (cast_expression "(code *)PTR_getpwuid_0002c2fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ruid)" ( identifier )))) ;) (expression_statement "bVar12 = iVar2 != 0;" (assignment_expression "bVar12 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) }))) (expression_statement "_Var5 = print_group(rgid,use_names);" (assignment_expression "_Var5 = print_group(rgid,use_names)" identifier = (call_expression "print_group(rgid,use_names)" identifier (argument_list "(rgid,use_names)" ( identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var,_Var5) == 0) {\n    bVar12 = false;\n  }" if (parenthesized_expression "(CONCAT31(extraout_var,_Var5) == 0)" ( (binary_expression "CONCAT31(extraout_var,_Var5) == 0" (call_expression "CONCAT31(extraout_var,_Var5)" identifier (argument_list "(extraout_var,_Var5)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n    bVar12 = false;\n  }" { (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) })) (if_statement "if (rgid != egid) {\n    iVar8 = *(int *)PTR_stdout_0002c258;\n    pcVar6 = *(char **)(iVar8 + 0x14);\n    if (pcVar6 < *(char **)(iVar8 + 0x18)) {\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }\n    _Var5 = print_group(egid,use_names);\n    if (CONCAT31(extraout_var_00,_Var5) == 0) {\n      bVar12 = false;\n    }\n  }" if (parenthesized_expression "(rgid != egid)" ( (binary_expression "rgid != egid" identifier != identifier) )) (compound_statement "{\n    iVar8 = *(int *)PTR_stdout_0002c258;\n    pcVar6 = *(char **)(iVar8 + 0x14);\n    if (pcVar6 < *(char **)(iVar8 + 0x18)) {\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }\n    _Var5 = print_group(egid,use_names);\n    if (CONCAT31(extraout_var_00,_Var5) == 0) {\n      bVar12 = false;\n    }\n  }" { (expression_statement "iVar8 = *(int *)PTR_stdout_0002c258;" (assignment_expression "iVar8 = *(int *)PTR_stdout_0002c258" identifier = (pointer_expression "*(int *)PTR_stdout_0002c258" * (cast_expression "(int *)PTR_stdout_0002c258" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar6 = *(char **)(iVar8 + 0x14);" (assignment_expression "pcVar6 = *(char **)(iVar8 + 0x14)" identifier = (pointer_expression "*(char **)(iVar8 + 0x14)" * (cast_expression "(char **)(iVar8 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x14)" ( (binary_expression "iVar8 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (pcVar6 < *(char **)(iVar8 + 0x18)) {\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }" if (parenthesized_expression "(pcVar6 < *(char **)(iVar8 + 0x18))" ( (binary_expression "pcVar6 < *(char **)(iVar8 + 0x18)" identifier < (pointer_expression "*(char **)(iVar8 + 0x18)" * (cast_expression "(char **)(iVar8 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x18)" ( (binary_expression "iVar8 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      *(char **)(iVar8 + 0x14) = pcVar6 + 1;\n      *pcVar6 = delim;\n    }" { (expression_statement "*(char **)(iVar8 + 0x14) = pcVar6 + 1;" (assignment_expression "*(char **)(iVar8 + 0x14) = pcVar6 + 1" (pointer_expression "*(char **)(iVar8 + 0x14)" * (cast_expression "(char **)(iVar8 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x14)" ( (binary_expression "iVar8 + 0x14" identifier + number_literal) )))) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar6 = delim;" (assignment_expression "*pcVar6 = delim" (pointer_expression "*pcVar6" * identifier) = identifier) ;) }) (else_clause "else {\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }" else (compound_statement "{\n      (*(code *)PTR___overflow_0002c234)(iVar8,delim);\n    }" { (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar8,delim);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar8,delim)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" ( (pointer_expression "*(code *)PTR___overflow_0002c234" * (cast_expression "(code *)PTR___overflow_0002c234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,delim)" ( identifier , identifier ))) ;) }))) (expression_statement "_Var5 = print_group(egid,use_names);" (assignment_expression "_Var5 = print_group(egid,use_names)" identifier = (call_expression "print_group(egid,use_names)" identifier (argument_list "(egid,use_names)" ( identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_00,_Var5) == 0) {\n      bVar12 = false;\n    }" if (parenthesized_expression "(CONCAT31(extraout_var_00,_Var5) == 0)" ( (binary_expression "CONCAT31(extraout_var_00,_Var5) == 0" (call_expression "CONCAT31(extraout_var_00,_Var5)" identifier (argument_list "(extraout_var_00,_Var5)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n      bVar12 = false;\n    }" { (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) })) })) (if_statement "if (iVar2 == 0) {\n    iVar2 = xgetgroups(username,egid,&groups);\n    pgVar10 = groups;\n  }\n  else {\n    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);\n    pgVar10 = groups;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = xgetgroups(username,egid,&groups);\n    pgVar10 = groups;\n  }" { (expression_statement "iVar2 = xgetgroups(username,egid,&groups);" (assignment_expression "iVar2 = xgetgroups(username,egid,&groups)" identifier = (call_expression "xgetgroups(username,egid,&groups)" identifier (argument_list "(username,egid,&groups)" ( identifier , identifier , (pointer_expression "&groups" & identifier) )))) ;) (expression_statement "pgVar10 = groups;" (assignment_expression "pgVar10 = groups" identifier = identifier) ;) }) (else_clause "else {\n    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);\n    pgVar10 = groups;\n  }" else (compound_statement "{\n    iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);\n    pgVar10 = groups;\n  }" { (expression_statement "iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups);" (assignment_expression "iVar2 = xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups)" identifier = (call_expression "xgetgroups(username,*(gid_t *)(iVar2 + 0xc),&groups)" identifier (argument_list "(username,*(gid_t *)(iVar2 + 0xc),&groups)" ( identifier , (pointer_expression "*(gid_t *)(iVar2 + 0xc)" * (cast_expression "(gid_t *)(iVar2 + 0xc)" ( (type_descriptor "gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , (pointer_expression "&groups" & identifier) )))) ;) (expression_statement "pgVar10 = groups;" (assignment_expression "pgVar10 = groups" identifier = identifier) ;) }))) (expression_statement "puVar1 = PTR_stdout_0002c258;" (assignment_expression "puVar1 = PTR_stdout_0002c258" identifier = identifier) ;) (if_statement "if (iVar2 < 0) {\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar11 = *puVar3;\n    if (username == (char *)0x0) {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }\n    else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }\n  }\n  else {\n    iVar8 = 0;\n    if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar11 = *puVar3;\n    if (username == (char *)0x0) {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }\n    else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002c260)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002c260)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002c260)" ( (pointer_expression "*(code *)PTR___errno_location_0002c260" * (cast_expression "(code *)PTR___errno_location_0002c260" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar11 = *puVar3;" (assignment_expression "uVar11 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (username == (char *)0x0) {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }\n    else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\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 "*" *)) ) number_literal)) )) (compound_statement "{\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);\n    }" { (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" * (cast_expression "(code *)PTR_dcgettext_0002c2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c108 + -0x5f08,5)" ( number_literal , (binary_expression "PTR_DAT_0002c108 + -0x5f08" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar11,uVar4);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar11,uVar4)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" ( (pointer_expression "*(code *)PTR_error_0002c29c" * (cast_expression "(code *)PTR_error_0002c29c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,uVar11,uVar4)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else {\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }" else (compound_statement "{\n      bVar12 = false;\n      uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      pcVar6 = quote(username);\n      (*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);\n    }" { (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" * (cast_expression "(code *)PTR_dcgettext_0002c2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c108 + -0x5f2c)" ( number_literal , (binary_expression "PTR_DAT_0002c108 + -0x5f2c" identifier + number_literal) )))) ;) (expression_statement "pcVar6 = quote(username);" (assignment_expression "pcVar6 = quote(username)" identifier = (call_expression "quote(username)" identifier (argument_list "(username)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar11,uVar4,pcVar6)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" ( (pointer_expression "*(code *)PTR_error_0002c29c" * (cast_expression "(code *)PTR_error_0002c29c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,uVar11,uVar4,pcVar6)" ( number_literal , identifier , identifier , identifier ))) ;) }))) }) (else_clause "else {\n    iVar8 = 0;\n    if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" else (compound_statement "{\n    iVar8 = 0;\n    if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) {\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar7 = 0;\n      groups = pgVar10;\n      do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "groups = pgVar10;" (assignment_expression "groups = pgVar10" identifier = identifier) ;) (do_statement "do {\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      } while (iVar2 != iVar8);" do (compound_statement "{\n        if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }\n        iVar8 = iVar8 + 1;\n        iVar7 = iVar8 * 4;\n      }" { (if_statement "if ((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           ) {\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }" if (parenthesized_expression "((*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)\n           )" ( (binary_expression "(*(gid_t *)((int)pgVar10 + iVar7) != rgid) && (*(gid_t *)((int)pgVar10 + iVar7) != egid)" (parenthesized_expression "(*(gid_t *)((int)pgVar10 + iVar7) != rgid)" ( (binary_expression "*(gid_t *)((int)pgVar10 + iVar7) != rgid" (pointer_expression "*(gid_t *)((int)pgVar10 + iVar7)" * (cast_expression "(gid_t *)((int)pgVar10 + iVar7)" ( (type_descriptor "gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pgVar10 + iVar7)" ( (binary_expression "(int)pgVar10 + iVar7" (cast_expression "(int)pgVar10" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) != identifier) )) && (parenthesized_expression "(*(gid_t *)((int)pgVar10 + iVar7) != egid)" ( (binary_expression "*(gid_t *)((int)pgVar10 + iVar7) != egid" (pointer_expression "*(gid_t *)((int)pgVar10 + iVar7)" * (cast_expression "(gid_t *)((int)pgVar10 + iVar7)" ( (type_descriptor "gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pgVar10 + iVar7)" ( (binary_expression "(int)pgVar10 + iVar7" (cast_expression "(int)pgVar10" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) != identifier) ))) )) (compound_statement "{\n          iVar9 = *(int *)puVar1;\n          pcVar6 = *(char **)(iVar9 + 0x14);\n          if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }\n          _Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);\n          pgVar10 = groups;\n          if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }\n        }" { (expression_statement "iVar9 = *(int *)puVar1;" (assignment_expression "iVar9 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar6 = *(char **)(iVar9 + 0x14);" (assignment_expression "pcVar6 = *(char **)(iVar9 + 0x14)" identifier = (pointer_expression "*(char **)(iVar9 + 0x14)" * (cast_expression "(char **)(iVar9 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (pcVar6 < *(char **)(iVar9 + 0x18)) {\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }" if (parenthesized_expression "(pcVar6 < *(char **)(iVar9 + 0x18))" ( (binary_expression "pcVar6 < *(char **)(iVar9 + 0x18)" identifier < (pointer_expression "*(char **)(iVar9 + 0x18)" * (cast_expression "(char **)(iVar9 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x18)" ( (binary_expression "iVar9 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            *(char **)(iVar9 + 0x14) = pcVar6 + 1;\n            *pcVar6 = delim;\n          }" { (expression_statement "*(char **)(iVar9 + 0x14) = pcVar6 + 1;" (assignment_expression "*(char **)(iVar9 + 0x14) = pcVar6 + 1" (pointer_expression "*(char **)(iVar9 + 0x14)" * (cast_expression "(char **)(iVar9 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar6 = delim;" (assignment_expression "*pcVar6 = delim" (pointer_expression "*pcVar6" * identifier) = identifier) ;) }) (else_clause "else {\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }" else (compound_statement "{\n            (*(code *)PTR___overflow_0002c234)(iVar9,delim);\n          }" { (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar9,delim);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar9,delim)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" ( (pointer_expression "*(code *)PTR___overflow_0002c234" * (cast_expression "(code *)PTR___overflow_0002c234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,delim)" ( identifier , identifier ))) ;) }))) (expression_statement "_Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names);" (assignment_expression "_Var5 = print_group(*(gid_t *)((int)groups + iVar7),use_names)" identifier = (call_expression "print_group(*(gid_t *)((int)groups + iVar7),use_names)" identifier (argument_list "(*(gid_t *)((int)groups + iVar7),use_names)" ( (pointer_expression "*(gid_t *)((int)groups + iVar7)" * (cast_expression "(gid_t *)((int)groups + iVar7)" ( (type_descriptor "gid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)groups + iVar7)" ( (binary_expression "(int)groups + iVar7" (cast_expression "(int)groups" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , identifier )))) ;) (expression_statement "pgVar10 = groups;" (assignment_expression "pgVar10 = groups" identifier = identifier) ;) (if_statement "if (CONCAT31(extraout_var_01,_Var5) == 0) {\n            bVar12 = false;\n          }" if (parenthesized_expression "(CONCAT31(extraout_var_01,_Var5) == 0)" ( (binary_expression "CONCAT31(extraout_var_01,_Var5) == 0" (call_expression "CONCAT31(extraout_var_01,_Var5)" identifier (argument_list "(extraout_var_01,_Var5)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n            bVar12 = false;\n          }" { (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) })) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar8 * 4;" (assignment_expression "iVar7 = iVar8 * 4" identifier = (binary_expression "iVar8 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar2 != iVar8)" ( (binary_expression "iVar2 != iVar8" identifier != identifier) )) ;) })) (expression_statement "(*(code *)PTR_free_0002c2ec)();" (call_expression "(*(code *)PTR_free_0002c2ec)()" (parenthesized_expression "(*(code *)PTR_free_0002c2ec)" ( (pointer_expression "*(code *)PTR_free_0002c2ec" * (cast_expression "(code *)PTR_free_0002c2ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (if_statement "if (local_2c == *(int *)puVar13) {\n    return bVar12;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar13)" ( (binary_expression "local_2c == *(int *)puVar13" identifier == (pointer_expression "*(int *)puVar13" * (cast_expression "(int *)puVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return bVar12;\n  }" { (return_statement "return bVar12;" return identifier ;) })) (expression_statement "puVar13 = PTR___stack_chk_fail_0002c2d4;" (assignment_expression "puVar13 = PTR___stack_chk_fail_0002c2d4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002c2d4" * (cast_expression "(code *)PTR___stack_chk_fail_0002c2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(puVar13 + 0x18da8);" (assignment_expression "iVar2 = *(int *)(puVar13 + 0x18da8)" identifier = (pointer_expression "*(int *)(puVar13 + 0x18da8)" * (cast_expression "(int *)(puVar13 + 0x18da8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x18da8)" ( (binary_expression "puVar13 + 0x18da8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + -0x3c4c) = local_2c;" (assignment_expression "*(int *)(iVar2 + -0x3c4c) = local_2c" (pointer_expression "*(int *)(iVar2 + -0x3c4c)" * (cast_expression "(int *)(iVar2 + -0x3c4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0x3c4c)" ( (binary_expression "iVar2 + -0x3c4c" identifier + number_literal) )))) = identifier) ;) (return_statement "return SUB41(iVar2,0);" return (call_expression "SUB41(iVar2,0)" identifier (argument_list "(iVar2,0)" ( identifier , number_literal ))) ;) })))
(translation_unit "uint print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}\n\n" (function_definition "uint print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}" type_identifier (function_declarator "print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined1 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar12 = PTR___stack_chk_guard_0002c2e4;" (assignment_expression "puVar12 = PTR___stack_chk_guard_0002c2e4" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002c2e4" * (cast_expression "(int *)PTR___stack_chk_guard_0002c2e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    uVar11 = 1;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2)" identifier = (call_expression "(*(code *)PTR_getpwuid_0002c2fc)(param_2)" (parenthesized_expression "(*(code *)PTR_getpwuid_0002c2fc)" ( (pointer_expression "*(code *)PTR_getpwuid_0002c2fc" * (cast_expression "(code *)PTR_getpwuid_0002c2fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar11 = (uint)(iVar2 != 0);" (assignment_expression "uVar11 = (uint)(iVar2 != 0)" identifier = (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))) ;) }))) (expression_statement "iVar3 = print_group(param_3,param_5);" (assignment_expression "iVar3 = print_group(param_3,param_5)" identifier = (call_expression "print_group(param_3,param_5)" identifier (argument_list "(param_3,param_5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar11 = 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar11 = 0;\n  }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) (if_statement "if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }" if (parenthesized_expression "(param_3 != param_4)" ( (binary_expression "param_3 != param_4" identifier != identifier) )) (compound_statement "{\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }" { (expression_statement "iVar3 = *(int *)PTR_stdout_0002c258;" (assignment_expression "iVar3 = *(int *)PTR_stdout_0002c258" identifier = (pointer_expression "*(int *)PTR_stdout_0002c258" * (cast_expression "(int *)PTR_stdout_0002c258" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar3 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar3 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar3 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar3 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar3 + 0x18)" * (cast_expression "(undefined1 **)(iVar3 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }" { (expression_statement "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = param_6;" (assignment_expression "*puVar7 = param_6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) (else_clause "else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" else (compound_statement "{\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" { (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar3,param_6);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar3,param_6)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" ( (pointer_expression "*(code *)PTR___overflow_0002c234" * (cast_expression "(code *)PTR___overflow_0002c234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,param_6)" ( identifier , identifier ))) ;) }))) (expression_statement "iVar3 = print_group(param_4,param_5);" (assignment_expression "iVar3 = print_group(param_4,param_5)" identifier = (call_expression "print_group(param_4,param_5)" identifier (argument_list "(param_4,param_5)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar11 = 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) })) (if_statement "if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }" { (expression_statement "iVar2 = xgetgroups(param_1,param_4,&local_30);" (assignment_expression "iVar2 = xgetgroups(param_1,param_4,&local_30)" identifier = (call_expression "xgetgroups(param_1,param_4,&local_30)" identifier (argument_list "(param_1,param_4,&local_30)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) }) (else_clause "else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" else (compound_statement "{\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" { (expression_statement "iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);" (assignment_expression "iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" identifier = (call_expression "xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" identifier (argument_list "(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" ( identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) }))) (expression_statement "puVar1 = PTR_stdout_0002c258;" (assignment_expression "puVar1 = PTR_stdout_0002c258" identifier = identifier) ;) (if_statement "if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002c260)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002c260)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002c260)" ( (pointer_expression "*(code *)PTR___errno_location_0002c260" * (cast_expression "(code *)PTR___errno_location_0002c260" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" * (cast_expression "(code *)PTR_dcgettext_0002c2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c108 + -0x5f08,5)" ( number_literal , (binary_expression "PTR_DAT_0002c108 + -0x5f08" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" ( (pointer_expression "*(code *)PTR_error_0002c29c" * (cast_expression "(code *)PTR_error_0002c29c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,uVar10,uVar5)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" else (compound_statement "{\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" * (cast_expression "(code *)PTR_dcgettext_0002c2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c108 + -0x5f2c)" ( number_literal , (binary_expression "PTR_DAT_0002c108 + -0x5f2c" identifier + number_literal) )))) ;) (expression_statement "uVar6 = quote(param_1);" (assignment_expression "uVar6 = quote(param_1)" identifier = (call_expression "quote(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" ( (pointer_expression "*(code *)PTR_error_0002c29c" * (cast_expression "(code *)PTR_error_0002c29c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,uVar10,uVar5,uVar6)" ( number_literal , identifier , identifier , identifier ))) ;) }))) }) (else_clause "else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" else (compound_statement "{\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "local_30 = iVar3;" (assignment_expression "local_30 = iVar3" identifier = identifier) ;) (do_statement "do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);" do (compound_statement "{\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      }" { (if_statement "if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }" if (parenthesized_expression "((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4))" ( (binary_expression "(*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)" (parenthesized_expression "(*(int *)(iVar3 + iVar8) != param_3)" ( (binary_expression "*(int *)(iVar3 + iVar8) != param_3" (pointer_expression "*(int *)(iVar3 + iVar8)" * (cast_expression "(int *)(iVar3 + iVar8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar8)" ( (binary_expression "iVar3 + iVar8" identifier + identifier) )))) != identifier) )) && (parenthesized_expression "(*(int *)(iVar3 + iVar8) != param_4)" ( (binary_expression "*(int *)(iVar3 + iVar8) != param_4" (pointer_expression "*(int *)(iVar3 + iVar8)" * (cast_expression "(int *)(iVar3 + iVar8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar8)" ( (binary_expression "iVar3 + iVar8" identifier + identifier) )))) != identifier) ))) )) (compound_statement "{\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }" { (expression_statement "iVar3 = *(int *)puVar1;" (assignment_expression "iVar3 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar3 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar3 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar3 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar3 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar3 + 0x18)" * (cast_expression "(undefined1 **)(iVar3 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }" { (expression_statement "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" * (cast_expression "(undefined1 **)(iVar3 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = param_6;" (assignment_expression "*puVar7 = param_6" (pointer_expression "*puVar7" * identifier) = identifier) ;) }) (else_clause "else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" else (compound_statement "{\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" { (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar3,param_6);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar3,param_6)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" ( (pointer_expression "*(code *)PTR___overflow_0002c234" * (cast_expression "(code *)PTR___overflow_0002c234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,param_6)" ( identifier , identifier ))) ;) }))) (expression_statement "iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);" (assignment_expression "iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5)" identifier = (call_expression "print_group(*(undefined4 *)(local_30 + iVar8),param_5)" identifier (argument_list "(*(undefined4 *)(local_30 + iVar8),param_5)" ( (pointer_expression "*(undefined4 *)(local_30 + iVar8)" * (cast_expression "(undefined4 *)(local_30 + iVar8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + iVar8)" ( (binary_expression "local_30 + iVar8" identifier + identifier) )))) , identifier )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n            uVar11 = 0;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar11 = 0;\n          }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar9 * 4;" (assignment_expression "iVar8 = iVar9 * 4" identifier = (binary_expression "iVar9 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar2 != iVar9)" ( (binary_expression "iVar2 != iVar9" identifier != identifier) )) ;) })) (expression_statement "(*(code *)PTR_free_0002c2ec)();" (call_expression "(*(code *)PTR_free_0002c2ec)()" (parenthesized_expression "(*(code *)PTR_free_0002c2ec)" ( (pointer_expression "*(code *)PTR_free_0002c2ec" * (cast_expression "(code *)PTR_free_0002c2ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (if_statement "if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar12)" ( (binary_expression "local_2c == *(int *)puVar12" identifier == (pointer_expression "*(int *)puVar12" * (cast_expression "(int *)puVar12" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar11;\n  }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "puVar12 = PTR___stack_chk_fail_0002c2d4;" (assignment_expression "puVar12 = PTR___stack_chk_fail_0002c2d4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002c2d4" * (cast_expression "(code *)PTR___stack_chk_fail_0002c2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar11 = *(uint *)(puVar12 + 0x18da8);" (assignment_expression "uVar11 = *(uint *)(puVar12 + 0x18da8)" identifier = (pointer_expression "*(uint *)(puVar12 + 0x18da8)" * (cast_expression "(uint *)(puVar12 + 0x18da8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x18da8)" ( (binary_expression "puVar12 + 0x18da8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(uVar11 - 0x3c4c) = local_2c;" (assignment_expression "*(int *)(uVar11 - 0x3c4c) = local_2c" (pointer_expression "*(int *)(uVar11 - 0x3c4c)" * (cast_expression "(int *)(uVar11 - 0x3c4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar11 - 0x3c4c)" ( (binary_expression "uVar11 - 0x3c4c" identifier - number_literal) )))) = identifier) ;) (return_statement "return uVar11;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "uint print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}" (type_identifier "uint") (function_declarator "print_group_list(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)" (identifier "print_group_list") (parameter_list "(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,\n                     undefined1 param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined1 param_5" (type_identifier "undefined1") (identifier "param_5")) (, ",") (parameter_declaration "undefined1 param_6" (type_identifier "undefined1") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  undefined *puVar12;\n  int local_30;\n  int local_2c;\n  \n  puVar12 = PTR___stack_chk_guard_0002c2e4;\n  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;\n  if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }\n  iVar3 = print_group(param_3,param_5);\n  if (iVar3 == 0) {\n    uVar11 = 0;\n  }\n  if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }\n  if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }\n  puVar1 = PTR_stdout_0002c258;\n  if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }\n  if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }\n  puVar12 = PTR___stack_chk_fail_0002c2d4;\n  (*(code *)PTR___stack_chk_fail_0002c2d4)();\n  uVar11 = *(uint *)(puVar12 + 0x18da8);\n  *(int *)(uVar11 - 0x3c4c) = local_2c;\n  return uVar11;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar12 = PTR___stack_chk_guard_0002c2e4;" (assignment_expression "puVar12 = PTR___stack_chk_guard_0002c2e4" (identifier "puVar12") (= "=") (identifier "PTR___stack_chk_guard_0002c2e4")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002c2e4" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0002c2e4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0002c2e4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0002c2e4")))) (; ";")) (if_statement "if (param_1 == 0) {\n    iVar2 = 0;\n    uVar11 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = 0;\n    uVar11 = 1;\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" (identifier "uVar11") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" (else "else") (compound_statement "{\n    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);\n    uVar11 = (uint)(iVar2 != 0);\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getpwuid_0002c2fc)(param_2)" (parenthesized_expression "(*(code *)PTR_getpwuid_0002c2fc)" (( "(") (pointer_expression "*(code *)PTR_getpwuid_0002c2fc" (* "*") (cast_expression "(code *)PTR_getpwuid_0002c2fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getpwuid_0002c2fc"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar11 = (uint)(iVar2 != 0);" (assignment_expression "uVar11 = (uint)(iVar2 != 0)" (identifier "uVar11") (= "=") (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))) (expression_statement "iVar3 = print_group(param_3,param_5);" (assignment_expression "iVar3 = print_group(param_3,param_5)" (identifier "iVar3") (= "=") (call_expression "print_group(param_3,param_5)" (identifier "print_group") (argument_list "(param_3,param_5)" (( "(") (identifier "param_3") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    uVar11 = 0;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar11 = 0;\n  }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (param_3 != param_4) {\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(param_3 != param_4)" (( "(") (binary_expression "param_3 != param_4" (identifier "param_3") (!= "!=") (identifier "param_4")) () ")")) (compound_statement "{\n    iVar3 = *(int *)PTR_stdout_0002c258;\n    puVar7 = *(undefined1 **)(iVar3 + 0x14);\n    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }\n    iVar3 = print_group(param_4,param_5);\n    if (iVar3 == 0) {\n      uVar11 = 0;\n    }\n  }" ({ "{") (expression_statement "iVar3 = *(int *)PTR_stdout_0002c258;" (assignment_expression "iVar3 = *(int *)PTR_stdout_0002c258" (identifier "iVar3") (= "=") (pointer_expression "*(int *)PTR_stdout_0002c258" (* "*") (cast_expression "(int *)PTR_stdout_0002c258" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_0002c258")))) (; ";")) (expression_statement "puVar7 = *(undefined1 **)(iVar3 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar3 + 0x14)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar3 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }\n    else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" (if "if") (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar3 + 0x18))" (( "(") (binary_expression "puVar7 < *(undefined1 **)(iVar3 + 0x18)" (identifier "puVar7") (< "<") (pointer_expression "*(undefined1 **)(iVar3 + 0x18)" (* "*") (cast_expression "(undefined1 **)(iVar3 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n      *puVar7 = param_6;\n    }" ({ "{") (expression_statement "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar3 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = param_6;" (assignment_expression "*puVar7 = param_6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "param_6")) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n    }" ({ "{") (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar3,param_6);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar3,param_6)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" (( "(") (pointer_expression "*(code *)PTR___overflow_0002c234" (* "*") (cast_expression "(code *)PTR___overflow_0002c234" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___overflow_0002c234"))) () ")")) (argument_list "(iVar3,param_6)" (( "(") (identifier "iVar3") (, ",") (identifier "param_6") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar3 = print_group(param_4,param_5);" (assignment_expression "iVar3 = print_group(param_4,param_5)" (identifier "iVar3") (= "=") (call_expression "print_group(param_4,param_5)" (identifier "print_group") (argument_list "(param_4,param_5)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      uVar11 = 0;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar11 = 0;\n    }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (if_statement "if (iVar2 == 0) {\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }\n  else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = xgetgroups(param_1,param_4,&local_30);\n    iVar3 = local_30;\n  }" ({ "{") (expression_statement "iVar2 = xgetgroups(param_1,param_4,&local_30);" (assignment_expression "iVar2 = xgetgroups(param_1,param_4,&local_30)" (identifier "iVar2") (= "=") (call_expression "xgetgroups(param_1,param_4,&local_30)" (identifier "xgetgroups") (argument_list "(param_1,param_4,&local_30)" (( "(") (identifier "param_1") (, ",") (identifier "param_4") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" (identifier "iVar3") (= "=") (identifier "local_30")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" (else "else") (compound_statement "{\n    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);\n    iVar3 = local_30;\n  }" ({ "{") (expression_statement "iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);" (assignment_expression "iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" (identifier "iVar2") (= "=") (call_expression "xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" (identifier "xgetgroups") (argument_list "(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" (identifier "iVar3") (= "=") (identifier "local_30")) (; ";")) (} "}")))) (expression_statement "puVar1 = PTR_stdout_0002c258;" (assignment_expression "puVar1 = PTR_stdout_0002c258" (identifier "puVar1") (= "=") (identifier "PTR_stdout_0002c258")) (; ";")) (if_statement "if (iVar2 < 0) {\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }\n  else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();\n    uVar10 = *puVar4;\n    if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002c260)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0002c260)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002c260)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0002c260" (* "*") (cast_expression "(code *)PTR___errno_location_0002c260" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0002c260"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" (identifier "uVar10") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (if_statement "if (param_1 == 0) {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }\n    else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);\n    }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c2d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c2d8"))) () ")")) (argument_list "(0,PTR_DAT_0002c108 + -0x5f08,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c108 + -0x5f08" (identifier "PTR_DAT_0002c108") (+ "+") (number_literal "-0x5f08")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" (( "(") (pointer_expression "*(code *)PTR_error_0002c29c" (* "*") (cast_expression "(code *)PTR_error_0002c29c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_0002c29c"))) () ")")) (argument_list "(0,uVar10,uVar5)" (( "(") (number_literal "0") (, ",") (identifier "uVar10") (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" (else "else") (compound_statement "{\n      uVar11 = 0;\n      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);\n      uVar6 = quote(param_1);\n      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);\n    }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c2d8)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c2d8" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c2d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c2d8"))) () ")")) (argument_list "(0,PTR_DAT_0002c108 + -0x5f2c)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c108 + -0x5f2c" (identifier "PTR_DAT_0002c108") (+ "+") (number_literal "-0x5f2c")) () ")")))) (; ";")) (expression_statement "uVar6 = quote(param_1);" (assignment_expression "uVar6 = quote(param_1)" (identifier "uVar6") (= "=") (call_expression "quote(param_1)" (identifier "quote") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);" (call_expression "(*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6)" (parenthesized_expression "(*(code *)PTR_error_0002c29c)" (( "(") (pointer_expression "*(code *)PTR_error_0002c29c" (* "*") (cast_expression "(code *)PTR_error_0002c29c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_0002c29c"))) () ")")) (argument_list "(0,uVar10,uVar5,uVar6)" (( "(") (number_literal "0") (, ",") (identifier "uVar10") (, ",") (identifier "uVar5") (, ",") (identifier "uVar6") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" (else "else") (compound_statement "{\n    iVar9 = 0;\n    if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }\n    (*(code *)PTR_free_0002c2ec)();\n  }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar2 != 0) {\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar8 = 0;\n      local_30 = iVar3;\n      do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);\n    }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = iVar3;" (assignment_expression "local_30 = iVar3" (identifier "local_30") (= "=") (identifier "iVar3")) (; ";")) (do_statement "do {\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      } while (iVar2 != iVar9);" (do "do") (compound_statement "{\n        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }\n        iVar9 = iVar9 + 1;\n        iVar8 = iVar9 * 4;\n      }" ({ "{") (if_statement "if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }" (if "if") (parenthesized_expression "((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4))" (( "(") (binary_expression "(*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)" (parenthesized_expression "(*(int *)(iVar3 + iVar8) != param_3)" (( "(") (binary_expression "*(int *)(iVar3 + iVar8) != param_3" (pointer_expression "*(int *)(iVar3 + iVar8)" (* "*") (cast_expression "(int *)(iVar3 + iVar8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar8)" (( "(") (binary_expression "iVar3 + iVar8" (identifier "iVar3") (+ "+") (identifier "iVar8")) () ")")))) (!= "!=") (identifier "param_3")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar3 + iVar8) != param_4)" (( "(") (binary_expression "*(int *)(iVar3 + iVar8) != param_4" (pointer_expression "*(int *)(iVar3 + iVar8)" (* "*") (cast_expression "(int *)(iVar3 + iVar8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar8)" (( "(") (binary_expression "iVar3 + iVar8" (identifier "iVar3") (+ "+") (identifier "iVar8")) () ")")))) (!= "!=") (identifier "param_4")) () ")"))) () ")")) (compound_statement "{\n          iVar3 = *(int *)puVar1;\n          puVar7 = *(undefined1 **)(iVar3 + 0x14);\n          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }\n          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);\n          iVar3 = local_30;\n          if (iVar8 == 0) {\n            uVar11 = 0;\n          }\n        }" ({ "{") (expression_statement "iVar3 = *(int *)puVar1;" (assignment_expression "iVar3 = *(int *)puVar1" (identifier "iVar3") (= "=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "puVar7 = *(undefined1 **)(iVar3 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar3 + 0x14)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar3 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }\n          else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" (if "if") (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar3 + 0x18))" (( "(") (binary_expression "puVar7 < *(undefined1 **)(iVar3 + 0x18)" (identifier "puVar7") (< "<") (pointer_expression "*(undefined1 **)(iVar3 + 0x18)" (* "*") (cast_expression "(undefined1 **)(iVar3 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;\n            *puVar7 = param_6;\n          }" ({ "{") (expression_statement "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar3 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar3 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar3 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = param_6;" (assignment_expression "*puVar7 = param_6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "param_6")) (; ";")) (} "}")) (else_clause "else {\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" (else "else") (compound_statement "{\n            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);\n          }" ({ "{") (expression_statement "(*(code *)PTR___overflow_0002c234)(iVar3,param_6);" (call_expression "(*(code *)PTR___overflow_0002c234)(iVar3,param_6)" (parenthesized_expression "(*(code *)PTR___overflow_0002c234)" (( "(") (pointer_expression "*(code *)PTR___overflow_0002c234" (* "*") (cast_expression "(code *)PTR___overflow_0002c234" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___overflow_0002c234"))) () ")")) (argument_list "(iVar3,param_6)" (( "(") (identifier "iVar3") (, ",") (identifier "param_6") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);" (assignment_expression "iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5)" (identifier "iVar8") (= "=") (call_expression "print_group(*(undefined4 *)(local_30 + iVar8),param_5)" (identifier "print_group") (argument_list "(*(undefined4 *)(local_30 + iVar8),param_5)" (( "(") (pointer_expression "*(undefined4 *)(local_30 + iVar8)" (* "*") (cast_expression "(undefined4 *)(local_30 + iVar8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30 + iVar8)" (( "(") (binary_expression "local_30 + iVar8" (identifier "local_30") (+ "+") (identifier "iVar8")) () ")")))) (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" (identifier "iVar3") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (iVar8 == 0) {\n            uVar11 = 0;\n          }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar11 = 0;\n          }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = iVar9 * 4;" (assignment_expression "iVar8 = iVar9 * 4" (identifier "iVar8") (= "=") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != iVar9)" (( "(") (binary_expression "iVar2 != iVar9" (identifier "iVar2") (!= "!=") (identifier "iVar9")) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_0002c2ec)();" (call_expression "(*(code *)PTR_free_0002c2ec)()" (parenthesized_expression "(*(code *)PTR_free_0002c2ec)" (( "(") (pointer_expression "*(code *)PTR_free_0002c2ec" (* "*") (cast_expression "(code *)PTR_free_0002c2ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0002c2ec"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (local_2c == *(int *)puVar12) {\n    return uVar11;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar12)" (( "(") (binary_expression "local_2c == *(int *)puVar12" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar12" (* "*") (cast_expression "(int *)puVar12" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12")))) () ")")) (compound_statement "{\n    return uVar11;\n  }" ({ "{") (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (expression_statement "puVar12 = PTR___stack_chk_fail_0002c2d4;" (assignment_expression "puVar12 = PTR___stack_chk_fail_0002c2d4" (identifier "puVar12") (= "=") (identifier "PTR___stack_chk_fail_0002c2d4")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c2d4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0002c2d4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0002c2d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0002c2d4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar11 = *(uint *)(puVar12 + 0x18da8);" (assignment_expression "uVar11 = *(uint *)(puVar12 + 0x18da8)" (identifier "uVar11") (= "=") (pointer_expression "*(uint *)(puVar12 + 0x18da8)" (* "*") (cast_expression "(uint *)(puVar12 + 0x18da8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x18da8)" (( "(") (binary_expression "puVar12 + 0x18da8" (identifier "puVar12") (+ "+") (number_literal "0x18da8")) () ")"))))) (; ";")) (expression_statement "*(int *)(uVar11 - 0x3c4c) = local_2c;" (assignment_expression "*(int *)(uVar11 - 0x3c4c) = local_2c" (pointer_expression "*(int *)(uVar11 - 0x3c4c)" (* "*") (cast_expression "(int *)(uVar11 - 0x3c4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar11 - 0x3c4c)" (( "(") (binary_expression "uVar11 - 0x3c4c" (identifier "uVar11") (- "-") (number_literal "0x3c4c")) () ")")))) (= "=") (identifier "local_2c")) (; ";")) (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}")))

type_1 function_1(char *var_1,type_2 ruid,type_3 var_5,type_3 var_6,type_1 use_names,char delim)

{
  type_4 *puVar1;
  type_5 extraout_var;
  type_5 extraout_var_00;
  type_5 extraout_var_01;
  int var_2;
  type_1 _Var5;
  type_6 *puVar3;
  type_6 uVar4;
  char *var_8;
  int var_12;
  int var_7;
  int var_13;
  type_3 *pgVar10;
  type_6 uVar11;
  bool bVar12;
  type_4 *var_15;
  type_3 *groups;
  int var_14;
  
  var_15 = PTR___stack_chk_guard_0002c2e4;
  var_14 = *(int *)PTR___stack_chk_guard_0002c2e4;
  if (var_1 == (char *)0x0) {
    var_2 = 0;
    bVar12 = true;
  }
  else {
    var_2 = (*(type_7 *)PTR_getpwuid_0002c2fc)(ruid);
    bVar12 = var_2 != 0;
  }
  _Var5 = var_3(var_5,use_names);
  if (var_4(extraout_var,_Var5) == 0) {
    bVar12 = false;
  }
  if (var_5 != var_6) {
    var_7 = *(int *)PTR_stdout_0002c258;
    var_8 = *(char **)(var_7 + 0x14);
    if (var_8 < *(char **)(var_7 + 0x18)) {
      *(char **)(var_7 + 0x14) = var_8 + 1;
      *var_8 = delim;
    }
    else {
      (*(type_7 *)PTR___overflow_0002c234)(var_7,delim);
    }
    _Var5 = var_3(var_6,use_names);
    if (var_4(extraout_var_00,_Var5) == 0) {
      bVar12 = false;
    }
  }
  if (var_2 == 0) {
    var_2 = var_9(var_1,var_6,&groups);
    pgVar10 = groups;
  }
  else {
    var_2 = var_9(var_1,*(type_3 *)(var_2 + 0xc),&groups);
    pgVar10 = groups;
  }
  puVar1 = PTR_stdout_0002c258;
  if (var_2 < 0) {
    puVar3 = (type_6 *)(*(type_7 *)PTR___errno_location_0002c260)();
    uVar11 = *puVar3;
    if (var_1 == (char *)0x0) {
      bVar12 = false;
      uVar4 = (*(type_7 *)PTR_dcgettext_0002c2d8)(0,var_10 + -0x5f08,5);
      (*(type_7 *)PTR_error_0002c29c)(0,uVar11,uVar4);
    }
    else {
      bVar12 = false;
      uVar4 = (*(type_7 *)PTR_dcgettext_0002c2d8)(0,var_10 + -0x5f2c);
      var_8 = var_11(var_1);
      (*(type_7 *)PTR_error_0002c29c)(0,uVar11,uVar4,var_8);
    }
  }
  else {
    var_7 = 0;
    if (var_2 != 0) {
      var_12 = 0;
      groups = pgVar10;
      do {
        if ((*(type_3 *)((int)pgVar10 + var_12) != var_5) && (*(type_3 *)((int)pgVar10 + var_12) != var_6)
           ) {
          var_13 = *(int *)puVar1;
          var_8 = *(char **)(var_13 + 0x14);
          if (var_8 < *(char **)(var_13 + 0x18)) {
            *(char **)(var_13 + 0x14) = var_8 + 1;
            *var_8 = delim;
          }
          else {
            (*(type_7 *)PTR___overflow_0002c234)(var_13,delim);
          }
          _Var5 = var_3(*(type_3 *)((int)groups + var_12),use_names);
          pgVar10 = groups;
          if (var_4(extraout_var_01,_Var5) == 0) {
            bVar12 = false;
          }
        }
        var_7 = var_7 + 1;
        var_12 = var_7 * 4;
      } while (var_2 != var_7);
    }
    (*(type_7 *)PTR_free_0002c2ec)();
  }
  if (var_14 == *(int *)var_15) {
    return bVar12;
  }
  var_15 = PTR___stack_chk_fail_0002c2d4;
  (*(type_7 *)PTR___stack_chk_fail_0002c2d4)();
  var_2 = *(int *)(var_15 + 0x18da8);
  *(int *)(var_2 + -0x3c4c) = var_14;
  return var_16(var_2,0);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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: (identifier))))) right: (identifier))) right: (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: (identifier))))) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))))) (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: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_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: (identifier))) (return_statement (identifier)))))

uint MASKED(int param_1,undefined4 param_2,int param_3,int param_4,undefined1 param_5,
                     undefined1 param_6)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined1 *puVar7;
  int iVar8;
  int iVar9;
  undefined4 uVar10;
  uint uVar11;
  undefined *puVar12;
  int local_30;
  int local_2c;
  
  puVar12 = PTR___stack_chk_guard_0002c2e4;
  local_2c = *(int *)PTR___stack_chk_guard_0002c2e4;
  if (param_1 == 0) {
    iVar2 = 0;
    uVar11 = 1;
  }
  else {
    iVar2 = (*(code *)PTR_getpwuid_0002c2fc)(param_2);
    uVar11 = (uint)(iVar2 != 0);
  }
  iVar3 = print_group(param_3,param_5);
  if (iVar3 == 0) {
    uVar11 = 0;
  }
  if (param_3 != param_4) {
    iVar3 = *(int *)PTR_stdout_0002c258;
    puVar7 = *(undefined1 **)(iVar3 + 0x14);
    if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {
      *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;
      *puVar7 = param_6;
    }
    else {
      (*(code *)PTR___overflow_0002c234)(iVar3,param_6);
    }
    iVar3 = print_group(param_4,param_5);
    if (iVar3 == 0) {
      uVar11 = 0;
    }
  }
  if (iVar2 == 0) {
    iVar2 = xgetgroups(param_1,param_4,&local_30);
    iVar3 = local_30;
  }
  else {
    iVar2 = xgetgroups(param_1,*(undefined4 *)(iVar2 + 0xc),&local_30);
    iVar3 = local_30;
  }
  puVar1 = PTR_stdout_0002c258;
  if (iVar2 < 0) {
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_0002c260)();
    uVar10 = *puVar4;
    if (param_1 == 0) {
      uVar11 = 0;
      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f08,5);
      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5);
    }
    else {
      uVar11 = 0;
      uVar5 = (*(code *)PTR_dcgettext_0002c2d8)(0,PTR_DAT_0002c108 + -0x5f2c);
      uVar6 = quote(param_1);
      (*(code *)PTR_error_0002c29c)(0,uVar10,uVar5,uVar6);
    }
  }
  else {
    iVar9 = 0;
    if (iVar2 != 0) {
      iVar8 = 0;
      local_30 = iVar3;
      do {
        if ((*(int *)(iVar3 + iVar8) != param_3) && (*(int *)(iVar3 + iVar8) != param_4)) {
          iVar3 = *(int *)puVar1;
          puVar7 = *(undefined1 **)(iVar3 + 0x14);
          if (puVar7 < *(undefined1 **)(iVar3 + 0x18)) {
            *(undefined1 **)(iVar3 + 0x14) = puVar7 + 1;
            *puVar7 = param_6;
          }
          else {
            (*(code *)PTR___overflow_0002c234)(iVar3,param_6);
          }
          iVar8 = print_group(*(undefined4 *)(local_30 + iVar8),param_5);
          iVar3 = local_30;
          if (iVar8 == 0) {
            uVar11 = 0;
          }
        }
        iVar9 = iVar9 + 1;
        iVar8 = iVar9 * 4;
      } while (iVar2 != iVar9);
    }
    (*(code *)PTR_free_0002c2ec)();
  }
  if (local_2c == *(int *)puVar12) {
    return uVar11;
  }
  puVar12 = PTR___stack_chk_fail_0002c2d4;
  (*(code *)PTR___stack_chk_fail_0002c2d4)();
  uVar11 = *(uint *)(puVar12 + 0x18da8);
  *(int *)(uVar11 - 0x3c4c) = local_2c;
  return uVar11;
}

