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

RM_status __regparm3 excise(FTS *fts,FTSENT *ent,rm_options *x,_Bool is_dir)

{
  ushort uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  char *pcVar5;
  undefined4 uVar6;
  int in_GS_OFFSET;
  stat st;
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  iVar3 = unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9);
  if (iVar3 == 0) {
    if (x->verbose != false) {
      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);
      if (is_dir) {
        uVar6 = dcgettext(0,"removed directory %s\n",5);
      }
      else {
        uVar6 = dcgettext(0,"removed %s\n",5);
      }
      __printf_chk(1,uVar6,pcVar5);
    }
    goto LAB_00013a9d;
  }
  piVar4 = __errno_location();
  iVar3 = *piVar4;
  if (iVar3 == 0x1e) {
    iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);
    if ((iVar3 == 0) || (*piVar4 != 2)) {
      *piVar4 = 0x1e;
    }
    else if (x->ignore_missing_files != false) goto LAB_00013a9d;
    goto LAB_00013a39;
  }
  if (x->ignore_missing_files == false) {
LAB_00013a2e:
    uVar1 = ent->fts_info;
  }
  else {
    if (iVar3 == 0x14) {
LAB_00013a9d:
      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
        return RM_OK;
      }
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local();
    }
    if (0x14 < iVar3) {
      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;
      goto LAB_00013a2e;
    }
    if (iVar3 == 2) goto LAB_00013a9d;
    uVar1 = ent->fts_info;
  }
  if ((((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))
     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))) {
    *piVar4 = iVar2;
  }
LAB_00013a39:
  pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);
  uVar6 = dcgettext(0,"cannot remove %s",5);
                    /* WARNING: Subroutine does not return */
  error(0,*piVar4,uVar6,pcVar5);
}



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

undefined4 __regparm3 FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)

{
  short sVar1;
  int iVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int in_GS_OFFSET;
  stat64 local_80;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x139af;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)
  ;
  if (iVar2 == 0) {
    if (param_3[0x12] != '\0') {
      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));
      if (param_4 == '\0') {
        uVar5 = dcgettext(0,"removed %s\n",5);
      }
      else {
        uVar5 = dcgettext(0,"removed directory %s\n",5);
      }
      __printf_chk(1,uVar5,uVar4);
    }
    goto LAB_00013a9d;
  }
  piVar3 = __errno_location();
  iVar2 = *piVar3;
  if (iVar2 == 0x1e) {
    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);
    if ((iVar2 == 0) || (*piVar3 != 2)) {
      *piVar3 = 0x1e;
    }
    else if (*param_3 != '\0') goto LAB_00013a9d;
    goto LAB_00013a39;
  }
  if (*param_3 == '\0') {
LAB_00013a2e:
    sVar1 = *(short *)(param_2 + 0x3c);
  }
  else {
    if (iVar2 == 0x14) {
LAB_00013a9d:
      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
        return 2;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0002bfb0();
    }
    if (0x14 < iVar2) {
      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;
      goto LAB_00013a2e;
    }
    if (iVar2 == 2) goto LAB_00013a9d;
    sVar1 = *(short *)(param_2 + 0x3c);
  }
  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))
     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {
    *piVar3 = iVar2;
  }
