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

_Bool parse_perm(parser_table *entry,char **argv,int *arg_ptr)

{
  int iVar1;
  _Bool _Var2;
  char *mode_string;
  mode_change *changes;
  mode_change *pmVar3;
  mode_t mVar4;
  mode_t mVar5;
  predicate *ppVar6;
  undefined4 uVar7;
  char *pcVar8;
  int in_GS_OFFSET;
  float local_34;
  comparison_type local_30;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (argv != (char **)0x0) {
    pcVar8 = argv[*arg_ptr];
    if (pcVar8 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      if (*pcVar8 == '-') {
        local_34 = DAT_00052af4;
        mode_string = pcVar8 + 1;
        local_30 = COMP_GT;
      }
      else if (*pcVar8 == '/') {
        local_34 = DAT_00052b30;
        mode_string = pcVar8 + 1;
        local_30 = COMP_LT;
      }
      else {
        local_34 = DAT_00052afc;
        local_30 = COMP_EQ;
        mode_string = pcVar8;
      }
      changes = mode_compile(mode_string);
      pmVar3 = changes;
      if ((changes == (mode_change *)0x0) ||
         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))
      {
        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);
        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar7,pcVar8);
      }
      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);
      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);
      free(changes);
      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {
        uVar7 = dcgettext(0,
                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."
                          ,5);
                    /* WARNING: Subroutine does not return */
        error(0,0,uVar7,pcVar8);
      }
      ppVar6 = insert_primary(entry,pcVar8);
      (ppVar6->args).numinfo.kind = local_30;
      ppVar6->est_success_rate = local_34;
      (ppVar6->args).perm.val[0] = mVar4;
      (ppVar6->args).perm.val[1] = mVar5;
      _Var2 = true;
      goto LAB_0001f59b;
    }
  }
  _Var2 = false;
LAB_0001f59b:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return _Var2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined4 FUN_0001f490(undefined4 param_1,int param_2,int *param_3)

{
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  void *__ptr;
  void *pvVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int in_GS_OFFSET;
  undefined4 local_34;
  undefined4 local_30;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_2 != 0) {
    pcVar2 = *(char **)(param_2 + *param_3 * 4);
    if (pcVar2 != (char *)0x0) {
      *param_3 = *param_3 + 1;
      if (*pcVar2 == '-') {
        local_34 = DAT_00052af4;
        pcVar3 = pcVar2 + 1;
        local_30 = 0;
      }
      else if (*pcVar2 == '/') {
        local_34 = DAT_00052b30;
        pcVar3 = pcVar2 + 1;
        local_30 = 1;
      }
      else {
        local_34 = DAT_00052afc;
        local_30 = 2;
        pcVar3 = pcVar2;
      }
      __ptr = (void *)FUN_00029510(pcVar3);
      pvVar4 = __ptr;
      if ((__ptr == (void *)0x0) ||
         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {
        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);
        uVar9 = dcgettext(0,"invalid mode %s",5);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar9,uVar8);
      }
      iVar5 = FUN_00029970(0,0,0,__ptr,0);
      iVar6 = FUN_00029970(0,1,0,__ptr,0);
      free(__ptr);
      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {
        uVar8 = dcgettext(0,
                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."
                          ,5);
                    /* WARNING: Subroutine does not return */
        error(0,0,uVar8,pcVar2);
      }
      iVar7 = FUN_0001a5f0(param_1,pcVar2);
      *(undefined4 *)(iVar7 + 0x28) = local_30;
      *(undefined4 *)(iVar7 + 0x1c) = local_34;
      *(int *)(iVar7 + 0x2c) = iVar5;
      *(int *)(iVar7 + 0x30) = iVar6;
      uVar8 = 1;
      goto LAB_0001f59b;
    }
  }
  uVar8 = 0;
