
_Bool file_exists_p(char *filename,file_stats_t *fstats)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  _Bool _Var6;
  __uid_t _Var5;
  undefined1 uVar7;
  stat buf;
  
  puVar1 = PTR___stack_chk_guard_000afc3c;
  iVar2 = *(int *)PTR___stack_chk_guard_000afc3c;
  piVar3 = (int *)(*(code *)PTR___errno_location_000afe90)();
  *piVar3 = 0;
  iVar4 = (*(code *)PTR___xstat64_000afddc)(3,filename,&buf);
  if (((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&
     ((((buf.st_mode & 0x100) != 0 &&
       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||
      ((((buf.st_mode & 0x20) != 0 &&
        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||
       ((buf.st_mode & 4) != 0)))))) {
    _Var6 = true;
    if (fstats != (file_stats_t *)0x0) {
      fstats->access_err = 0;
      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;
      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;
      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;
      *(undefined4 *)&fstats->st_dev = 0;
    }
  }
  else {
    if (fstats != (file_stats_t *)0x0) {
      if (*piVar3 == 0) {
        fstats->access_err = 0xd;
      }
      else {
        fstats->access_err = *piVar3;
      }
    }
    _Var6 = false;
    *piVar3 = 0;
  }
  if (iVar2 != *(int *)puVar1) {
    uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();
    return (_Bool)uVar7;
  }
  return _Var6;
}



bool FUN_00055430(char *param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  bool bVar3;
  int iVar4;
  undefined *puVar5;
  int local_c0 [4];
  int local_b0;
  char *local_ac;
  uint local_a8;
  int local_a0;
  undefined4 local_9c;
  char *local_1c;
  
  puVar5 = PTR___stack_chk_guard_000afc3c;
  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;
  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();
  *piVar1 = 0;
  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);
  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&
     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||
      ((((local_a8 & 0x20) != 0 &&
        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||
       ((local_a8 & 4) != 0)))))) {
    bVar3 = true;
    if (param_2 != (int *)0x0) {
      *param_2 = 0;
      param_2[3] = (int)local_ac;
      param_2[2] = local_b0;
      param_2[5] = local_c0[0];
      param_2[4] = 0;
      param_1 = local_ac;
    }
  }
  else {
    if (param_2 != (int *)0x0) {
      if (*piVar1 == 0) {
        *param_2 = 0xd;
      }
      else {
        *param_2 = *piVar1;
      }
    }
    bVar3 = false;
    *piVar1 = 0;
  }
  if (local_1c == *(char **)puVar5) {
    return bVar3;
  }
  puVar5 = PTR___stack_chk_fail_000afbd4;
  (*(code *)PTR___stack_chk_fail_000afbd4)();
  iVar2 = (int)*local_1c;
  iVar4 = (int)*param_1;
  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {
    if (iVar2 != 0) {
      if (iVar4 == 0) {
        return false;
      }
      if (iVar4 != iVar2) {
        return false;
      }
      while( true ) {
        local_1c = local_1c + 1;
        param_1 = param_1 + 1;
        iVar4 = (int)*param_1;
        if (*local_1c == 0) break;
        if (iVar4 == 0) {
          return false;
        }
        if (*local_1c != iVar4) {
          return false;
        }
      }
    }
  }
  else {
    while (iVar2 != 0) {
      if (iVar4 == 0) {
        return false;
      }
      if (iVar2 - 0x41U < 0x1a) {
        iVar2 = iVar2 + 0x20;
      }
      if (iVar4 - 0x41U < 0x1a) {
        iVar4 = iVar4 + 0x20;
      }
      if (iVar4 != iVar2) {
        if (*local_1c != '\0') {
          return false;
        }
        iVar4 = (int)*param_1;
        if (iVar4 == 0) {
          return true;
        }
        goto LAB_00055604;
      }
      local_1c = local_1c + 1;
      iVar4 = (int)param_1[1];
      param_1 = param_1 + 1;
      iVar2 = (int)*local_1c;
    }
  }
  if (iVar4 == 0) {
    return true;
  }
LAB_00055604:
  return iVar4 == 0x2f;
}