LAB_00013a39:
  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));
  uVar5 = dcgettext(0,"cannot remove %s",5);
                    /* WARNING: Subroutine does not return */
  error(0,*piVar3,uVar5,uVar4);
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x000132d0
ADD EBX,0x25651
SUB ESP,0x90
MOV EAX,dword ptr [ESP + 0xa4]
MOV dword ptr [ESP + 0x10],EAX
MOV EDX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x80],EDX
XOR EDX,EDX
TEST AL,AL
SETNZ AL
MOVZX EAX,AL
SHL EAX,0x9
PUSH EAX
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [EDI + 0x1c]
CALL 0x00012110
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00013b08
CALL 0x000125a0
MOV EDX,dword ptr [EAX]
MOV ECX,EAX
CMP EDX,0x1e
JZ 0x00013b60
CMP byte ptr [EBP],0x0
JZ 0x00013a2e
MOV EAX,0x2
CMP EDX,0x14
JZ 0x00013a9d
JLE 0x00013ac0
CMP EDX,0x16
JZ 0x00013a9d
CMP EDX,0x54
JZ 0x00013a9d
CMP word ptr [ESI + 0x3c],0x4
JZ 0x00013ad0
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x8
PUSH dword ptr [ESI + 0x1c]
PUSH 0x4
CALL 0x00020410
ADD ESP,0xc
MOV EDI,EAX
LEA EAX,[EBX + 0xffff4b8f]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000121f0
PUSH EDI
PUSH EAX
MOV ECX,dword ptr [ESP + 0x24]
PUSH dword ptr [ECX]
PUSH 0x0
CALL 0x000123a0
MOV EDI,dword ptr [ESP + 0x7c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x00013bcc
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EDX,0x2
JZ 0x00013a9d
CMP word ptr [ESI + 0x3c],0x4
JNZ 0x00013a39
SUB EDX,0x11
CMP EDX,0x16
JA 0x00013a39
MOV EAX,0x400019
BT EAX,EDX
JNC 0x00013a39
MOV EAX,dword ptr [ESI + 0x20]
CMP EAX,0x1
JZ 0x00013afb
CMP EAX,0xd
JNZ 0x00013a39
MOV dword ptr [ECX],EAX
JMP 0x00013a39
CMP byte ptr [EBP + 0x12],0x0
MOV EAX,0x2
JZ 0x00013a9d
SUB ESP,0x8
PUSH dword ptr [ESI + 0x1c]
PUSH 0x4
CALL 0x00020410
ADD ESP,0x10
CMP byte ptr [ESP + 0xc],0x0
MOV ESI,EAX
JZ 0x00013ba0
SUB ESP,0x4
LEA EAX,[EBX + 0xffff4b6d]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000121f0
ADD ESP,0x10
SUB ESP,0x4
PUSH ESI
PUSH EAX
PUSH 0x1
CALL 0x00012600
ADD ESP,0x10
MOV EAX,0x2
JMP 0x00013a9d
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH 0x100
LEA EAX,[ESP + 0x2c]
PUSH EAX
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [EDI + 0x1c]
PUSH 0x3
CALL 0x000122a0
ADD ESP,0x20
MOV ECX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x00013b8e
CMP dword ptr [ECX],0x2
JZ 0x00013bb8
MOV dword ptr [ECX],0x1e
JMP 0x00013a39
SUB ESP,0x4
LEA EAX,[EBX + 0xffff4b83]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000121f0
ADD ESP,0x10
JMP 0x00013b42
CMP byte ptr [EBP],0x0
MOV EAX,0x2
JZ 0x00013a39
JMP 0x00013a9d
CALL 0x0002bfb0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)\n\n{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    /* WARNING: Subroutine does not return */\n  error(0,*piVar3,uVar5,uVar4);\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)\n\n{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    /* WARNING: Subroutine does not return */\n  error(0,*piVar3,uVar5,uVar4);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)" identifier (parameter_list "(int param_1,int param_2,char *param_3,char param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char param_4" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    /* WARNING: Subroutine does not return */\n  error(0,*piVar3,uVar5,uVar4);\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x139af;" (assignment_expression "uStack_14 = 0x139af" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;" (assignment_expression "iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" identifier = (call_expression "unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" identifier (argument_list "(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" ( (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(char **)(param_2 + 0x18)" * (cast_expression "(char **)(param_2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (binary_expression "(uint)(param_4 != '\0') << 9" (call_expression "(uint)(param_4 != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != '\0')" ( (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) << number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }" { (if_statement "if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }" if (parenthesized_expression "(param_3[0x12] != '\0')" ( (binary_expression "param_3[0x12] != '\0'" (subscript_expression "param_3[0x12]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }" { (expression_statement "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (assignment_expression "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier = (call_expression "FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier (argument_list "(4,*(undefined4 *)(param_2 + 0x1c))" ( number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" if (parenthesized_expression "(param_4 == '\0')" ( (binary_expression "param_4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }" { (expression_statement "uVar5 = dcgettext(0,"removed %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"removed %s\n",5)" identifier = (call_expression "dcgettext(0,"removed %s\n",5)" identifier (argument_list "(0,"removed %s\n",5)" ( number_literal , (string_literal ""removed %s\n"" " string_content escape_sequence ") , number_literal )))) ;) }) (else_clause "else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" else (compound_statement "{\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" { (expression_statement "uVar5 = dcgettext(0,"removed directory %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"removed directory %s\n",5)" identifier = (call_expression "dcgettext(0,"removed directory %s\n",5)" identifier (argument_list "(0,"removed directory %s\n",5)" ( number_literal , (string_literal ""removed directory %s\n"" " string_content escape_sequence ") , number_literal )))) ;) }))) (expression_statement "__printf_chk(1,uVar5,uVar4);" (call_expression "__printf_chk(1,uVar5,uVar4)" identifier (argument_list "(1,uVar5,uVar4)" ( number_literal , identifier , identifier ))) ;) })) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;) })) (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" if (parenthesized_expression "(iVar2 == 0x1e)" ( (binary_expression "iVar2 == 0x1e" identifier == number_literal) )) (compound_statement "{\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" { (expression_statement "iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);" (assignment_expression "iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" identifier = (call_expression "__fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" identifier (argument_list "(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" ( number_literal , (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(char **)(param_2 + 0x18)" * (cast_expression "(char **)(param_2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "&local_80" & identifier) , number_literal )))) ;) (if_statement "if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;" if (parenthesized_expression "((iVar2 == 0) || (*piVar3 != 2))" ( (binary_expression "(iVar2 == 0) || (*piVar3 != 2)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) (compound_statement "{\n      *piVar3 = 0x1e;\n    }" { (expression_statement "*piVar3 = 0x1e;" (assignment_expression "*piVar3 = 0x1e" (pointer_expression "*piVar3" * identifier) = number_literal) ;) }) (else_clause "else if (*param_3 != '\0') goto LAB_00013a9d;" else (if_statement "if (*param_3 != '\0') goto LAB_00013a9d;" if (parenthesized_expression "(*param_3 != '\0')" ( (binary_expression "*param_3 != '\0'" (pointer_expression "*param_3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)))) (goto_statement "goto LAB_00013a39;" goto statement_identifier ;) })) (if_statement "if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" if (parenthesized_expression "(*param_3 == '\0')" ( (binary_expression "*param_3 == '\0'" (pointer_expression "*param_3" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" { (labeled_statement "LAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);" statement_identifier : (expression_statement "sVar1 = *(short *)(param_2 + 0x3c);" (assignment_expression "sVar1 = *(short *)(param_2 + 0x3c)" identifier = (pointer_expression "*(short *)(param_2 + 0x3c)" * (cast_expression "(short *)(param_2 + 0x3c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" else (compound_statement "{\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" { (if_statement "if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }" if (parenthesized_expression "(iVar2 == 0x14)" ( (binary_expression "iVar2 == 0x14" identifier == number_literal) )) (compound_statement "{\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0002bfb0();\n    }" { (labeled_statement "LAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) }))) comment (expression_statement "FUN_0002bfb0();" (call_expression "FUN_0002bfb0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" if (parenthesized_expression "(0x14 < iVar2)" ( (binary_expression "0x14 < iVar2" number_literal < identifier) )) (compound_statement "{\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" { (if_statement "if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;" if (parenthesized_expression "((iVar2 == 0x16) || (iVar2 == 0x54))" ( (binary_expression "(iVar2 == 0x16) || (iVar2 == 0x54)" (parenthesized_expression "(iVar2 == 0x16)" ( (binary_expression "iVar2 == 0x16" identifier == number_literal) )) || (parenthesized_expression "(iVar2 == 0x54)" ( (binary_expression "iVar2 == 0x54" identifier == number_literal) ))) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)) (goto_statement "goto LAB_00013a2e;" goto statement_identifier ;) })) (if_statement "if (iVar2 == 2) goto LAB_00013a9d;" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)) (expression_statement "sVar1 = *(short *)(param_2 + 0x3c);" (assignment_expression "sVar1 = *(short *)(param_2 + 0x3c)" identifier = (pointer_expression "*(short *)(param_2 + 0x3c)" * (cast_expression "(short *)(param_2 + 0x3c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;) }))) (if_statement "if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }" if (parenthesized_expression "((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd))))" ( (binary_expression "(((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))" (parenthesized_expression "(((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))" ( (binary_expression "((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0)" (parenthesized_expression "((sVar1 == 4) && (iVar2 - 0x11U < 0x17))" ( (binary_expression "(sVar1 == 4) && (iVar2 - 0x11U < 0x17)" (parenthesized_expression "(sVar1 == 4)" ( (binary_expression "sVar1 == 4" identifier == number_literal) )) && (parenthesized_expression "(iVar2 - 0x11U < 0x17)" ( (binary_expression "iVar2 - 0x11U < 0x17" (binary_expression "iVar2 - 0x11U" identifier - number_literal) < number_literal) ))) )) && (parenthesized_expression "((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0)" ( (binary_expression "(0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0" (parenthesized_expression "(0x400019U >> (iVar2 - 0x11U & 0x1f) & 1)" ( (binary_expression "0x400019U >> (iVar2 - 0x11U & 0x1f) & 1" (binary_expression "0x400019U >> (iVar2 - 0x11U & 0x1f)" number_literal >> (parenthesized_expression "(iVar2 - 0x11U & 0x1f)" ( (binary_expression "iVar2 - 0x11U & 0x1f" (binary_expression "iVar2 - 0x11U" identifier - number_literal) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))" ( (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd))" ( (comma_expression "iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" identifier = (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar2 == 1 || (iVar2 == 0xd)" (binary_expression "iVar2 == 1" identifier == number_literal) || (parenthesized_expression "(iVar2 == 0xd)" ( (binary_expression "iVar2 == 0xd" identifier == number_literal) )))) )) ))) )) (compound_statement "{\n    *piVar3 = iVar2;\n  }" { (expression_statement "*piVar3 = iVar2;" (assignment_expression "*piVar3 = iVar2" (pointer_expression "*piVar3" * identifier) = identifier) ;) })) (labeled_statement "LAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" statement_identifier : (expression_statement "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (assignment_expression "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier = (call_expression "FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier (argument_list "(4,*(undefined4 *)(param_2 + 0x1c))" ( number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) )))) ;)) (expression_statement "uVar5 = dcgettext(0,"cannot remove %s",5);" (assignment_expression "uVar5 = dcgettext(0,"cannot remove %s",5)" identifier = (call_expression "dcgettext(0,"cannot remove %s",5)" identifier (argument_list "(0,"cannot remove %s",5)" ( number_literal , (string_literal ""cannot remove %s"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(0,*piVar3,uVar5,uVar4);" (call_expression "error(0,*piVar3,uVar5,uVar4)" identifier (argument_list "(0,*piVar3,uVar5,uVar4)" ( number_literal , (pointer_expression "*piVar3" * identifier) , identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nRM_status __regparm3 excise(FTS *fts,FTSENT *ent,rm_options *x,_Bool is_dir)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  int in_GS_OFFSET;\n  stat st;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar3 = unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9);\n  if (iVar3 == 0) {\n    if (x->verbose != false) {\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar4 = __errno_location();\n  iVar3 = *piVar4;\n  if (iVar3 == 0x1e) {\n    iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);\n    if ((iVar3 == 0) || (*piVar4 != 2)) {\n      *piVar4 = 0x1e;\n    }\n    else if (x->ignore_missing_files != false) goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (x->ignore_missing_files == false) {\nLAB_00013a2e:\n    uVar1 = ent->fts_info;\n  }\n  else {\n    if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar3 == 2) goto LAB_00013a9d;\n    uVar1 = ent->fts_info;\n  }\n  if ((((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar4 = iVar2;\n  }\nLAB_00013a39:\n  pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n  uVar6 = dcgettext(0,"cannot remove %s",5);\n                    /* WARNING: Subroutine does not return */\n  error(0,*piVar4,uVar6,pcVar5);\n}\n\n" comment (function_definition "RM_status __regparm3 excise(FTS *fts,FTSENT *ent,rm_options *x,_Bool is_dir)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  int in_GS_OFFSET;\n  stat st;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar3 = unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9);\n  if (iVar3 == 0) {\n    if (x->verbose != false) {\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar4 = __errno_location();\n  iVar3 = *piVar4;\n  if (iVar3 == 0x1e) {\n    iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);\n    if ((iVar3 == 0) || (*piVar4 != 2)) {\n      *piVar4 = 0x1e;\n    }\n    else if (x->ignore_missing_files != false) goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (x->ignore_missing_files == false) {\nLAB_00013a2e:\n    uVar1 = ent->fts_info;\n  }\n  else {\n    if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar3 == 2) goto LAB_00013a9d;\n    uVar1 = ent->fts_info;\n  }\n  if ((((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar4 = iVar2;\n  }\nLAB_00013a39:\n  pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n  uVar6 = dcgettext(0,"cannot remove %s",5);\n                    /* WARNING: Subroutine does not return */\n  error(0,*piVar4,uVar6,pcVar5);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "excise(FTS *fts,FTSENT *ent,rm_options *x,_Bool is_dir)" identifier (parameter_list "(FTS *fts,FTSENT *ent,rm_options *x,_Bool is_dir)" ( (parameter_declaration "FTS *fts" type_identifier (pointer_declarator "*fts" * identifier)) , (parameter_declaration "FTSENT *ent" type_identifier (pointer_declarator "*ent" * identifier)) , (parameter_declaration "rm_options *x" type_identifier (pointer_declarator "*x" * identifier)) , (parameter_declaration "_Bool is_dir" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  int in_GS_OFFSET;\n  stat st;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar3 = unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9);\n  if (iVar3 == 0) {\n    if (x->verbose != false) {\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar4 = __errno_location();\n  iVar3 = *piVar4;\n  if (iVar3 == 0x1e) {\n    iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);\n    if ((iVar3 == 0) || (*piVar4 != 2)) {\n      *piVar4 = 0x1e;\n    }\n    else if (x->ignore_missing_files != false) goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (x->ignore_missing_files == false) {\nLAB_00013a2e:\n    uVar1 = ent->fts_info;\n  }\n  else {\n    if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar3 == 2) goto LAB_00013a9d;\n    uVar1 = ent->fts_info;\n  }\n  if ((((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar4 = iVar2;\n  }\nLAB_00013a39:\n  pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n  uVar6 = dcgettext(0,"cannot remove %s",5);\n                    /* WARNING: Subroutine does not return */\n  error(0,*piVar4,uVar6,pcVar5);\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat st;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9);" (assignment_expression "iVar3 = unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9)" identifier = (call_expression "unlinkat(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9)" identifier (argument_list "(fts->fts_cwd_fd,ent->fts_accpath,(uint)is_dir << 9)" ( (field_expression "fts->fts_cwd_fd" identifier -> field_identifier) , (field_expression "ent->fts_accpath" identifier -> field_identifier) , (binary_expression "(uint)is_dir << 9" (cast_expression "(uint)is_dir" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n    if (x->verbose != false) {\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }\n    goto LAB_00013a9d;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (x->verbose != false) {\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }\n    goto LAB_00013a9d;\n  }" { (if_statement "if (x->verbose != false) {\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }" if (parenthesized_expression "(x->verbose != false)" ( (binary_expression "x->verbose != false" (field_expression "x->verbose" identifier -> field_identifier) != false) )) (compound_statement "{\n      pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);\n      if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }\n      __printf_chk(1,uVar6,pcVar5);\n    }" { (expression_statement "pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);" (assignment_expression "pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path)" identifier = (call_expression "quotearg_style(shell_escape_always_quoting_style,ent->fts_path)" identifier (argument_list "(shell_escape_always_quoting_style,ent->fts_path)" ( identifier , (field_expression "ent->fts_path" identifier -> field_identifier) )))) ;) (if_statement "if (is_dir) {\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }\n      else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }" if (parenthesized_expression "(is_dir)" ( identifier )) (compound_statement "{\n        uVar6 = dcgettext(0,"removed directory %s\n",5);\n      }" { (expression_statement "uVar6 = dcgettext(0,"removed directory %s\n",5);" (assignment_expression "uVar6 = dcgettext(0,"removed directory %s\n",5)" identifier = (call_expression "dcgettext(0,"removed directory %s\n",5)" identifier (argument_list "(0,"removed directory %s\n",5)" ( number_literal , (string_literal ""removed directory %s\n"" " string_content escape_sequence ") , number_literal )))) ;) }) (else_clause "else {\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }" else (compound_statement "{\n        uVar6 = dcgettext(0,"removed %s\n",5);\n      }" { (expression_statement "uVar6 = dcgettext(0,"removed %s\n",5);" (assignment_expression "uVar6 = dcgettext(0,"removed %s\n",5)" identifier = (call_expression "dcgettext(0,"removed %s\n",5)" identifier (argument_list "(0,"removed %s\n",5)" ( number_literal , (string_literal ""removed %s\n"" " string_content escape_sequence ") , number_literal )))) ;) }))) (expression_statement "__printf_chk(1,uVar6,pcVar5);" (call_expression "__printf_chk(1,uVar6,pcVar5)" identifier (argument_list "(1,uVar6,pcVar5)" ( number_literal , identifier , identifier ))) ;) })) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;) })) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iVar3 == 0x1e) {\n    iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);\n    if ((iVar3 == 0) || (*piVar4 != 2)) {\n      *piVar4 = 0x1e;\n    }\n    else if (x->ignore_missing_files != false) goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" if (parenthesized_expression "(iVar3 == 0x1e)" ( (binary_expression "iVar3 == 0x1e" identifier == number_literal) )) (compound_statement "{\n    iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);\n    if ((iVar3 == 0) || (*piVar4 != 2)) {\n      *piVar4 = 0x1e;\n    }\n    else if (x->ignore_missing_files != false) goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" { (expression_statement "iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100);" (assignment_expression "iVar3 = __fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100)" identifier = (call_expression "__fxstatat64(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100)" identifier (argument_list "(3,fts->fts_cwd_fd,ent->fts_accpath,(stat64 *)&st,0x100)" ( number_literal , (field_expression "fts->fts_cwd_fd" identifier -> field_identifier) , (field_expression "ent->fts_accpath" identifier -> field_identifier) , (cast_expression "(stat64 *)&st" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&st" & identifier)) , number_literal )))) ;) (if_statement "if ((iVar3 == 0) || (*piVar4 != 2)) {\n      *piVar4 = 0x1e;\n    }\n    else if (x->ignore_missing_files != false) goto LAB_00013a9d;" if (parenthesized_expression "((iVar3 == 0) || (*piVar4 != 2))" ( (binary_expression "(iVar3 == 0) || (*piVar4 != 2)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar4 != 2)" ( (binary_expression "*piVar4 != 2" (pointer_expression "*piVar4" * identifier) != number_literal) ))) )) (compound_statement "{\n      *piVar4 = 0x1e;\n    }" { (expression_statement "*piVar4 = 0x1e;" (assignment_expression "*piVar4 = 0x1e" (pointer_expression "*piVar4" * identifier) = number_literal) ;) }) (else_clause "else if (x->ignore_missing_files != false) goto LAB_00013a9d;" else (if_statement "if (x->ignore_missing_files != false) goto LAB_00013a9d;" if (parenthesized_expression "(x->ignore_missing_files != false)" ( (binary_expression "x->ignore_missing_files != false" (field_expression "x->ignore_missing_files" identifier -> field_identifier) != false) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)))) (goto_statement "goto LAB_00013a39;" goto statement_identifier ;) })) (if_statement "if (x->ignore_missing_files == false) {\nLAB_00013a2e:\n    uVar1 = ent->fts_info;\n  }\n  else {\n    if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar3 == 2) goto LAB_00013a9d;\n    uVar1 = ent->fts_info;\n  }" if (parenthesized_expression "(x->ignore_missing_files == false)" ( (binary_expression "x->ignore_missing_files == false" (field_expression "x->ignore_missing_files" identifier -> field_identifier) == false) )) (compound_statement "{\nLAB_00013a2e:\n    uVar1 = ent->fts_info;\n  }" { (labeled_statement "LAB_00013a2e:\n    uVar1 = ent->fts_info;" statement_identifier : (expression_statement "uVar1 = ent->fts_info;" (assignment_expression "uVar1 = ent->fts_info" identifier = (field_expression "ent->fts_info" identifier -> field_identifier)) ;)) }) (else_clause "else {\n    if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar3 == 2) goto LAB_00013a9d;\n    uVar1 = ent->fts_info;\n  }" else (compound_statement "{\n    if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar3 == 2) goto LAB_00013a9d;\n    uVar1 = ent->fts_info;\n  }" { (if_statement "if (iVar3 == 0x14) {\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" if (parenthesized_expression "(iVar3 == 0x14)" ( (binary_expression "iVar3 == 0x14" identifier == number_literal) )) (compound_statement "{\nLAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" { (labeled_statement "LAB_00013a9d:\n      if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }" statement_identifier : (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return RM_OK;\n      }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        return RM_OK;\n      }" { (return_statement "return RM_OK;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0x14 < iVar3) {\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" if (parenthesized_expression "(0x14 < iVar3)" ( (binary_expression "0x14 < iVar3" number_literal < identifier) )) (compound_statement "{\n      if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" { (if_statement "if ((iVar3 == 0x16) || (iVar3 == 0x54)) goto LAB_00013a9d;" if (parenthesized_expression "((iVar3 == 0x16) || (iVar3 == 0x54))" ( (binary_expression "(iVar3 == 0x16) || (iVar3 == 0x54)" (parenthesized_expression "(iVar3 == 0x16)" ( (binary_expression "iVar3 == 0x16" identifier == number_literal) )) || (parenthesized_expression "(iVar3 == 0x54)" ( (binary_expression "iVar3 == 0x54" identifier == number_literal) ))) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)) (goto_statement "goto LAB_00013a2e;" goto statement_identifier ;) })) (if_statement "if (iVar3 == 2) goto LAB_00013a9d;" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)) (expression_statement "uVar1 = ent->fts_info;" (assignment_expression "uVar1 = ent->fts_info" identifier = (field_expression "ent->fts_info" identifier -> field_identifier)) ;) }))) (if_statement "if ((((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar4 = iVar2;\n  }" if (parenthesized_expression "((((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd))))" ( (binary_expression "(((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))" (parenthesized_expression "(((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0))" ( (binary_expression "((uVar1 == 4) && (iVar3 - 0x11U < 0x17)) && ((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0)" (parenthesized_expression "((uVar1 == 4) && (iVar3 - 0x11U < 0x17))" ( (binary_expression "(uVar1 == 4) && (iVar3 - 0x11U < 0x17)" (parenthesized_expression "(uVar1 == 4)" ( (binary_expression "uVar1 == 4" identifier == number_literal) )) && (parenthesized_expression "(iVar3 - 0x11U < 0x17)" ( (binary_expression "iVar3 - 0x11U < 0x17" (binary_expression "iVar3 - 0x11U" identifier - number_literal) < number_literal) ))) )) && (parenthesized_expression "((0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0)" ( (binary_expression "(0x400019U >> (iVar3 - 0x11U & 0x1f) & 1) != 0" (parenthesized_expression "(0x400019U >> (iVar3 - 0x11U & 0x1f) & 1)" ( (binary_expression "0x400019U >> (iVar3 - 0x11U & 0x1f) & 1" (binary_expression "0x400019U >> (iVar3 - 0x11U & 0x1f)" number_literal >> (parenthesized_expression "(iVar3 - 0x11U & 0x1f)" ( (binary_expression "iVar3 - 0x11U & 0x1f" (binary_expression "iVar3 - 0x11U" identifier - number_literal) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)))" ( (parenthesized_expression "(iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd))" ( (comma_expression "iVar2 = ent->fts_errno, iVar2 == 1 || (iVar2 == 0xd)" (assignment_expression "iVar2 = ent->fts_errno" identifier = (field_expression "ent->fts_errno" identifier -> field_identifier)) , (binary_expression "iVar2 == 1 || (iVar2 == 0xd)" (binary_expression "iVar2 == 1" identifier == number_literal) || (parenthesized_expression "(iVar2 == 0xd)" ( (binary_expression "iVar2 == 0xd" identifier == number_literal) )))) )) ))) )) (compound_statement "{\n    *piVar4 = iVar2;\n  }" { (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" * identifier) = identifier) ;) })) (labeled_statement "LAB_00013a39:\n  pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);" statement_identifier : (expression_statement "pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path);" (assignment_expression "pcVar5 = quotearg_style(shell_escape_always_quoting_style,ent->fts_path)" identifier = (call_expression "quotearg_style(shell_escape_always_quoting_style,ent->fts_path)" identifier (argument_list "(shell_escape_always_quoting_style,ent->fts_path)" ( identifier , (field_expression "ent->fts_path" identifier -> field_identifier) )))) ;)) (expression_statement "uVar6 = dcgettext(0,"cannot remove %s",5);" (assignment_expression "uVar6 = dcgettext(0,"cannot remove %s",5)" identifier = (call_expression "dcgettext(0,"cannot remove %s",5)" identifier (argument_list "(0,"cannot remove %s",5)" ( number_literal , (string_literal ""cannot remove %s"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(0,*piVar4,uVar6,pcVar5);" (call_expression "error(0,*piVar4,uVar6,pcVar5)" identifier (argument_list "(0,*piVar4,uVar6,pcVar5)" ( number_literal , (pointer_expression "*piVar4" * identifier) , identifier , identifier ))) ;) })))
(translation_unit "undefined4 __regparm3 FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)\n\n{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    \n  error(0,*piVar3,uVar5,uVar4);\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)\n\n{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    \n  error(0,*piVar3,uVar5,uVar4);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)" identifier (parameter_list "(int param_1,int param_2,char *param_3,char param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char param_4" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    \n  error(0,*piVar3,uVar5,uVar4);\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x139af;" (assignment_expression "uStack_14 = 0x139af" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;" (assignment_expression "iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" identifier = (call_expression "unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" identifier (argument_list "(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" ( (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(char **)(param_2 + 0x18)" * (cast_expression "(char **)(param_2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (binary_expression "(uint)(param_4 != '\0') << 9" (call_expression "(uint)(param_4 != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != '\0')" ( (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) << number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }" { (if_statement "if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }" if (parenthesized_expression "(param_3[0x12] != '\0')" ( (binary_expression "param_3[0x12] != '\0'" (subscript_expression "param_3[0x12]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }" { (expression_statement "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (assignment_expression "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier = (call_expression "FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier (argument_list "(4,*(undefined4 *)(param_2 + 0x1c))" ( number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" if (parenthesized_expression "(param_4 == '\0')" ( (binary_expression "param_4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }" { (expression_statement "uVar5 = dcgettext(0,"removed %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"removed %s\n",5)" identifier = (call_expression "dcgettext(0,"removed %s\n",5)" identifier (argument_list "(0,"removed %s\n",5)" ( number_literal , (string_literal ""removed %s\n"" " string_content escape_sequence ") , number_literal )))) ;) }) (else_clause "else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" else (compound_statement "{\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" { (expression_statement "uVar5 = dcgettext(0,"removed directory %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"removed directory %s\n",5)" identifier = (call_expression "dcgettext(0,"removed directory %s\n",5)" identifier (argument_list "(0,"removed directory %s\n",5)" ( number_literal , (string_literal ""removed directory %s\n"" " string_content escape_sequence ") , number_literal )))) ;) }))) (expression_statement "__printf_chk(1,uVar5,uVar4);" (call_expression "__printf_chk(1,uVar5,uVar4)" identifier (argument_list "(1,uVar5,uVar4)" ( number_literal , identifier , identifier ))) ;) })) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;) })) (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" if (parenthesized_expression "(iVar2 == 0x1e)" ( (binary_expression "iVar2 == 0x1e" identifier == number_literal) )) (compound_statement "{\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" { (expression_statement "iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);" (assignment_expression "iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" identifier = (call_expression "__fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" identifier (argument_list "(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" ( number_literal , (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(char **)(param_2 + 0x18)" * (cast_expression "(char **)(param_2 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "&local_80" & identifier) , number_literal )))) ;) (if_statement "if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;" if (parenthesized_expression "((iVar2 == 0) || (*piVar3 != 2))" ( (binary_expression "(iVar2 == 0) || (*piVar3 != 2)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) (compound_statement "{\n      *piVar3 = 0x1e;\n    }" { (expression_statement "*piVar3 = 0x1e;" (assignment_expression "*piVar3 = 0x1e" (pointer_expression "*piVar3" * identifier) = number_literal) ;) }) (else_clause "else if (*param_3 != '\0') goto LAB_00013a9d;" else (if_statement "if (*param_3 != '\0') goto LAB_00013a9d;" if (parenthesized_expression "(*param_3 != '\0')" ( (binary_expression "*param_3 != '\0'" (pointer_expression "*param_3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)))) (goto_statement "goto LAB_00013a39;" goto statement_identifier ;) })) (if_statement "if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" if (parenthesized_expression "(*param_3 == '\0')" ( (binary_expression "*param_3 == '\0'" (pointer_expression "*param_3" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" { (labeled_statement "LAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);" statement_identifier : (expression_statement "sVar1 = *(short *)(param_2 + 0x3c);" (assignment_expression "sVar1 = *(short *)(param_2 + 0x3c)" identifier = (pointer_expression "*(short *)(param_2 + 0x3c)" * (cast_expression "(short *)(param_2 + 0x3c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" else (compound_statement "{\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" { (if_statement "if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }" if (parenthesized_expression "(iVar2 == 0x14)" ( (binary_expression "iVar2 == 0x14" identifier == number_literal) )) (compound_statement "{\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }" { (labeled_statement "LAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) }))) (expression_statement "FUN_0002bfb0();" (call_expression "FUN_0002bfb0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" if (parenthesized_expression "(0x14 < iVar2)" ( (binary_expression "0x14 < iVar2" number_literal < identifier) )) (compound_statement "{\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" { (if_statement "if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;" if (parenthesized_expression "((iVar2 == 0x16) || (iVar2 == 0x54))" ( (binary_expression "(iVar2 == 0x16) || (iVar2 == 0x54)" (parenthesized_expression "(iVar2 == 0x16)" ( (binary_expression "iVar2 == 0x16" identifier == number_literal) )) || (parenthesized_expression "(iVar2 == 0x54)" ( (binary_expression "iVar2 == 0x54" identifier == number_literal) ))) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)) (goto_statement "goto LAB_00013a2e;" goto statement_identifier ;) })) (if_statement "if (iVar2 == 2) goto LAB_00013a9d;" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00013a9d;" goto statement_identifier ;)) (expression_statement "sVar1 = *(short *)(param_2 + 0x3c);" (assignment_expression "sVar1 = *(short *)(param_2 + 0x3c)" identifier = (pointer_expression "*(short *)(param_2 + 0x3c)" * (cast_expression "(short *)(param_2 + 0x3c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;) }))) (if_statement "if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }" if (parenthesized_expression "((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd))))" ( (binary_expression "(((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))" (parenthesized_expression "(((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))" ( (binary_expression "((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0)" (parenthesized_expression "((sVar1 == 4) && (iVar2 - 0x11U < 0x17))" ( (binary_expression "(sVar1 == 4) && (iVar2 - 0x11U < 0x17)" (parenthesized_expression "(sVar1 == 4)" ( (binary_expression "sVar1 == 4" identifier == number_literal) )) && (parenthesized_expression "(iVar2 - 0x11U < 0x17)" ( (binary_expression "iVar2 - 0x11U < 0x17" (binary_expression "iVar2 - 0x11U" identifier - number_literal) < number_literal) ))) )) && (parenthesized_expression "((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0)" ( (binary_expression "(0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0" (parenthesized_expression "(0x400019U >> (iVar2 - 0x11U & 0x1f) & 1)" ( (binary_expression "0x400019U >> (iVar2 - 0x11U & 0x1f) & 1" (binary_expression "0x400019U >> (iVar2 - 0x11U & 0x1f)" number_literal >> (parenthesized_expression "(iVar2 - 0x11U & 0x1f)" ( (binary_expression "iVar2 - 0x11U & 0x1f" (binary_expression "iVar2 - 0x11U" identifier - number_literal) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))" ( (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd))" ( (comma_expression "iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" identifier = (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar2 == 1 || (iVar2 == 0xd)" (binary_expression "iVar2 == 1" identifier == number_literal) || (parenthesized_expression "(iVar2 == 0xd)" ( (binary_expression "iVar2 == 0xd" identifier == number_literal) )))) )) ))) )) (compound_statement "{\n    *piVar3 = iVar2;\n  }" { (expression_statement "*piVar3 = iVar2;" (assignment_expression "*piVar3 = iVar2" (pointer_expression "*piVar3" * identifier) = identifier) ;) })) (labeled_statement "LAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" statement_identifier : (expression_statement "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (assignment_expression "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier = (call_expression "FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" identifier (argument_list "(4,*(undefined4 *)(param_2 + 0x1c))" ( number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) )))) ;)) (expression_statement "uVar5 = dcgettext(0,"cannot remove %s",5);" (assignment_expression "uVar5 = dcgettext(0,"cannot remove %s",5)" identifier = (call_expression "dcgettext(0,"cannot remove %s",5)" identifier (argument_list "(0,"cannot remove %s",5)" ( number_literal , (string_literal ""cannot remove %s"" " string_content ") , number_literal )))) ;) (expression_statement "error(0,*piVar3,uVar5,uVar4);" (call_expression "error(0,*piVar3,uVar5,uVar4)" identifier (argument_list "(0,*piVar3,uVar5,uVar4)" ( number_literal , (pointer_expression "*piVar3" * identifier) , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) << LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 LIT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) , IDENT , IDENT ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)\n\n{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    \n  error(0,*piVar3,uVar5,uVar4);\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000139a0(int param_1,int param_2,char *param_3,char param_4)" (identifier "FUN_000139a0") (parameter_list "(int param_1,int param_2,char *param_3,char param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "char param_4" (primitive_type "char") (identifier "param_4")) () ")"))) (compound_statement "{\n  short sVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x139af;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;\n  if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }\n  piVar3 = __errno_location();\n  iVar2 = *piVar3;\n  if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }\n  if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }\nLAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n  uVar5 = dcgettext(0,"cannot remove %s",5);\n                    \n  error(0,*piVar3,uVar5,uVar4);\n}" ({ "{") (declaration "short sVar1;" (sized_type_specifier "short" (short "short")) (identifier "sVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "stat64 local_80;" (type_identifier "stat64") (identifier "local_80") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x139af;" (assignment_expression "uStack_14 = 0x139af" (identifier "uStack_14") (= "=") (number_literal "0x139af")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)\n  ;" (assignment_expression "iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" (identifier "iVar2") (= "=") (call_expression "unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" (identifier "unlinkat") (argument_list "(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)" (( "(") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (pointer_expression "*(char **)(param_2 + 0x18)" (* "*") (cast_expression "(char **)(param_2 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (binary_expression "(uint)(param_4 != '\0') << 9" (call_expression "(uint)(param_4 != '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 != '\0')" (( "(") (binary_expression "param_4 != '\0'" (identifier "param_4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) (<< "<<") (number_literal "9")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }\n    goto LAB_00013a9d;\n  }" ({ "{") (if_statement "if (param_3[0x12] != '\0') {\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }" (if "if") (parenthesized_expression "(param_3[0x12] != '\0')" (( "(") (binary_expression "param_3[0x12] != '\0'" (subscript_expression "param_3[0x12]" (identifier "param_3") ([ "[") (number_literal "0x12") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));\n      if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }\n      __printf_chk(1,uVar5,uVar4);\n    }" ({ "{") (expression_statement "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (assignment_expression "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" (identifier "uVar4") (= "=") (call_expression "FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" (identifier "FUN_00020410") (argument_list "(4,*(undefined4 *)(param_2 + 0x1c))" (( "(") (number_literal "4") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) (; ";")) (if_statement "if (param_4 == '\0') {\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }\n      else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" (if "if") (parenthesized_expression "(param_4 == '\0')" (( "(") (binary_expression "param_4 == '\0'" (identifier "param_4") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar5 = dcgettext(0,"removed %s\n",5);\n      }" ({ "{") (expression_statement "uVar5 = dcgettext(0,"removed %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"removed %s\n",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"removed %s\n",5)" (identifier "dcgettext") (argument_list "(0,"removed %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""removed %s\n"" (" """) (string_content "removed %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" (else "else") (compound_statement "{\n        uVar5 = dcgettext(0,"removed directory %s\n",5);\n      }" ({ "{") (expression_statement "uVar5 = dcgettext(0,"removed directory %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"removed directory %s\n",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"removed directory %s\n",5)" (identifier "dcgettext") (argument_list "(0,"removed directory %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""removed directory %s\n"" (" """) (string_content "removed directory %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (} "}")))) (expression_statement "__printf_chk(1,uVar5,uVar4);" (call_expression "__printf_chk(1,uVar5,uVar4)" (identifier "__printf_chk") (argument_list "(1,uVar5,uVar4)" (( "(") (number_literal "1") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_00013a9d;" (goto "goto") (statement_identifier "LAB_00013a9d") (; ";")) (} "}"))) (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" (identifier "piVar3") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" (identifier "iVar2") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if (iVar2 == 0x1e) {\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0x1e)" (( "(") (binary_expression "iVar2 == 0x1e" (identifier "iVar2") (== "==") (number_literal "0x1e")) () ")")) (compound_statement "{\n    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);\n    if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;\n    goto LAB_00013a39;\n  }" ({ "{") (expression_statement "iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);" (assignment_expression "iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" (identifier "iVar2") (= "=") (call_expression "__fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" (identifier "__fxstatat64") (argument_list "(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100)" (( "(") (number_literal "3") (, ",") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (pointer_expression "*(char **)(param_2 + 0x18)" (* "*") (cast_expression "(char **)(param_2 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "&local_80" (& "&") (identifier "local_80")) (, ",") (number_literal "0x100") () ")")))) (; ";")) (if_statement "if ((iVar2 == 0) || (*piVar3 != 2)) {\n      *piVar3 = 0x1e;\n    }\n    else if (*param_3 != '\0') goto LAB_00013a9d;" (if "if") (parenthesized_expression "((iVar2 == 0) || (*piVar3 != 2))" (( "(") (binary_expression "(iVar2 == 0) || (*piVar3 != 2)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*piVar3 != 2)" (( "(") (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n      *piVar3 = 0x1e;\n    }" ({ "{") (expression_statement "*piVar3 = 0x1e;" (assignment_expression "*piVar3 = 0x1e" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0x1e")) (; ";")) (} "}")) (else_clause "else if (*param_3 != '\0') goto LAB_00013a9d;" (else "else") (if_statement "if (*param_3 != '\0') goto LAB_00013a9d;" (if "if") (parenthesized_expression "(*param_3 != '\0')" (( "(") (binary_expression "*param_3 != '\0'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00013a9d;" (goto "goto") (statement_identifier "LAB_00013a9d") (; ";"))))) (goto_statement "goto LAB_00013a39;" (goto "goto") (statement_identifier "LAB_00013a39") (; ";")) (} "}"))) (if_statement "if (*param_3 == '\0') {\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }\n  else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" (if "if") (parenthesized_expression "(*param_3 == '\0')" (( "(") (binary_expression "*param_3 == '\0'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" ({ "{") (labeled_statement "LAB_00013a2e:\n    sVar1 = *(short *)(param_2 + 0x3c);" (statement_identifier "LAB_00013a2e") (: ":") (expression_statement "sVar1 = *(short *)(param_2 + 0x3c);" (assignment_expression "sVar1 = *(short *)(param_2 + 0x3c)" (identifier "sVar1") (= "=") (pointer_expression "*(short *)(param_2 + 0x3c)" (* "*") (cast_expression "(short *)(param_2 + 0x3c)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3c)" (( "(") (binary_expression "param_2 + 0x3c" (identifier "param_2") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" (else "else") (compound_statement "{\n    if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }\n    if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }\n    if (iVar2 == 2) goto LAB_00013a9d;\n    sVar1 = *(short *)(param_2 + 0x3c);\n  }" ({ "{") (if_statement "if (iVar2 == 0x14) {\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }" (if "if") (parenthesized_expression "(iVar2 == 0x14)" (( "(") (binary_expression "iVar2 == 0x14" (identifier "iVar2") (== "==") (number_literal "0x14")) () ")")) (compound_statement "{\nLAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }\n                    \n      FUN_0002bfb0();\n    }" ({ "{") (labeled_statement "LAB_00013a9d:\n      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }" (statement_identifier "LAB_00013a9d") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 2;\n      }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n        return 2;\n      }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}")))) (expression_statement "FUN_0002bfb0();" (call_expression "FUN_0002bfb0()" (identifier "FUN_0002bfb0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (0x14 < iVar2) {\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" (if "if") (parenthesized_expression "(0x14 < iVar2)" (( "(") (binary_expression "0x14 < iVar2" (number_literal "0x14") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;\n      goto LAB_00013a2e;\n    }" ({ "{") (if_statement "if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;" (if "if") (parenthesized_expression "((iVar2 == 0x16) || (iVar2 == 0x54))" (( "(") (binary_expression "(iVar2 == 0x16) || (iVar2 == 0x54)" (parenthesized_expression "(iVar2 == 0x16)" (( "(") (binary_expression "iVar2 == 0x16" (identifier "iVar2") (== "==") (number_literal "0x16")) () ")")) (|| "||") (parenthesized_expression "(iVar2 == 0x54)" (( "(") (binary_expression "iVar2 == 0x54" (identifier "iVar2") (== "==") (number_literal "0x54")) () ")"))) () ")")) (goto_statement "goto LAB_00013a9d;" (goto "goto") (statement_identifier "LAB_00013a9d") (; ";"))) (goto_statement "goto LAB_00013a2e;" (goto "goto") (statement_identifier "LAB_00013a2e") (; ";")) (} "}"))) (if_statement "if (iVar2 == 2) goto LAB_00013a9d;" (if "if") (parenthesized_expression "(iVar2 == 2)" (( "(") (binary_expression "iVar2 == 2" (identifier "iVar2") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00013a9d;" (goto "goto") (statement_identifier "LAB_00013a9d") (; ";"))) (expression_statement "sVar1 = *(short *)(param_2 + 0x3c);" (assignment_expression "sVar1 = *(short *)(param_2 + 0x3c)" (identifier "sVar1") (= "=") (pointer_expression "*(short *)(param_2 + 0x3c)" (* "*") (cast_expression "(short *)(param_2 + 0x3c)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3c)" (( "(") (binary_expression "param_2 + 0x3c" (identifier "param_2") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (} "}")))) (if_statement "if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {\n    *piVar3 = iVar2;\n  }" (if "if") (parenthesized_expression "((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd))))" (( "(") (binary_expression "(((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))\n     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))" (parenthesized_expression "(((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))" (( "(") (binary_expression "((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0)" (parenthesized_expression "((sVar1 == 4) && (iVar2 - 0x11U < 0x17))" (( "(") (binary_expression "(sVar1 == 4) && (iVar2 - 0x11U < 0x17)" (parenthesized_expression "(sVar1 == 4)" (( "(") (binary_expression "sVar1 == 4" (identifier "sVar1") (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 - 0x11U < 0x17)" (( "(") (binary_expression "iVar2 - 0x11U < 0x17" (binary_expression "iVar2 - 0x11U" (identifier "iVar2") (- "-") (number_literal "0x11U")) (< "<") (number_literal "0x17")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0)" (( "(") (binary_expression "(0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0" (parenthesized_expression "(0x400019U >> (iVar2 - 0x11U & 0x1f) & 1)" (( "(") (binary_expression "0x400019U >> (iVar2 - 0x11U & 0x1f) & 1" (binary_expression "0x400019U >> (iVar2 - 0x11U & 0x1f)" (number_literal "0x400019U") (>> ">>") (parenthesized_expression "(iVar2 - 0x11U & 0x1f)" (( "(") (binary_expression "iVar2 - 0x11U & 0x1f" (binary_expression "iVar2 - 0x11U" (identifier "iVar2") (- "-") (number_literal "0x11U")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))" (( "(") (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd))" (( "(") (comma_expression "iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (, ",") (binary_expression "iVar2 == 1 || (iVar2 == 0xd)" (binary_expression "iVar2 == 1" (identifier "iVar2") (== "==") (number_literal "1")) (|| "||") (parenthesized_expression "(iVar2 == 0xd)" (( "(") (binary_expression "iVar2 == 0xd" (identifier "iVar2") (== "==") (number_literal "0xd")) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    *piVar3 = iVar2;\n  }" ({ "{") (expression_statement "*piVar3 = iVar2;" (assignment_expression "*piVar3 = iVar2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (labeled_statement "LAB_00013a39:\n  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (statement_identifier "LAB_00013a39") (: ":") (expression_statement "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));" (assignment_expression "uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" (identifier "uVar4") (= "=") (call_expression "FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c))" (identifier "FUN_00020410") (argument_list "(4,*(undefined4 *)(param_2 + 0x1c))" (( "(") (number_literal "4") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) (; ";"))) (expression_statement "uVar5 = dcgettext(0,"cannot remove %s",5);" (assignment_expression "uVar5 = dcgettext(0,"cannot remove %s",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"cannot remove %s",5)" (identifier "dcgettext") (argument_list "(0,"cannot remove %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""cannot remove %s"" (" """) (string_content "cannot remove %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(0,*piVar3,uVar5,uVar4);" (call_expression "error(0,*piVar3,uVar5,uVar4)" (identifier "error") (argument_list "(0,*piVar3,uVar5,uVar4)" (( "(") (number_literal "0") (, ",") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}")))

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

type_1 __regparm3 function_1(type_2 *fts,type_3 *ent,type_4 *x,type_5 is_dir)

{
  type_6 var_11;
  int var_9;
  int var_3;
  int *piVar4;
  char *pcVar5;
  type_7 uVar6;
  int var_1;
  type_8 st;
  
  var_9 = *(int *)(var_1 + 0x14);
  var_3 = var_2(fts->fts_cwd_fd,ent->fts_accpath,(type_9)is_dir << 9);
  if (var_3 == 0) {
    if (x->verbose != false) {
      pcVar5 = var_4(shell_escape_always_quoting_style,ent->fts_path);
      if (is_dir) {
        uVar6 = var_5(0,"removed directory %s\n",5);
      }
      else {
        uVar6 = var_5(0,"removed %s\n",5);
      }
      var_6(1,uVar6,pcVar5);
    }
    goto LAB_00013a9d;
  }
  piVar4 = var_7();
  var_3 = *piVar4;
  if (var_3 == 0x1e) {
    var_3 = var_8(3,fts->fts_cwd_fd,ent->fts_accpath,(type_10 *)&st,0x100);
    if ((var_3 == 0) || (*piVar4 != 2)) {
      *piVar4 = 0x1e;
    }
    else if (x->ignore_missing_files != false) goto LAB_00013a9d;
    goto LAB_00013a39;
  }
  if (x->ignore_missing_files == false) {
LAB_00013a2e:
    var_11 = ent->fts_info;
  }
  else {
    if (var_3 == 0x14) {
LAB_00013a9d:
      if (var_9 == *(int *)(var_1 + 0x14)) {
        return RM_OK;
      }
                    /* WARNING: Subroutine does not return */
      var_10();
    }
    if (0x14 < var_3) {
      if ((var_3 == 0x16) || (var_3 == 0x54)) goto LAB_00013a9d;
      goto LAB_00013a2e;
    }
    if (var_3 == 2) goto LAB_00013a9d;
    var_11 = ent->fts_info;
  }
  if ((((var_11 == 4) && (var_3 - 0x11U < 0x17)) && ((0x400019U >> (var_3 - 0x11U & 0x1f) & 1) != 0))
     && ((var_9 = ent->fts_errno, var_9 == 1 || (var_9 == 0xd)))) {
    *piVar4 = var_9;
  }
LAB_00013a39:
  pcVar5 = var_4(shell_escape_always_quoting_style,ent->fts_path);
  uVar6 = var_5(0,"cannot remove %s",5);
                    /* WARNING: Subroutine does not return */
  var_12(0,*piVar4,uVar6,pcVar5);
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (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: (number_literal))))) (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (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))))) (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: (number_literal))))) (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (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)))))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (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) (pointer_expression argument: (identifier)) (identifier) (identifier)))))))

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

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

{
  short sVar1;
  int iVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int in_GS_OFFSET;
  stat64 local_80;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x139af;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = unlinkat(*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),(uint)(param_4 != '\0') << 9)
  ;
  if (iVar2 == 0) {
    if (param_3[0x12] != '\0') {
      uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));
      if (param_4 == '\0') {
        uVar5 = dcgettext(0,"removed %s\n",5);
      }
      else {
        uVar5 = dcgettext(0,"removed directory %s\n",5);
      }
      __printf_chk(1,uVar5,uVar4);
    }
    goto LAB_00013a9d;
  }
  piVar3 = __errno_location();
  iVar2 = *piVar3;
  if (iVar2 == 0x1e) {
    iVar2 = __fxstatat64(3,*(int *)(param_1 + 0x1c),*(char **)(param_2 + 0x18),&local_80,0x100);
    if ((iVar2 == 0) || (*piVar3 != 2)) {
      *piVar3 = 0x1e;
    }
    else if (*param_3 != '\0') goto LAB_00013a9d;
    goto LAB_00013a39;
  }
  if (*param_3 == '\0') {
LAB_00013a2e:
    sVar1 = *(short *)(param_2 + 0x3c);
  }
  else {
    if (iVar2 == 0x14) {
LAB_00013a9d:
      if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
        return 2;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0002bfb0();
    }
    if (0x14 < iVar2) {
      if ((iVar2 == 0x16) || (iVar2 == 0x54)) goto LAB_00013a9d;
      goto LAB_00013a2e;
    }
    if (iVar2 == 2) goto LAB_00013a9d;
    sVar1 = *(short *)(param_2 + 0x3c);
  }
  if ((((sVar1 == 4) && (iVar2 - 0x11U < 0x17)) && ((0x400019U >> (iVar2 - 0x11U & 0x1f) & 1) != 0))
     && ((iVar2 = *(int *)(param_2 + 0x20), iVar2 == 1 || (iVar2 == 0xd)))) {
    *piVar3 = iVar2;
  }
LAB_00013a39:
  uVar4 = FUN_00020410(4,*(undefined4 *)(param_2 + 0x1c));
  uVar5 = dcgettext(0,"cannot remove %s",5);
                    /* WARNING: Subroutine does not return */
  error(0,*piVar3,uVar5,uVar4);
}