LAB_0001f59b:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar8;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0004e0c0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x4b84f
SUB ESP,0x2c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
MOV EDX,dword ptr [ESP + 0x44]
MOV EBP,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x48]
TEST EDX,EDX
JZ 0x0001f5f8
MOV EAX,dword ptr [ECX]
MOV ESI,dword ptr [EDX + EAX*0x4]
TEST ESI,ESI
JZ 0x0001f5f8
ADD EAX,0x1
MOV dword ptr [ECX],EAX
MOVZX EAX,byte ptr [ESI]
CMP AL,0x2d
JZ 0x0001f5d8
CMP AL,0x2f
JZ 0x0001f5b8
FLD dword ptr [EBX + 0xfffe7e14]
MOV dword ptr [ESP + 0xc],0x2
MOV EAX,ESI
FSTP dword ptr [ESP + 0x8]
SUB ESP,0xc
PUSH EAX
CALL 0x00029510
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x0001f63d
CMP byte ptr [ESI],0x2b
JNZ 0x0001f525
MOVZX EAX,byte ptr [ESI + 0x1]
SUB EAX,0x30
CMP AL,0x7
JBE 0x0001f63d
SUB ESP,0xc
PUSH 0x0
PUSH EDI
PUSH 0x0
PUSH 0x0
PUSH 0x0
CALL 0x00029970
MOV dword ptr [ESP + 0x20],EAX
ADD ESP,0x14
PUSH 0x0
PUSH EDI
PUSH 0x0
PUSH 0x1
PUSH 0x0
CALL 0x00029970
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x14
PUSH EDI
CALL 0x00014190
ADD ESP,0x10
CMP byte ptr [ESI],0x2f
JNZ 0x0001f56d
MOV ECX,dword ptr [ESP]
OR ECX,dword ptr [ESP + 0x4]
JZ 0x0001f600
SUB ESP,0x8
PUSH ESI
PUSH EBP
CALL 0x0001a5f0
FLD dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x14]
ADD ESP,0x10
MOV dword ptr [EAX + 0x28],EDX
FSTP dword ptr [EAX + 0x1c]
MOV dword ptr [EAX + 0x2c],ECX
MOV dword ptr [EAX + 0x30],EDI
MOV EAX,0x1
MOV EDX,dword ptr [ESP + 0x1c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x0001f638
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
FLD dword ptr [EBX + 0xfffe7e48]
LEA EAX,[ESI + 0x1]
MOV dword ptr [ESP + 0xc],0x1
FSTP dword ptr [ESP + 0x8]
JMP 0x0001f4fb
FLD dword ptr [EBX + 0xfffe7e0c]
LEA EAX,[ESI + 0x1]
MOV dword ptr [ESP + 0xc],0x0
FSTP dword ptr [ESP + 0x8]
JMP 0x0001f4fb
XOR EAX,EAX
JMP 0x0001f59b
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe7188]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142c0
PUSH ESI
PUSH EAX
PUSH 0x0
PUSH 0x0
CALL 0x000144a0
CALL 0x0004e0c0
PUSH EAX
LEA EAX,[EBX + 0x1218]
PUSH ESI
PUSH dword ptr [EAX + 0x48]
PUSH 0x0
CALL 0x000324c0
ADD ESP,0xc
MOV ESI,EAX
LEA EAX,[EBX + 0xfffe6d1a]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142c0
PUSH ESI
PUSH EAX
PUSH 0x0
PUSH 0x1
CALL 0x000144a0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001f490(undefined4 param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0004e0c0();\n}\n\n" comment (function_definition "undefined4 FUN_0001f490(undefined4 param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0004e0c0();\n}" type_identifier (function_declarator "FUN_0001f490(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0004e0c0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }" { (expression_statement "pcVar2 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "pcVar2 = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (if_statement "if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" if (parenthesized_expression "(*pcVar2 == '-')" ( (binary_expression "*pcVar2 == '-'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }" { (expression_statement "local_34 = DAT_00052af4;" (assignment_expression "local_34 = DAT_00052af4" identifier = identifier) ;) (expression_statement "pcVar3 = pcVar2 + 1;" (assignment_expression "pcVar3 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) }) (else_clause "else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" else (if_statement "if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" if (parenthesized_expression "(*pcVar2 == '/')" ( (binary_expression "*pcVar2 == '/'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }" { (expression_statement "local_34 = DAT_00052b30;" (assignment_expression "local_34 = DAT_00052b30" identifier = identifier) ;) (expression_statement "pcVar3 = pcVar2 + 1;" (assignment_expression "pcVar3 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" else (compound_statement "{\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" { (expression_statement "local_34 = DAT_00052afc;" (assignment_expression "local_34 = DAT_00052afc" identifier = identifier) ;) (expression_statement "local_30 = 2;" (assignment_expression "local_30 = 2" identifier = number_literal) ;) (expression_statement "pcVar3 = pcVar2;" (assignment_expression "pcVar3 = pcVar2" identifier = identifier) ;) }))))) (expression_statement "__ptr = (void *)FUN_00029510(pcVar3);" (assignment_expression "__ptr = (void *)FUN_00029510(pcVar3)" identifier = (cast_expression "(void *)FUN_00029510(pcVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029510(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))))) ;) (expression_statement "pvVar4 = __ptr;" (assignment_expression "pvVar4 = __ptr" identifier = identifier) ;) (if_statement "if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }" if (parenthesized_expression "((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8))))" ( (binary_expression "(__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))" (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))" ( (parenthesized_expression "(*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8))" ( (binary_expression "*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)" (binary_expression "*pcVar2 == '+'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'+'" ' character ')) && (parenthesized_expression "(pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)" ( (comma_expression "pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8" (assignment_expression "pvVar4 = (void *)((byte)pcVar2[1] - 0x30)" identifier = (cast_expression "(void *)((byte)pcVar2[1] - 0x30)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte)pcVar2[1] - 0x30)" ( (binary_expression "(byte)pcVar2[1] - 0x30" (cast_expression "(byte)pcVar2[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[1]" identifier [ number_literal ])) - number_literal) )))) , (binary_expression "(byte)pvVar4 < 8" (cast_expression "(byte)pvVar4" ( (type_descriptor "byte" type_identifier) ) identifier) < number_literal)) ))) )) ))) )) (compound_statement "{\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar9,uVar8);\n      }" { (expression_statement "uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);" (assignment_expression "uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4)" identifier = (call_expression "FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4)" identifier (argument_list "(0,DAT_0006bf48,pcVar2,pvVar4)" ( number_literal , identifier , identifier , identifier )))) ;) (expression_statement "uVar9 = dcgettext(0,"invalid mode %s",5);" (assignment_expression "uVar9 = dcgettext(0,"invalid mode %s",5)" identifier = (call_expression "dcgettext(0,"invalid mode %s",5)" identifier (argument_list "(0,"invalid mode %s",5)" ( number_literal , (string_literal ""invalid mode %s"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(1,0,uVar9,uVar8);" (call_expression "error(1,0,uVar9,uVar8)" identifier (argument_list "(1,0,uVar9,uVar8)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar5 = FUN_00029970(0,0,0,__ptr,0);" (assignment_expression "iVar5 = FUN_00029970(0,0,0,__ptr,0)" identifier = (call_expression "FUN_00029970(0,0,0,__ptr,0)" identifier (argument_list "(0,0,0,__ptr,0)" ( number_literal , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar6 = FUN_00029970(0,1,0,__ptr,0);" (assignment_expression "iVar6 = FUN_00029970(0,1,0,__ptr,0)" identifier = (call_expression "FUN_00029970(0,1,0,__ptr,0)" identifier (argument_list "(0,1,0,__ptr,0)" ( number_literal , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }" if (parenthesized_expression "((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0))" ( (binary_expression "(*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)" (parenthesized_expression "(*pcVar2 == '/')" ( (binary_expression "*pcVar2 == '/'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(iVar5 == 0 && iVar6 == 0)" ( (binary_expression "iVar5 == 0 && iVar6 == 0" (binary_expression "iVar5 == 0" identifier == number_literal) && (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar8,pcVar2);\n      }" { (expression_statement "uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);" (assignment_expression "uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" identifier = (call_expression "dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" identifier (argument_list "(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" ( number_literal , (string_literal ""warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."" " string_content ") , number_literal )))) ;) comment (expression_statement "error(0,0,uVar8,pcVar2);" (call_expression "error(0,0,uVar8,pcVar2)" identifier (argument_list "(0,0,uVar8,pcVar2)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar7 = FUN_0001a5f0(param_1,pcVar2);" (assignment_expression "iVar7 = FUN_0001a5f0(param_1,pcVar2)" identifier = (call_expression "FUN_0001a5f0(param_1,pcVar2)" identifier (argument_list "(param_1,pcVar2)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x28) = local_30;" (assignment_expression "*(undefined4 *)(iVar7 + 0x28) = local_30" (pointer_expression "*(undefined4 *)(iVar7 + 0x28)" * (cast_expression "(undefined4 *)(iVar7 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x28)" ( (binary_expression "iVar7 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x1c) = local_34;" (assignment_expression "*(undefined4 *)(iVar7 + 0x1c) = local_34" (pointer_expression "*(undefined4 *)(iVar7 + 0x1c)" * (cast_expression "(undefined4 *)(iVar7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x1c)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x2c) = iVar5;" (assignment_expression "*(int *)(iVar7 + 0x2c) = iVar5" (pointer_expression "*(int *)(iVar7 + 0x2c)" * (cast_expression "(int *)(iVar7 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x2c)" ( (binary_expression "iVar7 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x30) = iVar6;" (assignment_expression "*(int *)(iVar7 + 0x30) = iVar6" (pointer_expression "*(int *)(iVar7 + 0x30)" * (cast_expression "(int *)(iVar7 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0001f59b;" goto statement_identifier ;) })) })) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) }))) comment (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_Bool parse_perm(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  int iVar1;\n  _Bool _Var2;\n  char *mode_string;\n  mode_change *changes;\n  mode_change *pmVar3;\n  mode_t mVar4;\n  mode_t mVar5;\n  predicate *ppVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  float local_34;\n  comparison_type local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (argv != (char **)0x0) {\n    pcVar8 = argv[*arg_ptr];\n    if (pcVar8 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }\n  }\n  _Var2 = false;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return _Var2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "_Bool parse_perm(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  int iVar1;\n  _Bool _Var2;\n  char *mode_string;\n  mode_change *changes;\n  mode_change *pmVar3;\n  mode_t mVar4;\n  mode_t mVar5;\n  predicate *ppVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  float local_34;\n  comparison_type local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (argv != (char **)0x0) {\n    pcVar8 = argv[*arg_ptr];\n    if (pcVar8 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }\n  }\n  _Var2 = false;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return _Var2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (function_declarator "parse_perm(parser_table *entry,char **argv,int *arg_ptr)" identifier (parameter_list "(parser_table *entry,char **argv,int *arg_ptr)" ( (parameter_declaration "parser_table *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "int *arg_ptr" primitive_type (pointer_declarator "*arg_ptr" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  _Bool _Var2;\n  char *mode_string;\n  mode_change *changes;\n  mode_change *pmVar3;\n  mode_t mVar4;\n  mode_t mVar5;\n  predicate *ppVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  float local_34;\n  comparison_type local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (argv != (char **)0x0) {\n    pcVar8 = argv[*arg_ptr];\n    if (pcVar8 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }\n  }\n  _Var2 = false;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return _Var2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "char *mode_string;" primitive_type (pointer_declarator "*mode_string" * identifier) ;) (declaration "mode_change *changes;" type_identifier (pointer_declarator "*changes" * identifier) ;) (declaration "mode_change *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "mode_t mVar4;" type_identifier identifier ;) (declaration "mode_t mVar5;" type_identifier identifier ;) (declaration "predicate *ppVar6;" type_identifier (pointer_declarator "*ppVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "float local_34;" primitive_type identifier ;) (declaration "comparison_type local_30;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (argv != (char **)0x0) {\n    pcVar8 = argv[*arg_ptr];\n    if (pcVar8 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }\n  }" if (parenthesized_expression "(argv != (char **)0x0)" ( (binary_expression "argv != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    pcVar8 = argv[*arg_ptr];\n    if (pcVar8 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }\n  }" { (expression_statement "pcVar8 = argv[*arg_ptr];" (assignment_expression "pcVar8 = argv[*arg_ptr]" identifier = (subscript_expression "argv[*arg_ptr]" identifier [ (pointer_expression "*arg_ptr" * identifier) ])) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *arg_ptr = *arg_ptr + 1;\n      if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }\n      changes = mode_compile(mode_string);\n      pmVar3 = changes;\n      if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }\n      mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);\n      mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);\n      free(changes);\n      if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }\n      ppVar6 = insert_primary(entry,pcVar8);\n      (ppVar6->args).numinfo.kind = local_30;\n      ppVar6->est_success_rate = local_34;\n      (ppVar6->args).perm.val[0] = mVar4;\n      (ppVar6->args).perm.val[1] = mVar5;\n      _Var2 = true;\n      goto LAB_0001f59b;\n    }" { (expression_statement "*arg_ptr = *arg_ptr + 1;" (assignment_expression "*arg_ptr = *arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) = (binary_expression "*arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) + number_literal)) ;) (if_statement "if (*pcVar8 == '-') {\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }\n      else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }" if (parenthesized_expression "(*pcVar8 == '-')" ( (binary_expression "*pcVar8 == '-'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        local_34 = DAT_00052af4;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_GT;\n      }" { (expression_statement "local_34 = DAT_00052af4;" (assignment_expression "local_34 = DAT_00052af4" identifier = identifier) ;) (expression_statement "mode_string = pcVar8 + 1;" (assignment_expression "mode_string = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_30 = COMP_GT;" (assignment_expression "local_30 = COMP_GT" identifier = identifier) ;) }) (else_clause "else if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }" else (if_statement "if (*pcVar8 == '/') {\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }" if (parenthesized_expression "(*pcVar8 == '/')" ( (binary_expression "*pcVar8 == '/'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n        local_34 = DAT_00052b30;\n        mode_string = pcVar8 + 1;\n        local_30 = COMP_LT;\n      }" { (expression_statement "local_34 = DAT_00052b30;" (assignment_expression "local_34 = DAT_00052b30" identifier = identifier) ;) (expression_statement "mode_string = pcVar8 + 1;" (assignment_expression "mode_string = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_30 = COMP_LT;" (assignment_expression "local_30 = COMP_LT" identifier = identifier) ;) }) (else_clause "else {\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }" else (compound_statement "{\n        local_34 = DAT_00052afc;\n        local_30 = COMP_EQ;\n        mode_string = pcVar8;\n      }" { (expression_statement "local_34 = DAT_00052afc;" (assignment_expression "local_34 = DAT_00052afc" identifier = identifier) ;) (expression_statement "local_30 = COMP_EQ;" (assignment_expression "local_30 = COMP_EQ" identifier = identifier) ;) (expression_statement "mode_string = pcVar8;" (assignment_expression "mode_string = pcVar8" identifier = identifier) ;) }))))) (expression_statement "changes = mode_compile(mode_string);" (assignment_expression "changes = mode_compile(mode_string)" identifier = (call_expression "mode_compile(mode_string)" identifier (argument_list "(mode_string)" ( identifier )))) ;) (expression_statement "pmVar3 = changes;" (assignment_expression "pmVar3 = changes" identifier = identifier) ;) (if_statement "if ((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))\n      {\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }" if (parenthesized_expression "((changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))))" ( (binary_expression "(changes == (mode_change *)0x0) ||\n         ((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8)))" (parenthesized_expression "(changes == (mode_change *)0x0)" ( (binary_expression "changes == (mode_change *)0x0" identifier == (cast_expression "(mode_change *)0x0" ( (type_descriptor "mode_change *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8)))" ( (parenthesized_expression "(*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8))" ( (binary_expression "*pcVar8 == '+' && (pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8)" (binary_expression "*pcVar8 == '+'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'+'" ' character ')) && (parenthesized_expression "(pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8)" ( (comma_expression "pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30), (byte)pmVar3 < 8" (assignment_expression "pmVar3 = (mode_change *)((byte)pcVar8[1] - 0x30)" identifier = (cast_expression "(mode_change *)((byte)pcVar8[1] - 0x30)" ( (type_descriptor "mode_change *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte)pcVar8[1] - 0x30)" ( (binary_expression "(byte)pcVar8[1] - 0x30" (cast_expression "(byte)pcVar8[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar8[1]" identifier [ number_literal ])) - number_literal) )))) , (binary_expression "(byte)pmVar3 < 8" (cast_expression "(byte)pmVar3" ( (type_descriptor "byte" type_identifier) ) identifier) < number_literal)) ))) )) ))) )) (compound_statement "{\n        pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);\n        uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar7,pcVar8);\n      }" { (expression_statement "pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8);" (assignment_expression "pcVar8 = quotearg_n_style(0,options.err_quoting_style,pcVar8)" identifier = (call_expression "quotearg_n_style(0,options.err_quoting_style,pcVar8)" identifier (argument_list "(0,options.err_quoting_style,pcVar8)" ( number_literal , (field_expression "options.err_quoting_style" identifier . field_identifier) , identifier )))) ;) (expression_statement "uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3);" (assignment_expression "uVar7 = dcgettext(0,"invalid mode %s",5,pmVar3)" identifier = (call_expression "dcgettext(0,"invalid mode %s",5,pmVar3)" identifier (argument_list "(0,"invalid mode %s",5,pmVar3)" ( number_literal , (string_literal ""invalid mode %s"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "error(1,0,uVar7,pcVar8);" (call_expression "error(1,0,uVar7,pcVar8)" identifier (argument_list "(1,0,uVar7,pcVar8)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0);" (assignment_expression "mVar4 = mode_adjust(0,false,0,changes,(mode_t *)0x0)" identifier = (call_expression "mode_adjust(0,false,0,changes,(mode_t *)0x0)" identifier (argument_list "(0,false,0,changes,(mode_t *)0x0)" ( number_literal , false , number_literal , identifier , (cast_expression "(mode_t *)0x0" ( (type_descriptor "mode_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0);" (assignment_expression "mVar5 = mode_adjust(0,true,0,changes,(mode_t *)0x0)" identifier = (call_expression "mode_adjust(0,true,0,changes,(mode_t *)0x0)" identifier (argument_list "(0,true,0,changes,(mode_t *)0x0)" ( number_literal , true , number_literal , identifier , (cast_expression "(mode_t *)0x0" ( (type_descriptor "mode_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "free(changes);" (call_expression "free(changes)" identifier (argument_list "(changes)" ( identifier ))) ;) (if_statement "if ((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)) {\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }" if (parenthesized_expression "((*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0))" ( (binary_expression "(*pcVar8 == '/') && (mVar4 == 0 && mVar5 == 0)" (parenthesized_expression "(*pcVar8 == '/')" ( (binary_expression "*pcVar8 == '/'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(mVar4 == 0 && mVar5 == 0)" ( (binary_expression "mVar4 == 0 && mVar5 == 0" (binary_expression "mVar4 == 0" identifier == number_literal) && (binary_expression "mVar5 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    /* WARNING: Subroutine does not return */\n        error(0,0,uVar7,pcVar8);\n      }" { (expression_statement "uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);" (assignment_expression "uVar7 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" identifier = (call_expression "dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" identifier (argument_list "(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" ( number_literal , (string_literal ""warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."" " string_content ") , number_literal )))) ;) comment (expression_statement "error(0,0,uVar7,pcVar8);" (call_expression "error(0,0,uVar7,pcVar8)" identifier (argument_list "(0,0,uVar7,pcVar8)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "ppVar6 = insert_primary(entry,pcVar8);" (assignment_expression "ppVar6 = insert_primary(entry,pcVar8)" identifier = (call_expression "insert_primary(entry,pcVar8)" identifier (argument_list "(entry,pcVar8)" ( identifier , identifier )))) ;) (expression_statement "(ppVar6->args).numinfo.kind = local_30;" (assignment_expression "(ppVar6->args).numinfo.kind = local_30" (field_expression "(ppVar6->args).numinfo.kind" (field_expression "(ppVar6->args).numinfo" (parenthesized_expression "(ppVar6->args)" ( (field_expression "ppVar6->args" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "ppVar6->est_success_rate = local_34;" (assignment_expression "ppVar6->est_success_rate = local_34" (field_expression "ppVar6->est_success_rate" identifier -> field_identifier) = identifier) ;) (expression_statement "(ppVar6->args).perm.val[0] = mVar4;" (assignment_expression "(ppVar6->args).perm.val[0] = mVar4" (subscript_expression "(ppVar6->args).perm.val[0]" (field_expression "(ppVar6->args).perm.val" (field_expression "(ppVar6->args).perm" (parenthesized_expression "(ppVar6->args)" ( (field_expression "ppVar6->args" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "(ppVar6->args).perm.val[1] = mVar5;" (assignment_expression "(ppVar6->args).perm.val[1] = mVar5" (subscript_expression "(ppVar6->args).perm.val[1]" (field_expression "(ppVar6->args).perm.val" (field_expression "(ppVar6->args).perm" (parenthesized_expression "(ppVar6->args)" ( (field_expression "ppVar6->args" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "_Var2 = true;" (assignment_expression "_Var2 = true" identifier = true) ;) (goto_statement "goto LAB_0001f59b;" goto statement_identifier ;) })) })) (expression_statement "_Var2 = false;" (assignment_expression "_Var2 = false" identifier = false) ;) (labeled_statement "LAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return _Var2;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return _Var2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return _Var2;\n  }" { (return_statement "return _Var2;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 FUN_0001f490(undefined4 param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    \n  FUN_0004e0c0();\n}\n\n" (function_definition "undefined4 FUN_0001f490(undefined4 param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    \n  FUN_0004e0c0();\n}" type_identifier (function_declarator "FUN_0001f490(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    \n  FUN_0004e0c0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }" { (expression_statement "pcVar2 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "pcVar2 = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (if_statement "if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" if (parenthesized_expression "(*pcVar2 == '-')" ( (binary_expression "*pcVar2 == '-'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }" { (expression_statement "local_34 = DAT_00052af4;" (assignment_expression "local_34 = DAT_00052af4" identifier = identifier) ;) (expression_statement "pcVar3 = pcVar2 + 1;" (assignment_expression "pcVar3 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) }) (else_clause "else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" else (if_statement "if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" if (parenthesized_expression "(*pcVar2 == '/')" ( (binary_expression "*pcVar2 == '/'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }" { (expression_statement "local_34 = DAT_00052b30;" (assignment_expression "local_34 = DAT_00052b30" identifier = identifier) ;) (expression_statement "pcVar3 = pcVar2 + 1;" (assignment_expression "pcVar3 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" else (compound_statement "{\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" { (expression_statement "local_34 = DAT_00052afc;" (assignment_expression "local_34 = DAT_00052afc" identifier = identifier) ;) (expression_statement "local_30 = 2;" (assignment_expression "local_30 = 2" identifier = number_literal) ;) (expression_statement "pcVar3 = pcVar2;" (assignment_expression "pcVar3 = pcVar2" identifier = identifier) ;) }))))) (expression_statement "__ptr = (void *)FUN_00029510(pcVar3);" (assignment_expression "__ptr = (void *)FUN_00029510(pcVar3)" identifier = (cast_expression "(void *)FUN_00029510(pcVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00029510(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))))) ;) (expression_statement "pvVar4 = __ptr;" (assignment_expression "pvVar4 = __ptr" identifier = identifier) ;) (if_statement "if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }" if (parenthesized_expression "((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8))))" ( (binary_expression "(__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))" (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))" ( (parenthesized_expression "(*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8))" ( (binary_expression "*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)" (binary_expression "*pcVar2 == '+'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'+'" ' character ')) && (parenthesized_expression "(pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)" ( (comma_expression "pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8" (assignment_expression "pvVar4 = (void *)((byte)pcVar2[1] - 0x30)" identifier = (cast_expression "(void *)((byte)pcVar2[1] - 0x30)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte)pcVar2[1] - 0x30)" ( (binary_expression "(byte)pcVar2[1] - 0x30" (cast_expression "(byte)pcVar2[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[1]" identifier [ number_literal ])) - number_literal) )))) , (binary_expression "(byte)pvVar4 < 8" (cast_expression "(byte)pvVar4" ( (type_descriptor "byte" type_identifier) ) identifier) < number_literal)) ))) )) ))) )) (compound_statement "{\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }" { (expression_statement "uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);" (assignment_expression "uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4)" identifier = (call_expression "FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4)" identifier (argument_list "(0,DAT_0006bf48,pcVar2,pvVar4)" ( number_literal , identifier , identifier , identifier )))) ;) (expression_statement "uVar9 = dcgettext(0,"invalid mode %s",5);" (assignment_expression "uVar9 = dcgettext(0,"invalid mode %s",5)" identifier = (call_expression "dcgettext(0,"invalid mode %s",5)" identifier (argument_list "(0,"invalid mode %s",5)" ( number_literal , (string_literal ""invalid mode %s"" " string_content ") , number_literal )))) ;) (expression_statement "error(1,0,uVar9,uVar8);" (call_expression "error(1,0,uVar9,uVar8)" identifier (argument_list "(1,0,uVar9,uVar8)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar5 = FUN_00029970(0,0,0,__ptr,0);" (assignment_expression "iVar5 = FUN_00029970(0,0,0,__ptr,0)" identifier = (call_expression "FUN_00029970(0,0,0,__ptr,0)" identifier (argument_list "(0,0,0,__ptr,0)" ( number_literal , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "iVar6 = FUN_00029970(0,1,0,__ptr,0);" (assignment_expression "iVar6 = FUN_00029970(0,1,0,__ptr,0)" identifier = (call_expression "FUN_00029970(0,1,0,__ptr,0)" identifier (argument_list "(0,1,0,__ptr,0)" ( number_literal , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }" if (parenthesized_expression "((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0))" ( (binary_expression "(*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)" (parenthesized_expression "(*pcVar2 == '/')" ( (binary_expression "*pcVar2 == '/'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(iVar5 == 0 && iVar6 == 0)" ( (binary_expression "iVar5 == 0 && iVar6 == 0" (binary_expression "iVar5 == 0" identifier == number_literal) && (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }" { (expression_statement "uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);" (assignment_expression "uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" identifier = (call_expression "dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" identifier (argument_list "(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" ( number_literal , (string_literal ""warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."" " string_content ") , number_literal )))) ;) (expression_statement "error(0,0,uVar8,pcVar2);" (call_expression "error(0,0,uVar8,pcVar2)" identifier (argument_list "(0,0,uVar8,pcVar2)" ( number_literal , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar7 = FUN_0001a5f0(param_1,pcVar2);" (assignment_expression "iVar7 = FUN_0001a5f0(param_1,pcVar2)" identifier = (call_expression "FUN_0001a5f0(param_1,pcVar2)" identifier (argument_list "(param_1,pcVar2)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x28) = local_30;" (assignment_expression "*(undefined4 *)(iVar7 + 0x28) = local_30" (pointer_expression "*(undefined4 *)(iVar7 + 0x28)" * (cast_expression "(undefined4 *)(iVar7 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x28)" ( (binary_expression "iVar7 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x1c) = local_34;" (assignment_expression "*(undefined4 *)(iVar7 + 0x1c) = local_34" (pointer_expression "*(undefined4 *)(iVar7 + 0x1c)" * (cast_expression "(undefined4 *)(iVar7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x1c)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x2c) = iVar5;" (assignment_expression "*(int *)(iVar7 + 0x2c) = iVar5" (pointer_expression "*(int *)(iVar7 + 0x2c)" * (cast_expression "(int *)(iVar7 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x2c)" ( (binary_expression "iVar7 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x30) = iVar6;" (assignment_expression "*(int *)(iVar7 + 0x30) = iVar6" (pointer_expression "*(int *)(iVar7 + 0x30)" * (cast_expression "(int *)(iVar7 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0001f59b;" goto statement_identifier ;) })) })) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar8;\n  }" { (return_statement "return uVar8;" return identifier ;) }))) (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) - LIT) )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_0001f490(undefined4 param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    \n  FUN_0004e0c0();\n}" (type_identifier "undefined4") (function_declarator "FUN_0001f490(undefined4 param_1,int param_2,int *param_3)" (identifier "FUN_0001f490") (parameter_list "(undefined4 param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  void *__ptr;\n  void *pvVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  undefined4 local_30;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }\n  uVar8 = 0;\nLAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }\n                    \n  FUN_0004e0c0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "void *pvVar4;" (primitive_type "void") (pointer_declarator "*pvVar4" (* "*") (identifier "pvVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_2 != 0) {\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar2 = *(char **)(param_2 + *param_3 * 4);\n    if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }\n  }" ({ "{") (expression_statement "pcVar2 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "pcVar2 = *(char **)(param_2 + *param_3 * 4)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(param_2 + *param_3 * 4)" (* "*") (cast_expression "(char **)(param_2 + *param_3 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + *param_3 * 4)" (( "(") (binary_expression "param_2 + *param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "*param_3 * 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (pcVar2 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }" (if "if") (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }\n      __ptr = (void *)FUN_00029510(pcVar3);\n      pvVar4 = __ptr;\n      if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }\n      iVar5 = FUN_00029970(0,0,0,__ptr,0);\n      iVar6 = FUN_00029970(0,1,0,__ptr,0);\n      free(__ptr);\n      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }\n      iVar7 = FUN_0001a5f0(param_1,pcVar2);\n      *(undefined4 *)(iVar7 + 0x28) = local_30;\n      *(undefined4 *)(iVar7 + 0x1c) = local_34;\n      *(int *)(iVar7 + 0x2c) = iVar5;\n      *(int *)(iVar7 + 0x30) = iVar6;\n      uVar8 = 1;\n      goto LAB_0001f59b;\n    }" ({ "{") (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "*param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pcVar2 == '-') {\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }\n      else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" (if "if") (parenthesized_expression "(*pcVar2 == '-')" (( "(") (binary_expression "*pcVar2 == '-'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n        local_34 = DAT_00052af4;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 0;\n      }" ({ "{") (expression_statement "local_34 = DAT_00052af4;" (assignment_expression "local_34 = DAT_00052af4" (identifier "local_34") (= "=") (identifier "DAT_00052af4")) (; ";")) (expression_statement "pcVar3 = pcVar2 + 1;" (assignment_expression "pcVar3 = pcVar2 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" (else "else") (if_statement "if (*pcVar2 == '/') {\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }\n      else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" (if "if") (parenthesized_expression "(*pcVar2 == '/')" (( "(") (binary_expression "*pcVar2 == '/'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n        local_34 = DAT_00052b30;\n        pcVar3 = pcVar2 + 1;\n        local_30 = 1;\n      }" ({ "{") (expression_statement "local_34 = DAT_00052b30;" (assignment_expression "local_34 = DAT_00052b30" (identifier "local_34") (= "=") (identifier "DAT_00052b30")) (; ";")) (expression_statement "pcVar3 = pcVar2 + 1;" (assignment_expression "pcVar3 = pcVar2 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" (identifier "local_30") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" (else "else") (compound_statement "{\n        local_34 = DAT_00052afc;\n        local_30 = 2;\n        pcVar3 = pcVar2;\n      }" ({ "{") (expression_statement "local_34 = DAT_00052afc;" (assignment_expression "local_34 = DAT_00052afc" (identifier "local_34") (= "=") (identifier "DAT_00052afc")) (; ";")) (expression_statement "local_30 = 2;" (assignment_expression "local_30 = 2" (identifier "local_30") (= "=") (number_literal "2")) (; ";")) (expression_statement "pcVar3 = pcVar2;" (assignment_expression "pcVar3 = pcVar2" (identifier "pcVar3") (= "=") (identifier "pcVar2")) (; ";")) (} "}")))))) (expression_statement "__ptr = (void *)FUN_00029510(pcVar3);" (assignment_expression "__ptr = (void *)FUN_00029510(pcVar3)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00029510(pcVar3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00029510(pcVar3)" (identifier "FUN_00029510") (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")"))))) (; ";")) (expression_statement "pvVar4 = __ptr;" (assignment_expression "pvVar4 = __ptr" (identifier "pvVar4") (= "=") (identifier "__ptr")) (; ";")) (if_statement "if ((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }" (if "if") (parenthesized_expression "((__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8))))" (( "(") (binary_expression "(__ptr == (void *)0x0) ||\n         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))" (parenthesized_expression "(__ptr == (void *)0x0)" (( "(") (binary_expression "__ptr == (void *)0x0" (identifier "__ptr") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))" (( "(") (parenthesized_expression "(*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8))" (( "(") (binary_expression "*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)" (binary_expression "*pcVar2 == '+'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'+'" (' "'") (character "+") (' "'"))) (&& "&&") (parenthesized_expression "(pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)" (( "(") (comma_expression "pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8" (assignment_expression "pvVar4 = (void *)((byte)pcVar2[1] - 0x30)" (identifier "pvVar4") (= "=") (cast_expression "(void *)((byte)pcVar2[1] - 0x30)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((byte)pcVar2[1] - 0x30)" (( "(") (binary_expression "(byte)pcVar2[1] - 0x30" (cast_expression "(byte)pcVar2[1]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "pcVar2[1]" (identifier "pcVar2") ([ "[") (number_literal "1") (] "]"))) (- "-") (number_literal "0x30")) () ")")))) (, ",") (binary_expression "(byte)pvVar4 < 8" (cast_expression "(byte)pvVar4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "pvVar4")) (< "<") (number_literal "8"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);\n        uVar9 = dcgettext(0,"invalid mode %s",5);\n                    \n        error(1,0,uVar9,uVar8);\n      }" ({ "{") (expression_statement "uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);" (assignment_expression "uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4)" (identifier "uVar8") (= "=") (call_expression "FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4)" (identifier "FUN_000324c0") (argument_list "(0,DAT_0006bf48,pcVar2,pvVar4)" (( "(") (number_literal "0") (, ",") (identifier "DAT_0006bf48") (, ",") (identifier "pcVar2") (, ",") (identifier "pvVar4") () ")")))) (; ";")) (expression_statement "uVar9 = dcgettext(0,"invalid mode %s",5);" (assignment_expression "uVar9 = dcgettext(0,"invalid mode %s",5)" (identifier "uVar9") (= "=") (call_expression "dcgettext(0,"invalid mode %s",5)" (identifier "dcgettext") (argument_list "(0,"invalid mode %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""invalid mode %s"" (" """) (string_content "invalid mode %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(1,0,uVar9,uVar8);" (call_expression "error(1,0,uVar9,uVar8)" (identifier "error") (argument_list "(1,0,uVar9,uVar8)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar9") (, ",") (identifier "uVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_00029970(0,0,0,__ptr,0);" (assignment_expression "iVar5 = FUN_00029970(0,0,0,__ptr,0)" (identifier "iVar5") (= "=") (call_expression "FUN_00029970(0,0,0,__ptr,0)" (identifier "FUN_00029970") (argument_list "(0,0,0,__ptr,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "__ptr") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar6 = FUN_00029970(0,1,0,__ptr,0);" (assignment_expression "iVar6 = FUN_00029970(0,1,0,__ptr,0)" (identifier "iVar6") (= "=") (call_expression "FUN_00029970(0,1,0,__ptr,0)" (identifier "FUN_00029970") (argument_list "(0,1,0,__ptr,0)" (( "(") (number_literal "0") (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "__ptr") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }" (if "if") (parenthesized_expression "((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0))" (( "(") (binary_expression "(*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)" (parenthesized_expression "(*pcVar2 == '/')" (( "(") (binary_expression "*pcVar2 == '/'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 == 0 && iVar6 == 0)" (( "(") (binary_expression "iVar5 == 0 && iVar6 == 0" (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) (&& "&&") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);\n                    \n        error(0,0,uVar8,pcVar2);\n      }" ({ "{") (expression_statement "uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5);" (assignment_expression "uVar8 = dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" (identifier "uVar8") (= "=") (call_expression "dcgettext(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" (identifier "dcgettext") (argument_list "(0,\n                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."\n                          ,5)" (( "(") (number_literal "0") (, ",") (string_literal ""warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."" (" """) (string_content "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files.") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(0,0,uVar8,pcVar2);" (call_expression "error(0,0,uVar8,pcVar2)" (identifier "error") (argument_list "(0,0,uVar8,pcVar2)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "uVar8") (, ",") (identifier "pcVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_0001a5f0(param_1,pcVar2);" (assignment_expression "iVar7 = FUN_0001a5f0(param_1,pcVar2)" (identifier "iVar7") (= "=") (call_expression "FUN_0001a5f0(param_1,pcVar2)" (identifier "FUN_0001a5f0") (argument_list "(param_1,pcVar2)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0x28) = local_30;" (assignment_expression "*(undefined4 *)(iVar7 + 0x28) = local_30" (pointer_expression "*(undefined4 *)(iVar7 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x28)" (( "(") (binary_expression "iVar7 + 0x28" (identifier "iVar7") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0x1c) = local_34;" (assignment_expression "*(undefined4 *)(iVar7 + 0x1c) = local_34" (pointer_expression "*(undefined4 *)(iVar7 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x1c)" (( "(") (binary_expression "iVar7 + 0x1c" (identifier "iVar7") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(int *)(iVar7 + 0x2c) = iVar5;" (assignment_expression "*(int *)(iVar7 + 0x2c) = iVar5" (pointer_expression "*(int *)(iVar7 + 0x2c)" (* "*") (cast_expression "(int *)(iVar7 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x2c)" (( "(") (binary_expression "iVar7 + 0x2c" (identifier "iVar7") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(int *)(iVar7 + 0x30) = iVar6;" (assignment_expression "*(int *)(iVar7 + 0x30) = iVar6" (pointer_expression "*(int *)(iVar7 + 0x30)" (* "*") (cast_expression "(int *)(iVar7 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x30)" (( "(") (binary_expression "iVar7 + 0x30" (identifier "iVar7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" (identifier "uVar8") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0001f59b;" (goto "goto") (statement_identifier "LAB_0001f59b") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0001f59b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" (statement_identifier "LAB_0001f59b") (: ":") (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar8;\n  }" (if "if") (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return uVar8;\n  }" ({ "{") (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}")))) (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" (identifier "FUN_0004e0c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

type_1 function_1(type_2 *entry,char **var_2,int *arg_ptr)

{
  int var_14;
  type_1 _Var2;
  char *mode_string;
  type_3 *var_5;
  type_3 *pmVar3;
  type_4 var_11;
  type_4 var_12;
  type_5 *ppVar6;
  type_6 uVar7;
  char *var_3;
  int var_1;
  float local_34;
  type_7 local_30;
  
  var_14 = *(int *)(var_1 + 0x14);
  if (var_2 != (char **)0x0) {
    var_3 = var_2[*arg_ptr];
    if (var_3 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      if (*var_3 == '-') {
        local_34 = DAT_00052af4;
        mode_string = var_3 + 1;
        local_30 = COMP_GT;
      }
      else if (*var_3 == '/') {
        local_34 = DAT_00052b30;
        mode_string = var_3 + 1;
        local_30 = COMP_LT;
      }
      else {
        local_34 = DAT_00052afc;
        local_30 = COMP_EQ;
        mode_string = var_3;
      }
      var_5 = var_4(mode_string);
      pmVar3 = var_5;
      if ((var_5 == (type_3 *)0x0) ||
         ((*var_3 == '+' && (pmVar3 = (type_3 *)((type_8)var_3[1] - 0x30), (type_8)pmVar3 < 8))))
      {
        var_3 = var_6(0,options.err_quoting_style,var_3);
        uVar7 = var_7(0,"invalid mode %s",5,pmVar3);
                    /* WARNING: Subroutine does not return */
        var_8(1,0,uVar7,var_3);
      }
      var_11 = var_9(0,false,0,var_5,(type_4 *)0x0);
      var_12 = var_9(0,true,0,var_5,(type_4 *)0x0);
      var_10(var_5);
      if ((*var_3 == '/') && (var_11 == 0 && var_12 == 0)) {
        uVar7 = var_7(0,
                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."
                          ,5);
                    /* WARNING: Subroutine does not return */
        var_8(0,0,uVar7,var_3);
      }
      ppVar6 = var_13(entry,var_3);
      (ppVar6->args).numinfo.kind = local_30;
      ppVar6->est_success_rate = local_34;
      (ppVar6->args).perm.val[0] = var_11;
      (ppVar6->args).perm.val[1] = var_12;
      _Var2 = true;
      goto LAB_0001f59b;
    }
  }
  _Var2 = false;
LAB_0001f59b:
  if (var_14 == *(int *)(var_1 + 0x14)) {
    return _Var2;
  }
                    /* WARNING: Subroutine does not return */
  var_15();
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (number_literal) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

undefined4 MASKED(undefined4 param_1,int param_2,int *param_3)

{
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  void *__ptr;
  void *pvVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int in_GS_OFFSET;
  undefined4 local_34;
  undefined4 local_30;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_2 != 0) {
    pcVar2 = *(char **)(param_2 + *param_3 * 4);
    if (pcVar2 != (char *)0x0) {
      *param_3 = *param_3 + 1;
      if (*pcVar2 == '-') {
        local_34 = DAT_00052af4;
        pcVar3 = pcVar2 + 1;
        local_30 = 0;
      }
      else if (*pcVar2 == '/') {
        local_34 = DAT_00052b30;
        pcVar3 = pcVar2 + 1;
        local_30 = 1;
      }
      else {
        local_34 = DAT_00052afc;
        local_30 = 2;
        pcVar3 = pcVar2;
      }
      __ptr = (void *)FUN_00029510(pcVar3);
      pvVar4 = __ptr;
      if ((__ptr == (void *)0x0) ||
         ((*pcVar2 == '+' && (pvVar4 = (void *)((byte)pcVar2[1] - 0x30), (byte)pvVar4 < 8)))) {
        uVar8 = FUN_000324c0(0,DAT_0006bf48,pcVar2,pvVar4);
        uVar9 = dcgettext(0,"invalid mode %s",5);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar9,uVar8);
      }
      iVar5 = FUN_00029970(0,0,0,__ptr,0);
      iVar6 = FUN_00029970(0,1,0,__ptr,0);
      free(__ptr);
      if ((*pcVar2 == '/') && (iVar5 == 0 && iVar6 == 0)) {
        uVar8 = dcgettext(0,
                          "warning: you have specified a mode pattern %s (which is equivalent to /000). The meaning of -perm /000 has now been changed to be consistent with -perm -000; that is, while it used to match no files, it now matches all files."
                          ,5);
                    /* WARNING: Subroutine does not return */
        error(0,0,uVar8,pcVar2);
      }
      iVar7 = FUN_0001a5f0(param_1,pcVar2);
      *(undefined4 *)(iVar7 + 0x28) = local_30;
      *(undefined4 *)(iVar7 + 0x1c) = local_34;
      *(int *)(iVar7 + 0x2c) = iVar5;
      *(int *)(iVar7 + 0x30) = iVar6;
      uVar8 = 1;
      goto LAB_0001f59b;
    }
  }
  uVar8 = 0;
LAB_0001f59b:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar8;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0004e0c0();
}