lui gp,0x6
addiu gp,gp,0x2000
addu gp,gp,t9
addiu sp,sp,-0xd8
lw t9,-0x75a0(gp)
sw s2,0xcc(sp)
lw s2,-0x77f4(gp)
sw gp,0x10(sp)
sw ra,0xd4(sp)
sw s3,0xd0(sp)
or s3,a0,zero
sw s1,0xc8(sp)
or s1,a1,zero
sw s0,0xc4(sp)
lw v0,0x0(s2)
sw v0,0xbc(sp)
jalr t9
_nop
addiu a2,sp,0x18
lw gp,0x10(sp)
li a0,0x3
sw zero,0x0(v0)
or a1,s3,zero
lw t9,-0x7654(gp)
jalr t9
_or s0,v0,zero
bne v0,zero,0x00055500
_lw gp,0x10(sp)
lw v0,0x30(sp)
ori v1,zero,0x8000
andi a0,v0,0xf000
bne a0,v1,0x00055500
_andi v1,v0,0x100
bne v1,zero,0x00055554
_lw t9,-0x7804(gp)
andi v1,v0,0x20
bne v1,zero,0x00055570
_lw t9,-0x77b0(gp)
andi v0,v0,0x4
beq v0,zero,0x00055500
_nop
beq s1,zero,0x00055520
_li v0,0x1
lw a1,0x2c(sp)
lw a0,0x28(sp)
lw v1,0x18(sp)
sw zero,0x0(s1)
sw a1,0xc(s1)
sw a0,0x8(s1)
sw v1,0x14(s1)
b 0x00055520
_sw zero,0x10(s1)
beq s1,zero,0x0005551c
_or v0,zero,zero
lw v0,0x0(s0)
beq v0,zero,0x00055548
_nop
sw v0,0x0(s1)
or v0,zero,zero
sw zero,0x0(s0)
lw a0,0xbc(sp)
lw v1,0x0(s2)
bne a0,v1,0x00055588
_lw ra,0xd4(sp)
lw s3,0xd0(sp)
lw s2,0xcc(sp)
lw s1,0xc8(sp)
lw s0,0xc4(sp)
jr ra
_addiu sp,sp,0xd8
li v0,0xd
b 0x00055518
_sw v0,0x0(s1)
jalr t9
_nop
lw v1,0x38(sp)
beq v0,v1,0x000554d4
_lw gp,0x10(sp)
b 0x000554bc
_lw v0,0x30(sp)
jalr t9
_lw a0,0x3c(sp)
bne v0,zero,0x000554d4
_lw gp,0x10(sp)
b 0x000554c8
_lw v0,0x30(sp)
lw t9,-0x785c(gp)
jalr t9
_nop
(translation_unit "bool FUN_00055430(char *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}\n\n" (function_definition "bool FUN_00055430(char *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}" primitive_type (function_declarator "FUN_00055430(char *param_1,int *param_2)" identifier (parameter_list "(char *param_1,int *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int local_c0 [4];" primitive_type (array_declarator "local_c0 [4]" identifier [ number_literal ]) ;) (declaration "int local_b0;" primitive_type identifier ;) (declaration "char *local_ac;" primitive_type (pointer_declarator "*local_ac" * identifier) ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "undefined4 local_9c;" type_identifier identifier ;) (declaration "char *local_1c;" primitive_type (pointer_declarator "*local_1c" * identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_000afc3c" identifier = identifier) ;) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_000afc3c" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_000afc3c" * (cast_expression "(char **)PTR___stack_chk_guard_000afc3c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_000afe90)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000afe90)()" (parenthesized_expression "(*(code *)PTR___errno_location_000afe90)" ( (pointer_expression "*(code *)PTR___errno_location_000afe90" * (cast_expression "(code *)PTR___errno_location_000afe90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0)" identifier = (call_expression "(*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0)" (parenthesized_expression "(*(code *)PTR___xstat64_000afddc)" ( (pointer_expression "*(code *)PTR___xstat64_000afddc" * (cast_expression "(code *)PTR___xstat64_000afddc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,local_c0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" if (parenthesized_expression "(((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))))))" ( (binary_expression "((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))" (parenthesized_expression "((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000))" ( (binary_expression "(iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "((local_a8 & 0xf000) == 0x8000)" ( (binary_expression "(local_a8 & 0xf000) == 0x8000" (parenthesized_expression "(local_a8 & 0xf000)" ( (binary_expression "local_a8 & 0xf000" identifier & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))" ( (parenthesized_expression "(((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))))" ( (binary_expression "((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))" (parenthesized_expression "((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0))" ( (binary_expression "(local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)" (binary_expression "(local_a8 & 0x100) != 0" (parenthesized_expression "(local_a8 & 0x100)" ( (binary_expression "local_a8 & 0x100" identifier & number_literal) )) != number_literal) && (parenthesized_expression "(iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)" ( (comma_expression "iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0" (assignment_expression "iVar2 = (*(code *)PTR_getuid_000afc2c)()" identifier = (call_expression "(*(code *)PTR_getuid_000afc2c)()" (parenthesized_expression "(*(code *)PTR_getuid_000afc2c)" ( (pointer_expression "*(code *)PTR_getuid_000afc2c" * (cast_expression "(code *)PTR_getuid_000afc2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar2 == local_a0" identifier == identifier)) ))) )) || (parenthesized_expression "((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))" ( (parenthesized_expression "(((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))" ( (binary_expression "((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)" (parenthesized_expression "((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0))" ( (binary_expression "(local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)" (binary_expression "(local_a8 & 0x20) != 0" (parenthesized_expression "(local_a8 & 0x20)" ( (binary_expression "local_a8 & 0x20" identifier & number_literal) )) != number_literal) && (parenthesized_expression "(iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c)" identifier = (call_expression "(*(code *)PTR_group_member_000afc80)(local_9c)" (parenthesized_expression "(*(code *)PTR_group_member_000afc80)" ( (pointer_expression "*(code *)PTR_group_member_000afc80" * (cast_expression "(code *)PTR_group_member_000afc80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_9c)" ( identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "((local_a8 & 4) != 0)" ( (binary_expression "(local_a8 & 4) != 0" (parenthesized_expression "(local_a8 & 4)" ( (binary_expression "local_a8 & 4" identifier & number_literal) )) != number_literal) ))) )) ))) )) ))) )) (compound_statement "{\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (if_statement "if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[3] = (int)local_ac;" (assignment_expression "param_2[3] = (int)local_ac" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(int)local_ac" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_2[2] = local_b0;" (assignment_expression "param_2[2] = local_b0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[5] = local_c0[0];" (assignment_expression "param_2[5] = local_c0[0]" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (subscript_expression "local_c0[0]" identifier [ number_literal ])) ;) (expression_statement "param_2[4] = 0;" (assignment_expression "param_2[4] = 0" (subscript_expression "param_2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1 = local_ac;" (assignment_expression "param_1 = local_ac" identifier = identifier) ;) })) }) (else_clause "else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" else (compound_statement "{\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" { (if_statement "if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }" { (if_statement "if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        *param_2 = 0xd;\n      }" { (expression_statement "*param_2 = 0xd;" (assignment_expression "*param_2 = 0xd" (pointer_expression "*param_2" * identifier) = number_literal) ;) }) (else_clause "else {\n        *param_2 = *piVar1;\n      }" else (compound_statement "{\n        *param_2 = *piVar1;\n      }" { (expression_statement "*param_2 = *piVar1;" (assignment_expression "*param_2 = *piVar1" (pointer_expression "*param_2" * identifier) = (pointer_expression "*piVar1" * identifier)) ;) }))) })) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) }))) (if_statement "if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }" if (parenthesized_expression "(local_1c == *(char **)puVar5)" ( (binary_expression "local_1c == *(char **)puVar5" identifier == (pointer_expression "*(char **)puVar5" * (cast_expression "(char **)puVar5" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return bVar3;\n  }" { (return_statement "return bVar3;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar5 = PTR___stack_chk_fail_000afbd4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" * (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = (int)*local_1c;" (assignment_expression "iVar2 = (int)*local_1c" identifier = (cast_expression "(int)*local_1c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*local_1c" * identifier))) ;) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0')" ( (binary_expression "*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0'" (pointer_expression "*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c)" * (cast_expression "(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x59ef4) + 0x5c)" ( (binary_expression "*(int *)(puVar5 + 0x59ef4) + 0x5c" (pointer_expression "*(int *)(puVar5 + 0x59ef4)" * (cast_expression "(int *)(puVar5 + 0x59ef4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x59ef4)" ( (binary_expression "puVar5 + 0x59ef4" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }" { (if_statement "if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }" { (if_statement "if (iVar4 == 0) {\n        return false;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (iVar4 != iVar2) {\n        return false;\n      }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (while_statement "while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }" { (expression_statement "local_1c = local_1c + 1;" (assignment_expression "local_1c = local_1c + 1" identifier = (binary_expression "local_1c + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*local_1c == 0) break;" if (parenthesized_expression "(*local_1c == 0)" ( (binary_expression "*local_1c == 0" (pointer_expression "*local_1c" * identifier) == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar4 == 0) {\n          return false;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) (if_statement "if (*local_1c != iVar4) {\n          return false;\n        }" if (parenthesized_expression "(*local_1c != iVar4)" ( (binary_expression "*local_1c != iVar4" (pointer_expression "*local_1c" * identifier) != identifier) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) })) })) }) (else_clause "else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" else (compound_statement "{\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" { (while_statement "while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }" while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }" { (if_statement "if (iVar4 == 0) {\n        return false;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }" if (parenthesized_expression "(iVar2 - 0x41U < 0x1a)" ( (binary_expression "iVar2 - 0x41U < 0x1a" (binary_expression "iVar2 - 0x41U" identifier - number_literal) < number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 0x20;\n      }" { (expression_statement "iVar2 = iVar2 + 0x20;" (assignment_expression "iVar2 = iVar2 + 0x20" identifier = (binary_expression "iVar2 + 0x20" identifier + number_literal)) ;) })) (if_statement "if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }" if (parenthesized_expression "(iVar4 - 0x41U < 0x1a)" ( (binary_expression "iVar4 - 0x41U < 0x1a" (binary_expression "iVar4 - 0x41U" identifier - number_literal) < number_literal) )) (compound_statement "{\n        iVar4 = iVar4 + 0x20;\n      }" { (expression_statement "iVar4 = iVar4 + 0x20;" (assignment_expression "iVar4 = iVar4 + 0x20" identifier = (binary_expression "iVar4 + 0x20" identifier + number_literal)) ;) })) (if_statement "if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }" { (if_statement "if (*local_1c != '\0') {\n          return false;\n        }" if (parenthesized_expression "(*local_1c != '\0')" ( (binary_expression "*local_1c != '\0'" (pointer_expression "*local_1c" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (iVar4 == 0) {\n          return true;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return true;\n        }" { (return_statement "return true;" return true ;) })) (goto_statement "goto LAB_00055604;" goto statement_identifier ;) })) (expression_statement "local_1c = local_1c + 1;" (assignment_expression "local_1c = local_1c + 1" identifier = (binary_expression "local_1c + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)param_1[1];" (assignment_expression "iVar4 = (int)param_1[1]" identifier = (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (int)*local_1c;" (assignment_expression "iVar2 = (int)*local_1c" identifier = (cast_expression "(int)*local_1c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*local_1c" * identifier))) ;) })) }))) (if_statement "if (iVar4 == 0) {\n    return true;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (labeled_statement "LAB_00055604:\n  return iVar4 == 0x2f;" statement_identifier : (return_statement "return iVar4 == 0x2f;" return (binary_expression "iVar4 == 0x2f" identifier == number_literal) ;)) })))
(translation_unit "_Bool file_exists_p(char *filename,file_stats_t *fstats)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  _Bool _Var6;\n  __uid_t _Var5;\n  undefined1 uVar7;\n  stat buf;\n  \n  puVar1 = PTR___stack_chk_guard_000afc3c;\n  iVar2 = *(int *)PTR___stack_chk_guard_000afc3c;\n  piVar3 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar3 = 0;\n  iVar4 = (*(code *)PTR___xstat64_000afddc)(3,filename,&buf);\n  if (((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&\n     ((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))))) {\n    _Var6 = true;\n    if (fstats != (file_stats_t *)0x0) {\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }\n  }\n  else {\n    if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }\n    _Var6 = false;\n    *piVar3 = 0;\n  }\n  if (iVar2 != *(int *)puVar1) {\n    uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();\n    return (_Bool)uVar7;\n  }\n  return _Var6;\n}\n\n" (function_definition "_Bool file_exists_p(char *filename,file_stats_t *fstats)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  _Bool _Var6;\n  __uid_t _Var5;\n  undefined1 uVar7;\n  stat buf;\n  \n  puVar1 = PTR___stack_chk_guard_000afc3c;\n  iVar2 = *(int *)PTR___stack_chk_guard_000afc3c;\n  piVar3 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar3 = 0;\n  iVar4 = (*(code *)PTR___xstat64_000afddc)(3,filename,&buf);\n  if (((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&\n     ((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))))) {\n    _Var6 = true;\n    if (fstats != (file_stats_t *)0x0) {\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }\n  }\n  else {\n    if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }\n    _Var6 = false;\n    *piVar3 = 0;\n  }\n  if (iVar2 != *(int *)puVar1) {\n    uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();\n    return (_Bool)uVar7;\n  }\n  return _Var6;\n}" type_identifier (function_declarator "file_exists_p(char *filename,file_stats_t *fstats)" identifier (parameter_list "(char *filename,file_stats_t *fstats)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) , (parameter_declaration "file_stats_t *fstats" type_identifier (pointer_declarator "*fstats" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  _Bool _Var6;\n  __uid_t _Var5;\n  undefined1 uVar7;\n  stat buf;\n  \n  puVar1 = PTR___stack_chk_guard_000afc3c;\n  iVar2 = *(int *)PTR___stack_chk_guard_000afc3c;\n  piVar3 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar3 = 0;\n  iVar4 = (*(code *)PTR___xstat64_000afddc)(3,filename,&buf);\n  if (((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&\n     ((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))))) {\n    _Var6 = true;\n    if (fstats != (file_stats_t *)0x0) {\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }\n  }\n  else {\n    if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }\n    _Var6 = false;\n    *piVar3 = 0;\n  }\n  if (iVar2 != *(int *)puVar1) {\n    uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();\n    return (_Bool)uVar7;\n  }\n  return _Var6;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "_Bool _Var6;" type_identifier identifier ;) (declaration "__uid_t _Var5;" type_identifier identifier ;) (declaration "undefined1 uVar7;" type_identifier identifier ;) (declaration "stat buf;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000afc3c" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_000afc3c;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_000afc3c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000afc3c" * (cast_expression "(int *)PTR___stack_chk_guard_000afc3c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_000afe90)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_000afe90)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_000afe90)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000afe90)()" (parenthesized_expression "(*(code *)PTR___errno_location_000afe90)" ( (pointer_expression "*(code *)PTR___errno_location_000afe90" * (cast_expression "(code *)PTR___errno_location_000afe90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar4 = (*(code *)PTR___xstat64_000afddc)(3,filename,&buf);" (assignment_expression "iVar4 = (*(code *)PTR___xstat64_000afddc)(3,filename,&buf)" identifier = (call_expression "(*(code *)PTR___xstat64_000afddc)(3,filename,&buf)" (parenthesized_expression "(*(code *)PTR___xstat64_000afddc)" ( (pointer_expression "*(code *)PTR___xstat64_000afddc" * (cast_expression "(code *)PTR___xstat64_000afddc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,filename,&buf)" ( number_literal , identifier , (pointer_expression "&buf" & identifier) )))) ;) (if_statement "if (((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&\n     ((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))))) {\n    _Var6 = true;\n    if (fstats != (file_stats_t *)0x0) {\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }\n  }\n  else {\n    if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }\n    _Var6 = false;\n    *piVar3 = 0;\n  }" if (parenthesized_expression "(((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&\n     ((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0))))))" ( (binary_expression "((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)) &&\n     ((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))))" (parenthesized_expression "((iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000))" ( (binary_expression "(iVar4 == 0) && ((buf.st_mode & 0xf000) == 0x8000)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "((buf.st_mode & 0xf000) == 0x8000)" ( (binary_expression "(buf.st_mode & 0xf000) == 0x8000" (parenthesized_expression "(buf.st_mode & 0xf000)" ( (binary_expression "buf.st_mode & 0xf000" (field_expression "buf.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "((((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))))" ( (parenthesized_expression "(((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0))))" ( (binary_expression "((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)) ||\n      ((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))" (parenthesized_expression "((buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid))" ( (binary_expression "(buf.st_mode & 0x100) != 0 &&\n       (_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)" (binary_expression "(buf.st_mode & 0x100) != 0" (parenthesized_expression "(buf.st_mode & 0x100)" ( (binary_expression "buf.st_mode & 0x100" (field_expression "buf.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) && (parenthesized_expression "(_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid)" ( (comma_expression "_Var5 = (*(code *)PTR_getuid_000afc2c)(), _Var5 == buf.st_uid" (assignment_expression "_Var5 = (*(code *)PTR_getuid_000afc2c)()" identifier = (call_expression "(*(code *)PTR_getuid_000afc2c)()" (parenthesized_expression "(*(code *)PTR_getuid_000afc2c)" ( (pointer_expression "*(code *)PTR_getuid_000afc2c" * (cast_expression "(code *)PTR_getuid_000afc2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "_Var5 == buf.st_uid" identifier == (field_expression "buf.st_uid" identifier . field_identifier))) ))) )) || (parenthesized_expression "((((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)))" ( (parenthesized_expression "(((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0))" ( (binary_expression "((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)) ||\n       ((buf.st_mode & 4) != 0)" (parenthesized_expression "((buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0))" ( (binary_expression "(buf.st_mode & 0x20) != 0 &&\n        (iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)" (binary_expression "(buf.st_mode & 0x20) != 0" (parenthesized_expression "(buf.st_mode & 0x20)" ( (binary_expression "buf.st_mode & 0x20" (field_expression "buf.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) && (parenthesized_expression "(iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0)" ( (comma_expression "iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid), iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_group_member_000afc80)(buf.st_gid)" identifier = (call_expression "(*(code *)PTR_group_member_000afc80)(buf.st_gid)" (parenthesized_expression "(*(code *)PTR_group_member_000afc80)" ( (pointer_expression "*(code *)PTR_group_member_000afc80" * (cast_expression "(code *)PTR_group_member_000afc80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buf.st_gid)" ( (field_expression "buf.st_gid" identifier . field_identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "((buf.st_mode & 4) != 0)" ( (binary_expression "(buf.st_mode & 4) != 0" (parenthesized_expression "(buf.st_mode & 4)" ( (binary_expression "buf.st_mode & 4" (field_expression "buf.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) ))) )) ))) )) ))) )) (compound_statement "{\n    _Var6 = true;\n    if (fstats != (file_stats_t *)0x0) {\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }\n  }" { (expression_statement "_Var6 = true;" (assignment_expression "_Var6 = true" identifier = true) ;) (if_statement "if (fstats != (file_stats_t *)0x0) {\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }" if (parenthesized_expression "(fstats != (file_stats_t *)0x0)" ( (binary_expression "fstats != (file_stats_t *)0x0" identifier != (cast_expression "(file_stats_t *)0x0" ( (type_descriptor "file_stats_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      fstats->access_err = 0;\n      *(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;\n      *(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;\n      *(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;\n      *(undefined4 *)&fstats->st_dev = 0;\n    }" { (expression_statement "fstats->access_err = 0;" (assignment_expression "fstats->access_err = 0" (field_expression "fstats->access_err" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_;" (assignment_expression "*(undefined4 *)((int)&fstats->st_ino + 4) = buf.st_ino._4_4_" (pointer_expression "*(undefined4 *)((int)&fstats->st_ino + 4)" * (cast_expression "(undefined4 *)((int)&fstats->st_ino + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&fstats->st_ino + 4)" ( (binary_expression "(int)&fstats->st_ino + 4" (cast_expression "(int)&fstats->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fstats->st_ino" & (field_expression "fstats->st_ino" identifier -> field_identifier))) + number_literal) )))) = (field_expression "buf.st_ino._4_4_" (field_expression "buf.st_ino" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_;" (assignment_expression "*(undefined4 *)&fstats->st_ino = buf.st_ino._0_4_" (pointer_expression "*(undefined4 *)&fstats->st_ino" * (cast_expression "(undefined4 *)&fstats->st_ino" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fstats->st_ino" & (field_expression "fstats->st_ino" identifier -> field_identifier)))) = (field_expression "buf.st_ino._0_4_" (field_expression "buf.st_ino" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev;" (assignment_expression "*(ulong *)((int)&fstats->st_dev + 4) = buf.st_dev" (pointer_expression "*(ulong *)((int)&fstats->st_dev + 4)" * (cast_expression "(ulong *)((int)&fstats->st_dev + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&fstats->st_dev + 4)" ( (binary_expression "(int)&fstats->st_dev + 4" (cast_expression "(int)&fstats->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fstats->st_dev" & (field_expression "fstats->st_dev" identifier -> field_identifier))) + number_literal) )))) = (field_expression "buf.st_dev" identifier . field_identifier)) ;) (expression_statement "*(undefined4 *)&fstats->st_dev = 0;" (assignment_expression "*(undefined4 *)&fstats->st_dev = 0" (pointer_expression "*(undefined4 *)&fstats->st_dev" * (cast_expression "(undefined4 *)&fstats->st_dev" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fstats->st_dev" & (field_expression "fstats->st_dev" identifier -> field_identifier)))) = number_literal) ;) })) }) (else_clause "else {\n    if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }\n    _Var6 = false;\n    *piVar3 = 0;\n  }" else (compound_statement "{\n    if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }\n    _Var6 = false;\n    *piVar3 = 0;\n  }" { (if_statement "if (fstats != (file_stats_t *)0x0) {\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }" if (parenthesized_expression "(fstats != (file_stats_t *)0x0)" ( (binary_expression "fstats != (file_stats_t *)0x0" identifier != (cast_expression "(file_stats_t *)0x0" ( (type_descriptor "file_stats_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }\n    }" { (if_statement "if (*piVar3 == 0) {\n        fstats->access_err = 0xd;\n      }\n      else {\n        fstats->access_err = *piVar3;\n      }" if (parenthesized_expression "(*piVar3 == 0)" ( (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" * identifier) == number_literal) )) (compound_statement "{\n        fstats->access_err = 0xd;\n      }" { (expression_statement "fstats->access_err = 0xd;" (assignment_expression "fstats->access_err = 0xd" (field_expression "fstats->access_err" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n        fstats->access_err = *piVar3;\n      }" else (compound_statement "{\n        fstats->access_err = *piVar3;\n      }" { (expression_statement "fstats->access_err = *piVar3;" (assignment_expression "fstats->access_err = *piVar3" (field_expression "fstats->access_err" identifier -> field_identifier) = (pointer_expression "*piVar3" * identifier)) ;) }))) })) (expression_statement "_Var6 = false;" (assignment_expression "_Var6 = false" identifier = false) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) }))) (if_statement "if (iVar2 != *(int *)puVar1) {\n    uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();\n    return (_Bool)uVar7;\n  }" if (parenthesized_expression "(iVar2 != *(int *)puVar1)" ( (binary_expression "iVar2 != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();\n    return (_Bool)uVar7;\n  }" { (expression_statement "uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)();" (assignment_expression "uVar7 = (*(code *)PTR___stack_chk_fail_000afbd4)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" * (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return (_Bool)uVar7;" return (cast_expression "(_Bool)uVar7" ( (type_descriptor "_Bool" type_identifier) ) identifier) ;) })) (return_statement "return _Var6;" return identifier ;) })))
(translation_unit "bool FUN_00055430(char *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}\n\n" (function_definition "bool FUN_00055430(char *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}" primitive_type (function_declarator "FUN_00055430(char *param_1,int *param_2)" identifier (parameter_list "(char *param_1,int *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int local_c0 [4];" primitive_type (array_declarator "local_c0 [4]" identifier [ number_literal ]) ;) (declaration "int local_b0;" primitive_type identifier ;) (declaration "char *local_ac;" primitive_type (pointer_declarator "*local_ac" * identifier) ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "undefined4 local_9c;" type_identifier identifier ;) (declaration "char *local_1c;" primitive_type (pointer_declarator "*local_1c" * identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_000afc3c" identifier = identifier) ;) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_000afc3c" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_000afc3c" * (cast_expression "(char **)PTR___stack_chk_guard_000afc3c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_000afe90)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000afe90)()" (parenthesized_expression "(*(code *)PTR___errno_location_000afe90)" ( (pointer_expression "*(code *)PTR___errno_location_000afe90" * (cast_expression "(code *)PTR___errno_location_000afe90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0)" identifier = (call_expression "(*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0)" (parenthesized_expression "(*(code *)PTR___xstat64_000afddc)" ( (pointer_expression "*(code *)PTR___xstat64_000afddc" * (cast_expression "(code *)PTR___xstat64_000afddc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,local_c0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" if (parenthesized_expression "(((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))))))" ( (binary_expression "((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))" (parenthesized_expression "((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000))" ( (binary_expression "(iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "((local_a8 & 0xf000) == 0x8000)" ( (binary_expression "(local_a8 & 0xf000) == 0x8000" (parenthesized_expression "(local_a8 & 0xf000)" ( (binary_expression "local_a8 & 0xf000" identifier & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))" ( (parenthesized_expression "(((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))))" ( (binary_expression "((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))" (parenthesized_expression "((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0))" ( (binary_expression "(local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)" (binary_expression "(local_a8 & 0x100) != 0" (parenthesized_expression "(local_a8 & 0x100)" ( (binary_expression "local_a8 & 0x100" identifier & number_literal) )) != number_literal) && (parenthesized_expression "(iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)" ( (comma_expression "iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0" (assignment_expression "iVar2 = (*(code *)PTR_getuid_000afc2c)()" identifier = (call_expression "(*(code *)PTR_getuid_000afc2c)()" (parenthesized_expression "(*(code *)PTR_getuid_000afc2c)" ( (pointer_expression "*(code *)PTR_getuid_000afc2c" * (cast_expression "(code *)PTR_getuid_000afc2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar2 == local_a0" identifier == identifier)) ))) )) || (parenthesized_expression "((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))" ( (parenthesized_expression "(((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))" ( (binary_expression "((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)" (parenthesized_expression "((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0))" ( (binary_expression "(local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)" (binary_expression "(local_a8 & 0x20) != 0" (parenthesized_expression "(local_a8 & 0x20)" ( (binary_expression "local_a8 & 0x20" identifier & number_literal) )) != number_literal) && (parenthesized_expression "(iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c)" identifier = (call_expression "(*(code *)PTR_group_member_000afc80)(local_9c)" (parenthesized_expression "(*(code *)PTR_group_member_000afc80)" ( (pointer_expression "*(code *)PTR_group_member_000afc80" * (cast_expression "(code *)PTR_group_member_000afc80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_9c)" ( identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "((local_a8 & 4) != 0)" ( (binary_expression "(local_a8 & 4) != 0" (parenthesized_expression "(local_a8 & 4)" ( (binary_expression "local_a8 & 4" identifier & number_literal) )) != number_literal) ))) )) ))) )) ))) )) (compound_statement "{\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (if_statement "if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[3] = (int)local_ac;" (assignment_expression "param_2[3] = (int)local_ac" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(int)local_ac" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_2[2] = local_b0;" (assignment_expression "param_2[2] = local_b0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[5] = local_c0[0];" (assignment_expression "param_2[5] = local_c0[0]" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (subscript_expression "local_c0[0]" identifier [ number_literal ])) ;) (expression_statement "param_2[4] = 0;" (assignment_expression "param_2[4] = 0" (subscript_expression "param_2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1 = local_ac;" (assignment_expression "param_1 = local_ac" identifier = identifier) ;) })) }) (else_clause "else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" else (compound_statement "{\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" { (if_statement "if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }" { (if_statement "if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        *param_2 = 0xd;\n      }" { (expression_statement "*param_2 = 0xd;" (assignment_expression "*param_2 = 0xd" (pointer_expression "*param_2" * identifier) = number_literal) ;) }) (else_clause "else {\n        *param_2 = *piVar1;\n      }" else (compound_statement "{\n        *param_2 = *piVar1;\n      }" { (expression_statement "*param_2 = *piVar1;" (assignment_expression "*param_2 = *piVar1" (pointer_expression "*param_2" * identifier) = (pointer_expression "*piVar1" * identifier)) ;) }))) })) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) }))) (if_statement "if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }" if (parenthesized_expression "(local_1c == *(char **)puVar5)" ( (binary_expression "local_1c == *(char **)puVar5" identifier == (pointer_expression "*(char **)puVar5" * (cast_expression "(char **)puVar5" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return bVar3;\n  }" { (return_statement "return bVar3;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar5 = PTR___stack_chk_fail_000afbd4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" * (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = (int)*local_1c;" (assignment_expression "iVar2 = (int)*local_1c" identifier = (cast_expression "(int)*local_1c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*local_1c" * identifier))) ;) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0')" ( (binary_expression "*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0'" (pointer_expression "*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c)" * (cast_expression "(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x59ef4) + 0x5c)" ( (binary_expression "*(int *)(puVar5 + 0x59ef4) + 0x5c" (pointer_expression "*(int *)(puVar5 + 0x59ef4)" * (cast_expression "(int *)(puVar5 + 0x59ef4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x59ef4)" ( (binary_expression "puVar5 + 0x59ef4" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }" { (if_statement "if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }" { (if_statement "if (iVar4 == 0) {\n        return false;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (iVar4 != iVar2) {\n        return false;\n      }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (while_statement "while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }" { (expression_statement "local_1c = local_1c + 1;" (assignment_expression "local_1c = local_1c + 1" identifier = (binary_expression "local_1c + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*local_1c == 0) break;" if (parenthesized_expression "(*local_1c == 0)" ( (binary_expression "*local_1c == 0" (pointer_expression "*local_1c" * identifier) == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (iVar4 == 0) {\n          return false;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) (if_statement "if (*local_1c != iVar4) {\n          return false;\n        }" if (parenthesized_expression "(*local_1c != iVar4)" ( (binary_expression "*local_1c != iVar4" (pointer_expression "*local_1c" * identifier) != identifier) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) })) })) }) (else_clause "else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" else (compound_statement "{\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" { (while_statement "while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }" while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }" { (if_statement "if (iVar4 == 0) {\n        return false;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }" if (parenthesized_expression "(iVar2 - 0x41U < 0x1a)" ( (binary_expression "iVar2 - 0x41U < 0x1a" (binary_expression "iVar2 - 0x41U" identifier - number_literal) < number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 0x20;\n      }" { (expression_statement "iVar2 = iVar2 + 0x20;" (assignment_expression "iVar2 = iVar2 + 0x20" identifier = (binary_expression "iVar2 + 0x20" identifier + number_literal)) ;) })) (if_statement "if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }" if (parenthesized_expression "(iVar4 - 0x41U < 0x1a)" ( (binary_expression "iVar4 - 0x41U < 0x1a" (binary_expression "iVar4 - 0x41U" identifier - number_literal) < number_literal) )) (compound_statement "{\n        iVar4 = iVar4 + 0x20;\n      }" { (expression_statement "iVar4 = iVar4 + 0x20;" (assignment_expression "iVar4 = iVar4 + 0x20" identifier = (binary_expression "iVar4 + 0x20" identifier + number_literal)) ;) })) (if_statement "if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }" { (if_statement "if (*local_1c != '\0') {\n          return false;\n        }" if (parenthesized_expression "(*local_1c != '\0')" ( (binary_expression "*local_1c != '\0'" (pointer_expression "*local_1c" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (iVar4 == 0) {\n          return true;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return true;\n        }" { (return_statement "return true;" return true ;) })) (goto_statement "goto LAB_00055604;" goto statement_identifier ;) })) (expression_statement "local_1c = local_1c + 1;" (assignment_expression "local_1c = local_1c + 1" identifier = (binary_expression "local_1c + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)param_1[1];" (assignment_expression "iVar4 = (int)param_1[1]" identifier = (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (int)*local_1c;" (assignment_expression "iVar2 = (int)*local_1c" identifier = (cast_expression "(int)*local_1c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*local_1c" * identifier))) ;) })) }))) (if_statement "if (iVar4 == 0) {\n    return true;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (labeled_statement "LAB_00055604:\n  return iVar4 == 0x2f;" statement_identifier : (return_statement "return iVar4 == 0x2f;" return (binary_expression "iVar4 == 0x2f" identifier == number_literal) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (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 (pointer_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 , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) , (binary_expression IDENT == IDENT)) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) }))) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (return_statement return BOOL ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) )) (compound_statement { (return_statement return BOOL ;) })) })) })) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (labeled_statement statement_identifier : (return_statement return (binary_expression IDENT == LIT) ;)) })))
(function_definition "bool FUN_00055430(char *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}" (primitive_type "bool") (function_declarator "FUN_00055430(char *param_1,int *param_2)" (identifier "FUN_00055430") (parameter_list "(char *param_1,int *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int iVar4;\n  undefined *puVar5;\n  int local_c0 [4];\n  int local_b0;\n  char *local_ac;\n  uint local_a8;\n  int local_a0;\n  undefined4 local_9c;\n  char *local_1c;\n  \n  puVar5 = PTR___stack_chk_guard_000afc3c;\n  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;\n  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();\n  *piVar1 = 0;\n  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);\n  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }\n  if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar2 = (int)*local_1c;\n  iVar4 = (int)*param_1;\n  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }\n  if (iVar4 == 0) {\n    return true;\n  }\nLAB_00055604:\n  return iVar4 == 0x2f;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int local_c0 [4];" (primitive_type "int") (array_declarator "local_c0 [4]" (identifier "local_c0") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_b0;" (primitive_type "int") (identifier "local_b0") (; ";")) (declaration "char *local_ac;" (primitive_type "char") (pointer_declarator "*local_ac" (* "*") (identifier "local_ac")) (; ";")) (declaration "uint local_a8;" (type_identifier "uint") (identifier "local_a8") (; ";")) (declaration "int local_a0;" (primitive_type "int") (identifier "local_a0") (; ";")) (declaration "undefined4 local_9c;" (type_identifier "undefined4") (identifier "local_9c") (; ";")) (declaration "char *local_1c;" (primitive_type "char") (pointer_declarator "*local_1c" (* "*") (identifier "local_1c")) (; ";")) (expression_statement "puVar5 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_000afc3c" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_guard_000afc3c")) (; ";")) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_000afc3c" (identifier "local_1c") (= "=") (pointer_expression "*(char **)PTR___stack_chk_guard_000afc3c" (* "*") (cast_expression "(char **)PTR___stack_chk_guard_000afc3c" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000afc3c")))) (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_000afe90)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_000afe90)()" (parenthesized_expression "(*(code *)PTR___errno_location_000afe90)" (( "(") (pointer_expression "*(code *)PTR___errno_location_000afe90" (* "*") (cast_expression "(code *)PTR___errno_location_000afe90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_000afe90"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0)" (parenthesized_expression "(*(code *)PTR___xstat64_000afddc)" (( "(") (pointer_expression "*(code *)PTR___xstat64_000afddc" (* "*") (cast_expression "(code *)PTR___xstat64_000afddc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_000afddc"))) () ")")) (argument_list "(3,param_1,local_c0)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "local_c0") () ")")))) (; ";")) (if_statement "if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))) {\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }\n  else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" (if "if") (parenthesized_expression "(((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))))))" (( "(") (binary_expression "((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&\n     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))" (parenthesized_expression "((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000))" (( "(") (binary_expression "(iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((local_a8 & 0xf000) == 0x8000)" (( "(") (binary_expression "(local_a8 & 0xf000) == 0x8000" (parenthesized_expression "(local_a8 & 0xf000)" (( "(") (binary_expression "local_a8 & 0xf000" (identifier "local_a8") (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x8000")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))))" (( "(") (parenthesized_expression "(((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))))" (( "(") (binary_expression "((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||\n      ((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))" (parenthesized_expression "((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0))" (( "(") (binary_expression "(local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)" (binary_expression "(local_a8 & 0x100) != 0" (parenthesized_expression "(local_a8 & 0x100)" (( "(") (binary_expression "local_a8 & 0x100" (identifier "local_a8") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0" (assignment_expression "iVar2 = (*(code *)PTR_getuid_000afc2c)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getuid_000afc2c)()" (parenthesized_expression "(*(code *)PTR_getuid_000afc2c)" (( "(") (pointer_expression "*(code *)PTR_getuid_000afc2c" (* "*") (cast_expression "(code *)PTR_getuid_000afc2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getuid_000afc2c"))) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == local_a0" (identifier "iVar2") (== "==") (identifier "local_a0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)))" (( "(") (parenthesized_expression "(((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0))" (( "(") (binary_expression "((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||\n       ((local_a8 & 4) != 0)" (parenthesized_expression "((local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0))" (( "(") (binary_expression "(local_a8 & 0x20) != 0 &&\n        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)" (binary_expression "(local_a8 & 0x20) != 0" (parenthesized_expression "(local_a8 & 0x20)" (( "(") (binary_expression "local_a8 & 0x20" (identifier "local_a8") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_group_member_000afc80)(local_9c)" (parenthesized_expression "(*(code *)PTR_group_member_000afc80)" (( "(") (pointer_expression "*(code *)PTR_group_member_000afc80" (* "*") (cast_expression "(code *)PTR_group_member_000afc80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_group_member_000afc80"))) () ")")) (argument_list "(local_9c)" (( "(") (identifier "local_9c") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((local_a8 & 4) != 0)" (( "(") (binary_expression "(local_a8 & 4) != 0" (parenthesized_expression "(local_a8 & 4)" (( "(") (binary_expression "local_a8 & 4" (identifier "local_a8") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    bVar3 = true;\n    if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }\n  }" ({ "{") (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_2 = 0;\n      param_2[3] = (int)local_ac;\n      param_2[2] = local_b0;\n      param_2[5] = local_c0[0];\n      param_2[4] = 0;\n      param_1 = local_ac;\n    }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[3] = (int)local_ac;" (assignment_expression "param_2[3] = (int)local_ac" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)local_ac" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_ac"))) (; ";")) (expression_statement "param_2[2] = local_b0;" (assignment_expression "param_2[2] = local_b0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_b0")) (; ";")) (expression_statement "param_2[5] = local_c0[0];" (assignment_expression "param_2[5] = local_c0[0]" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "local_c0[0]" (identifier "local_c0") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "param_2[4] = 0;" (assignment_expression "param_2[4] = 0" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = local_ac;" (assignment_expression "param_1 = local_ac" (identifier "param_1") (= "=") (identifier "local_ac")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" (else "else") (compound_statement "{\n    if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }\n    bVar3 = false;\n    *piVar1 = 0;\n  }" ({ "{") (if_statement "if (param_2 != (int *)0x0) {\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }\n    }" ({ "{") (if_statement "if (*piVar1 == 0) {\n        *param_2 = 0xd;\n      }\n      else {\n        *param_2 = *piVar1;\n      }" (if "if") (parenthesized_expression "(*piVar1 == 0)" (( "(") (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *param_2 = 0xd;\n      }" ({ "{") (expression_statement "*param_2 = 0xd;" (assignment_expression "*param_2 = 0xd" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0xd")) (; ";")) (} "}")) (else_clause "else {\n        *param_2 = *piVar1;\n      }" (else "else") (compound_statement "{\n        *param_2 = *piVar1;\n      }" ({ "{") (expression_statement "*param_2 = *piVar1;" (assignment_expression "*param_2 = *piVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (local_1c == *(char **)puVar5) {\n    return bVar3;\n  }" (if "if") (parenthesized_expression "(local_1c == *(char **)puVar5)" (( "(") (binary_expression "local_1c == *(char **)puVar5" (identifier "local_1c") (== "==") (pointer_expression "*(char **)puVar5" (* "*") (cast_expression "(char **)puVar5" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar5")))) () ")")) (compound_statement "{\n    return bVar3;\n  }" ({ "{") (return_statement "return bVar3;" (return "return") (identifier "bVar3") (; ";")) (} "}"))) (expression_statement "puVar5 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar5 = PTR___stack_chk_fail_000afbd4" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_fail_000afbd4")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000afbd4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = (int)*local_1c;" (assignment_expression "iVar2 = (int)*local_1c" (identifier "iVar2") (= "=") (cast_expression "(int)*local_1c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*local_1c" (* "*") (identifier "local_1c")))) (; ";")) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" (identifier "iVar4") (= "=") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }\n  else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0')" (( "(") (binary_expression "*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0'" (pointer_expression "*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c)" (* "*") (cast_expression "(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar5 + 0x59ef4) + 0x5c)" (( "(") (binary_expression "*(int *)(puVar5 + 0x59ef4) + 0x5c" (pointer_expression "*(int *)(puVar5 + 0x59ef4)" (* "*") (cast_expression "(int *)(puVar5 + 0x59ef4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x59ef4)" (( "(") (binary_expression "puVar5 + 0x59ef4" (identifier "puVar5") (+ "+") (number_literal "0x59ef4")) () ")")))) (+ "+") (number_literal "0x5c")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }\n  }" ({ "{") (if_statement "if (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar4 != iVar2) {\n        return false;\n      }\n      while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }\n    }" ({ "{") (if_statement "if (iVar4 == 0) {\n        return false;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return false;\n      }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (iVar4 != iVar2) {\n        return false;\n      }" (if "if") (parenthesized_expression "(iVar4 != iVar2)" (( "(") (binary_expression "iVar4 != iVar2" (identifier "iVar4") (!= "!=") (identifier "iVar2")) () ")")) (compound_statement "{\n        return false;\n      }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (while_statement "while( true ) {\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        local_1c = local_1c + 1;\n        param_1 = param_1 + 1;\n        iVar4 = (int)*param_1;\n        if (*local_1c == 0) break;\n        if (iVar4 == 0) {\n          return false;\n        }\n        if (*local_1c != iVar4) {\n          return false;\n        }\n      }" ({ "{") (expression_statement "local_1c = local_1c + 1;" (assignment_expression "local_1c = local_1c + 1" (identifier "local_1c") (= "=") (binary_expression "local_1c + 1" (identifier "local_1c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" (identifier "iVar4") (= "=") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (*local_1c == 0) break;" (if "if") (parenthesized_expression "(*local_1c == 0)" (( "(") (binary_expression "*local_1c == 0" (pointer_expression "*local_1c" (* "*") (identifier "local_1c")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (iVar4 == 0) {\n          return false;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return false;\n        }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (*local_1c != iVar4) {\n          return false;\n        }" (if "if") (parenthesized_expression "(*local_1c != iVar4)" (( "(") (binary_expression "*local_1c != iVar4" (pointer_expression "*local_1c" (* "*") (identifier "local_1c")) (!= "!=") (identifier "iVar4")) () ")")) (compound_statement "{\n          return false;\n        }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" (else "else") (compound_statement "{\n    while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }\n  }" ({ "{") (while_statement "while (iVar2 != 0) {\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }" (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar4 == 0) {\n        return false;\n      }\n      if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }\n      if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }\n      if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }\n      local_1c = local_1c + 1;\n      iVar4 = (int)param_1[1];\n      param_1 = param_1 + 1;\n      iVar2 = (int)*local_1c;\n    }" ({ "{") (if_statement "if (iVar4 == 0) {\n        return false;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return false;\n      }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (iVar2 - 0x41U < 0x1a) {\n        iVar2 = iVar2 + 0x20;\n      }" (if "if") (parenthesized_expression "(iVar2 - 0x41U < 0x1a)" (( "(") (binary_expression "iVar2 - 0x41U < 0x1a" (binary_expression "iVar2 - 0x41U" (identifier "iVar2") (- "-") (number_literal "0x41U")) (< "<") (number_literal "0x1a")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 0x20;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 0x20;" (assignment_expression "iVar2 = iVar2 + 0x20" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20"))) (; ";")) (} "}"))) (if_statement "if (iVar4 - 0x41U < 0x1a) {\n        iVar4 = iVar4 + 0x20;\n      }" (if "if") (parenthesized_expression "(iVar4 - 0x41U < 0x1a)" (( "(") (binary_expression "iVar4 - 0x41U < 0x1a" (binary_expression "iVar4 - 0x41U" (identifier "iVar4") (- "-") (number_literal "0x41U")) (< "<") (number_literal "0x1a")) () ")")) (compound_statement "{\n        iVar4 = iVar4 + 0x20;\n      }" ({ "{") (expression_statement "iVar4 = iVar4 + 0x20;" (assignment_expression "iVar4 = iVar4 + 0x20" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20"))) (; ";")) (} "}"))) (if_statement "if (iVar4 != iVar2) {\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }" (if "if") (parenthesized_expression "(iVar4 != iVar2)" (( "(") (binary_expression "iVar4 != iVar2" (identifier "iVar4") (!= "!=") (identifier "iVar2")) () ")")) (compound_statement "{\n        if (*local_1c != '\0') {\n          return false;\n        }\n        iVar4 = (int)*param_1;\n        if (iVar4 == 0) {\n          return true;\n        }\n        goto LAB_00055604;\n      }" ({ "{") (if_statement "if (*local_1c != '\0') {\n          return false;\n        }" (if "if") (parenthesized_expression "(*local_1c != '\0')" (( "(") (binary_expression "*local_1c != '\0'" (pointer_expression "*local_1c" (* "*") (identifier "local_1c")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          return false;\n        }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "iVar4 = (int)*param_1;" (assignment_expression "iVar4 = (int)*param_1" (identifier "iVar4") (= "=") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          return true;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return true;\n        }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (goto_statement "goto LAB_00055604;" (goto "goto") (statement_identifier "LAB_00055604") (; ";")) (} "}"))) (expression_statement "local_1c = local_1c + 1;" (assignment_expression "local_1c = local_1c + 1" (identifier "local_1c") (= "=") (binary_expression "local_1c + 1" (identifier "local_1c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = (int)param_1[1];" (assignment_expression "iVar4 = (int)param_1[1]" (identifier "iVar4") (= "=") (cast_expression "(int)param_1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = (int)*local_1c;" (assignment_expression "iVar2 = (int)*local_1c" (identifier "iVar2") (= "=") (cast_expression "(int)*local_1c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*local_1c" (* "*") (identifier "local_1c")))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (iVar4 == 0) {\n    return true;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (labeled_statement "LAB_00055604:\n  return iVar4 == 0x2f;" (statement_identifier "LAB_00055604") (: ":") (return_statement "return iVar4 == 0x2f;" (return "return") (binary_expression "iVar4 == 0x2f" (identifier "iVar4") (== "==") (number_literal "0x2f")) (; ";"))) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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 declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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: (pointer_expression argument: (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) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (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))) right: (binary_expression left: (identifier) right: (identifier)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (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 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (false)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (return_statement (false))))))))) alternative: (else_clause (compound_statement (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (false)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (labeled_statement label: (statement_identifier) (return_statement (binary_expression left: (identifier) right: (number_literal)))))))

bool MASKED(char *param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  bool bVar3;
  int iVar4;
  undefined *puVar5;
  int local_c0 [4];
  int local_b0;
  char *local_ac;
  uint local_a8;
  int local_a0;
  undefined4 local_9c;
  char *local_1c;
  
  puVar5 = PTR___stack_chk_guard_000afc3c;
  local_1c = *(char **)PTR___stack_chk_guard_000afc3c;
  piVar1 = (int *)(*(code *)PTR___errno_location_000afe90)();
  *piVar1 = 0;
  iVar2 = (*(code *)PTR___xstat64_000afddc)(3,param_1,local_c0);
  if (((iVar2 == 0) && ((local_a8 & 0xf000) == 0x8000)) &&
     ((((local_a8 & 0x100) != 0 && (iVar2 = (*(code *)PTR_getuid_000afc2c)(), iVar2 == local_a0)) ||
      ((((local_a8 & 0x20) != 0 &&
        (iVar2 = (*(code *)PTR_group_member_000afc80)(local_9c), iVar2 != 0)) ||
       ((local_a8 & 4) != 0)))))) {
    bVar3 = true;
    if (param_2 != (int *)0x0) {
      *param_2 = 0;
      param_2[3] = (int)local_ac;
      param_2[2] = local_b0;
      param_2[5] = local_c0[0];
      param_2[4] = 0;
      param_1 = local_ac;
    }
  }
  else {
    if (param_2 != (int *)0x0) {
      if (*piVar1 == 0) {
        *param_2 = 0xd;
      }
      else {
        *param_2 = *piVar1;
      }
    }
    bVar3 = false;
    *piVar1 = 0;
  }
  if (local_1c == *(char **)puVar5) {
    return bVar3;
  }
  puVar5 = PTR___stack_chk_fail_000afbd4;
  (*(code *)PTR___stack_chk_fail_000afbd4)();
  iVar2 = (int)*local_1c;
  iVar4 = (int)*param_1;
  if (*(char *)(*(int *)(puVar5 + 0x59ef4) + 0x5c) == '\0') {
    if (iVar2 != 0) {
      if (iVar4 == 0) {
        return false;
      }
      if (iVar4 != iVar2) {
        return false;
      }
      while( true ) {
        local_1c = local_1c + 1;
        param_1 = param_1 + 1;
        iVar4 = (int)*param_1;
        if (*local_1c == 0) break;
        if (iVar4 == 0) {
          return false;
        }
        if (*local_1c != iVar4) {
          return false;
        }
      }
    }
  }
  else {
    while (iVar2 != 0) {
      if (iVar4 == 0) {
        return false;
      }
      if (iVar2 - 0x41U < 0x1a) {
        iVar2 = iVar2 + 0x20;
      }
      if (iVar4 - 0x41U < 0x1a) {
        iVar4 = iVar4 + 0x20;
      }
      if (iVar4 != iVar2) {
        if (*local_1c != '\0') {
          return false;
        }
        iVar4 = (int)*param_1;
        if (iVar4 == 0) {
          return true;
        }
        goto LAB_00055604;
      }
      local_1c = local_1c + 1;
      iVar4 = (int)param_1[1];
      param_1 = param_1 + 1;
      iVar2 = (int)*local_1c;
    }
  }
  if (iVar4 == 0) {
    return true;
  }
LAB_00055604:
  return iVar4 == 0x2f;
}

