
_Bool restorecon(char *path,_Bool recurse,_Bool local)

{
  undefined *puVar1;
  FTSENT *pFVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined3 in_register_00000014;
  int iVar5;
  undefined3 in_register_00000018;
  uint uVar6;
  undefined1 uVar7;
  int iVar8;
  char *pcVar9;
  char *ftspath [2];
  
  puVar1 = PTR___stack_chk_guard_000466a0;
  uVar6 = CONCAT31(in_register_00000014,recurse);
  iVar5 = *(int *)PTR___stack_chk_guard_000466a0;
  if ((*path == '/') || (CONCAT31(in_register_00000018,local) != 0)) {
    pcVar9 = (char *)0x0;
    ftspath[0] = path;
    if (uVar6 != 0) goto LAB_0001dea0;
LAB_0001e028:
    path = ftspath[0];
    ftspath[1] = (char *)0x0;
    iVar8 = restorecon_private(ftspath[0],local);
    uVar7 = iVar8 != -1;
    (*(code *)PTR_free_000466a8)(pcVar9);
  }
  else {
    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);
    if (pcVar9 == (char *)0x0) goto LAB_0001e068;
    ftspath[0] = pcVar9;
    if (uVar6 == 0) goto LAB_0001e028;
LAB_0001dea0:
    ftspath[1] = (char *)0x0;
    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);
    while( true ) {
      uVar7 = (undefined1)uVar6;
      pFVar2 = fts_read((FTS *)path);
      if (pFVar2 == (FTSENT *)0x0) break;
      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);
      uVar6 = uVar6 & iVar8 != -1;
    }
    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();
    iVar8 = *piVar3;
    if (iVar8 == 0) {
      iVar8 = fts_close((FTS *)path);
    }
    else {
      uVar7 = 0;
      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);
      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);
      iVar8 = fts_close((FTS *)path);
    }
    if (iVar8 != 0) {
      iVar8 = *piVar3;
      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);
      uVar7 = 0;
      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);
    }
    (*(code *)PTR_free_000466a8)(pcVar9);
  }
  if (iVar5 == *(int *)puVar1) {
    return (_Bool)uVar7;
  }
  (*(code *)PTR___stack_chk_fail_00046664)();
LAB_0001e068:
  (*(code *)PTR___errno_location_0004656c)();
  (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);
                    /* WARNING: Subroutine does not return */
  quotearg_style(shell_escape_always_quoting_style,path);
}



uint restorecon(char *param_1,uint param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  uint uVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  char *pcVar9;
  undefined *puVar10;
  undefined1 *puVar11;
  char *local_2c;
  undefined4 local_28;
  int local_24;
  
  puVar10 = PTR___stack_chk_guard_000466a0;
  local_24 = *(int *)PTR___stack_chk_guard_000466a0;
  if ((*param_1 == '/') || (param_3 != 0)) {
    pcVar9 = (char *)0x0;
    local_2c = param_1;
    if (param_2 != 0) goto LAB_0001dea0;
LAB_0001e028:
    param_1 = local_2c;
    local_28 = 0;
    iVar1 = FUN_0001d770(local_2c,param_3);
    param_2 = (uint)(iVar1 != -1);
    (*(code *)PTR_free_000466a8)(pcVar9);
  }
  else {
    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);
    if (pcVar9 == (char *)0x0) goto LAB_0001e068;
    local_2c = pcVar9;
    if (param_2 == 0) goto LAB_0001e028;
LAB_0001dea0:
    local_28 = 0;
    param_1 = (char *)xfts_open(&local_2c,0x10,0);
    while (iVar1 = fts_read(param_1), iVar1 != 0) {
      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);
      param_2 = param_2 & iVar1 != -1;
    }
    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();
    iVar1 = *piVar2;
    if (iVar1 == 0) {
      iVar1 = fts_close(param_1);
    }
    else {
      param_2 = 0;
      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);
      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);
      iVar1 = fts_close(param_1);
    }
    if (iVar1 != 0) {
      iVar1 = *piVar2;
      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);
      param_2 = 0;
      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);
    }
    (*(code *)PTR_free_000466a8)(pcVar9);
  }
  if (local_24 == *(int *)puVar10) {
    return param_2;
  }
  (*(code *)PTR___stack_chk_fail_00046664)();
LAB_0001e068:
  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();
  uVar8 = *puVar3;
  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);
  uVar5 = quotearg_style(4,param_1);
  uVar7 = 1;
  puVar10 = PTR_error_00046600;
  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);
  puVar11 = &_gp_1;
  uVar6 = qcopy_acl();
  if (uVar6 != 0xfffffffe) {
    if (uVar6 == 0xffffffff) {
      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();
      uVar7 = *puVar3;
      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);
      uVar4 = quote(uVar4);
      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);
    }
    return uVar6;
  }
  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();
  uVar5 = *puVar3;
  uVar4 = quote(uVar7);
  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);
  return 0xfffffffe;
}


lui gp,0x3
addiu gp,gp,0x2e0
addu gp,gp,t9
addiu sp,sp,-0x48
li v0,0x2f
sw s4,0x3c(sp)
sw s2,0x34(sp)
or s2,a2,zero
sw s1,0x30(sp)
or s1,a0,zero
sw s0,0x2c(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x44(sp)
sw s5,0x40(sp)
sw s3,0x38(sp)
lw s4,-0x7a70(gp)
lb v1,0x0(a0)
lw a1,0x0(s4)
sw a1,0x24(sp)
beq v1,v0,0x0001de90
_nop
beq a2,zero,0x0001e004
_lw t9,-0x7e5c(gp)
or s5,zero,zero
sw s1,0x1c(sp)
beq s0,zero,0x0001e028
_sw zero,0x20(sp)
lw t9,-0x7e58(gp)
or a2,zero,zero
li a1,0x10
bal 0x00028ae0
_addiu a0,sp,0x1c
lw gp,0x10(sp)
or s1,v0,zero
lw s3,-0x7e90(gp)
b 0x0001dee8
_addiu s3,s3,-0x2890
lw a0,0x18(s1)
or t9,s3,zero
bal 0x0001d770
_or a1,s2,zero
addiu v0,v0,0x1
lw gp,0x10(sp)
sltu v0,zero,v0
and s0,s0,v0
lw t9,-0x7e54(gp)
bal 0x0002bca8
_or a0,s1,zero
bne v0,zero,0x0001dec8
_lw gp,0x10(sp)
lw t9,-0x7ba4(gp)
jalr t9
_nop
lw s3,0x0(v0)
or s2,v0,zero
bne s3,zero,0x0001dfb0
_lw gp,0x10(sp)
lw t9,-0x7e50(gp)
bal 0x0002ba5c
_or a0,s1,zero
bne v0,zero,0x0001df70
_lw gp,0x10(sp)
lw t9,-0x7a68(gp)
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
lw a0,0x24(sp)
or v0,s0,zero
lw v1,0x0(s4)
bne a0,v1,0x0001e05c
_lw ra,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x48
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7aa0(gp)
or a0,zero,zero
lw s0,0x0(s2)
jalr t9
_addiu a1,a1,0x3ce8
or a0,zero,zero
lw gp,0x10(sp)
or a1,s0,zero
or a2,v0,zero
lw t9,-0x7b10(gp)
jalr t9
_or s0,zero,zero
b 0x0001df2c
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7aa0(gp)
or a0,zero,zero
or s0,zero,zero
jalr t9
_addiu a1,a1,0x3cd8
or a0,zero,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7b10(gp)
jalr t9
_or a1,s3,zero
lw gp,0x10(sp)
lw t9,-0x7e50(gp)
bal 0x0002ba5c
_or a0,s1,zero
beq v0,zero,0x0001df2c
_lw gp,0x10(sp)
b 0x0001df74
_lw a1,-0x7fc8(gp)
bal 0x0001ee90
_li a1,0x2
lw gp,0x10(sp)
beq v0,zero,0x0001e068
_or s5,v0,zero
or s1,v0,zero
sw zero,0x20(sp)
bne s0,zero,0x0001dea0
_sw s1,0x1c(sp)
lw t9,-0x7e90(gp)
or a0,s1,zero
addiu t9,t9,-0x2890
bal 0x0001d770
_or a1,s2,zero
or a0,s5,zero
lw gp,0x10(sp)
addiu v0,v0,0x1
lw t9,-0x7a68(gp)
jalr t9
_sltu s0,zero,v0
b 0x0001df3c
_lw gp,0x10(sp)
lw t9,-0x7aac(gp)
jalr t9
_nop
lw t9,-0x7ba4(gp)
jalr t9
_nop
li a2,0x5
lw gp,0x10(sp)
or a0,zero,zero
lw s0,0x0(v0)
lw a1,-0x7fc8(gp)
lw t9,-0x7aa0(gp)
jalr t9
_addiu a1,a1,0x3cc0
li a0,0x4
lw gp,0x10(sp)
or a1,s1,zero
lw t9,-0x7fc0(gp)
bal 0x00024cc0
_or s1,v0,zero
li a0,0x1
lw gp,0x10(sp)
or a3,v0,zero
or a2,s1,zero
lw t9,-0x7b10(gp)
jalr t9
_or a1,s0,zero
nop
nop
(translation_unit "uint restorecon(char *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}\n\n" (function_definition "uint restorecon(char *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}" type_identifier (function_declarator "restorecon(char *param_1,uint param_2,int param_3)" identifier (parameter_list "(char *param_1,uint param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_000466a0;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000466a0" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000466a0;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000466a0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000466a0" * (cast_expression "(int *)PTR___stack_chk_guard_000466a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" if (parenthesized_expression "((*param_1 == '/') || (param_3 != 0))" ( (binary_expression "(*param_1 == '/') || (param_3 != 0)" (parenthesized_expression "(*param_1 == '/')" ( (binary_expression "*param_1 == '/'" (pointer_expression "*param_1" * identifier) == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c = param_1;" (assignment_expression "local_2c = param_1" identifier = identifier) ;) (if_statement "if (param_2 != 0) goto LAB_0001dea0;" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001dea0;" goto statement_identifier ;)) (labeled_statement "LAB_0001e028:\n    param_1 = local_2c;" statement_identifier : (expression_statement "param_1 = local_2c;" (assignment_expression "param_1 = local_2c" identifier = identifier) ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_0001d770(local_2c,param_3);" (assignment_expression "iVar1 = FUN_0001d770(local_2c,param_3)" identifier = (call_expression "FUN_0001d770(local_2c,param_3)" identifier (argument_list "(local_2c,param_3)" ( identifier , identifier )))) ;) (expression_statement "param_2 = (uint)(iVar1 != -1);" (assignment_expression "param_2 = (uint)(iVar1 != -1)" identifier = (call_expression "(uint)(iVar1 != -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )))) ;) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" ( (pointer_expression "*(code *)PTR_free_000466a8" * (cast_expression "(code *)PTR_free_000466a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier ))) ;) }) (else_clause "else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" else (compound_statement "{\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)canonicalize_filename_mode(param_1,2);" (assignment_expression "pcVar9 = (char *)canonicalize_filename_mode(param_1,2)" identifier = (cast_expression "(char *)canonicalize_filename_mode(param_1,2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "canonicalize_filename_mode(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_0001e068;" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001e068;" goto statement_identifier ;)) (expression_statement "local_2c = pcVar9;" (assignment_expression "local_2c = pcVar9" identifier = identifier) ;) (if_statement "if (param_2 == 0) goto LAB_0001e028;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001e028;" goto statement_identifier ;)) (labeled_statement "LAB_0001dea0:\n    local_28 = 0;" statement_identifier : (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;)) (expression_statement "param_1 = (char *)xfts_open(&local_2c,0x10,0);" (assignment_expression "param_1 = (char *)xfts_open(&local_2c,0x10,0)" identifier = (cast_expression "(char *)xfts_open(&local_2c,0x10,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xfts_open(&local_2c,0x10,0)" identifier (argument_list "(&local_2c,0x10,0)" ( (pointer_expression "&local_2c" & identifier) , number_literal , number_literal ))))) ;) (while_statement "while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }" while (parenthesized_expression "(iVar1 = fts_read(param_1), iVar1 != 0)" ( (comma_expression "iVar1 = fts_read(param_1), iVar1 != 0" (assignment_expression "iVar1 = fts_read(param_1)" identifier = (call_expression "fts_read(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }" { (expression_statement "iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);" (assignment_expression "iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3)" identifier = (call_expression "FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "param_2 = param_2 & iVar1 != -1;" (assignment_expression "param_2 = param_2 & iVar1 != -1" identifier = (binary_expression "param_2 & iVar1 != -1" identifier & (binary_expression "iVar1 != -1" identifier != number_literal))) ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0004656c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" ( (pointer_expression "*(code *)PTR___errno_location_0004656c" * (cast_expression "(code *)PTR___errno_location_0004656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = fts_close(param_1);\n    }" { (expression_statement "iVar1 = fts_close(param_1);" (assignment_expression "iVar1 = fts_close(param_1)" identifier = (call_expression "fts_close(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" else (compound_statement "{\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" { (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3cd8,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3cd8" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar1,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar1,uVar4)" ( number_literal , identifier , identifier ))) ;) (expression_statement "iVar1 = fts_close(param_1);" (assignment_expression "iVar1 = fts_close(param_1)" identifier = (call_expression "fts_close(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3ce8,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3ce8" identifier + number_literal) , number_literal )))) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar1,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar1,uVar4)" ( number_literal , identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" ( (pointer_expression "*(code *)PTR_free_000466a8" * (cast_expression "(code *)PTR_free_000466a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier ))) ;) }))) (if_statement "if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar10)" ( (binary_expression "local_24 == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return param_2;\n  }" { (return_statement "return param_2;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" * (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();" statement_identifier : (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0004656c)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" ( (pointer_expression "*(code *)PTR___errno_location_0004656c" * (cast_expression "(code *)PTR___errno_location_0004656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;)) (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3cc0,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3cc0" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = quotearg_style(4,param_1);" (assignment_expression "uVar5 = quotearg_style(4,param_1)" identifier = (call_expression "quotearg_style(4,param_1)" identifier (argument_list "(4,param_1)" ( number_literal , identifier )))) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (expression_statement "puVar10 = PTR_error_00046600;" (assignment_expression "puVar10 = PTR_error_00046600" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);" (call_expression "(*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar8,uVar4,uVar5)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "puVar11 = &_gp_1;" (assignment_expression "puVar11 = &_gp_1" identifier = (pointer_expression "&_gp_1" & identifier)) ;) (expression_statement "uVar6 = qcopy_acl();" (assignment_expression "uVar6 = qcopy_acl()" identifier = (call_expression "qcopy_acl()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }" if (parenthesized_expression "(uVar6 != 0xfffffffe)" ( (binary_expression "uVar6 != 0xfffffffe" identifier != number_literal) )) (compound_statement "{\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }" { (if_statement "if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }" if (parenthesized_expression "(uVar6 == 0xffffffff)" ( (binary_expression "uVar6 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }" { (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x2849c))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x2849c))()" (parenthesized_expression "(**(code **)(puVar10 + 0x2849c))" ( (pointer_expression "**(code **)(puVar10 + 0x2849c)" * (pointer_expression "*(code **)(puVar10 + 0x2849c)" * (cast_expression "(code **)(puVar10 + 0x2849c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x2849c)" ( (binary_expression "puVar10 + 0x2849c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = *puVar3;" (assignment_expression "uVar7 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);" (assignment_expression "uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" identifier = (call_expression "(**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" (parenthesized_expression "(**(code **)(puVar10 + 0x285a0))" ( (pointer_expression "**(code **)(puVar10 + 0x285a0)" * (pointer_expression "*(code **)(puVar10 + 0x285a0)" * (cast_expression "(code **)(puVar10 + 0x285a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x285a0)" ( (binary_expression "puVar10 + 0x285a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" ( number_literal , (binary_expression "*(int *)(puVar10 + 0x28078) + 0x3990" (pointer_expression "*(int *)(puVar10 + 0x28078)" * (cast_expression "(int *)(puVar10 + 0x28078)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x28078)" ( (binary_expression "puVar10 + 0x28078" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "uVar4 = quote(uVar4);" (assignment_expression "uVar4 = quote(uVar4)" identifier = (call_expression "quote(uVar4)" identifier (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);" (call_expression "(**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x28530))" ( (pointer_expression "**(code **)(puVar10 + 0x28530)" * (pointer_expression "*(code **)(puVar10 + 0x28530)" * (cast_expression "(code **)(puVar10 + 0x28530)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x28530)" ( (binary_expression "puVar10 + 0x28530" identifier + number_literal) ))))) )) (argument_list "(0,uVar7,uVar5,uVar4)" ( number_literal , identifier , identifier , identifier ))) ;) })) (return_statement "return uVar6;" return identifier ;) })) (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x2849c))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x2849c))()" (parenthesized_expression "(**(code **)(puVar10 + 0x2849c))" ( (pointer_expression "**(code **)(puVar10 + 0x2849c)" * (pointer_expression "*(code **)(puVar10 + 0x2849c)" * (cast_expression "(code **)(puVar10 + 0x2849c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x2849c)" ( (binary_expression "puVar10 + 0x2849c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = *puVar3;" (assignment_expression "uVar5 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar4 = quote(uVar7);" (assignment_expression "uVar4 = quote(uVar7)" identifier = (call_expression "quote(uVar7)" identifier (argument_list "(uVar7)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);" (call_expression "(**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11)" (parenthesized_expression "(**(code **)(puVar10 + 0x28530))" ( (pointer_expression "**(code **)(puVar10 + 0x28530)" * (pointer_expression "*(code **)(puVar10 + 0x28530)" * (cast_expression "(code **)(puVar10 + 0x28530)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x28530)" ( (binary_expression "puVar10 + 0x28530" identifier + number_literal) ))))) )) (argument_list "(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11)" ( number_literal , identifier , (binary_expression "*(int *)(puVar10 + 0x28078) + 0x3794" (pointer_expression "*(int *)(puVar10 + 0x28078)" * (cast_expression "(int *)(puVar10 + 0x28078)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x28078)" ( (binary_expression "puVar10 + 0x28078" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (return_statement "return 0xfffffffe;" return number_literal ;) })))
(translation_unit "_Bool restorecon(char *path,_Bool recurse,_Bool local)\n\n{\n  undefined *puVar1;\n  FTSENT *pFVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined3 in_register_00000014;\n  int iVar5;\n  undefined3 in_register_00000018;\n  uint uVar6;\n  undefined1 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *ftspath [2];\n  \n  puVar1 = PTR___stack_chk_guard_000466a0;\n  uVar6 = CONCAT31(in_register_00000014,recurse);\n  iVar5 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*path == '/') || (CONCAT31(in_register_00000018,local) != 0)) {\n    pcVar9 = (char *)0x0;\n    ftspath[0] = path;\n    if (uVar6 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    path = ftspath[0];\n    ftspath[1] = (char *)0x0;\n    iVar8 = restorecon_private(ftspath[0],local);\n    uVar7 = iVar8 != -1;\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    ftspath[0] = pcVar9;\n    if (uVar6 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    ftspath[1] = (char *)0x0;\n    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);\n    while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }\n    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar8 = *piVar3;\n    if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }\n    if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (iVar5 == *(int *)puVar1) {\n    return (_Bool)uVar7;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  (*(code *)PTR___errno_location_0004656c)();\n  (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n                    /* WARNING: Subroutine does not return */\n  quotearg_style(shell_escape_always_quoting_style,path);\n}\n\n" (function_definition "_Bool restorecon(char *path,_Bool recurse,_Bool local)\n\n{\n  undefined *puVar1;\n  FTSENT *pFVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined3 in_register_00000014;\n  int iVar5;\n  undefined3 in_register_00000018;\n  uint uVar6;\n  undefined1 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *ftspath [2];\n  \n  puVar1 = PTR___stack_chk_guard_000466a0;\n  uVar6 = CONCAT31(in_register_00000014,recurse);\n  iVar5 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*path == '/') || (CONCAT31(in_register_00000018,local) != 0)) {\n    pcVar9 = (char *)0x0;\n    ftspath[0] = path;\n    if (uVar6 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    path = ftspath[0];\n    ftspath[1] = (char *)0x0;\n    iVar8 = restorecon_private(ftspath[0],local);\n    uVar7 = iVar8 != -1;\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    ftspath[0] = pcVar9;\n    if (uVar6 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    ftspath[1] = (char *)0x0;\n    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);\n    while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }\n    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar8 = *piVar3;\n    if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }\n    if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (iVar5 == *(int *)puVar1) {\n    return (_Bool)uVar7;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  (*(code *)PTR___errno_location_0004656c)();\n  (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n                    /* WARNING: Subroutine does not return */\n  quotearg_style(shell_escape_always_quoting_style,path);\n}" type_identifier (function_declarator "restorecon(char *path,_Bool recurse,_Bool local)" identifier (parameter_list "(char *path,_Bool recurse,_Bool local)" ( (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) , (parameter_declaration "_Bool recurse" type_identifier identifier) , (parameter_declaration "_Bool local" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  FTSENT *pFVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined3 in_register_00000014;\n  int iVar5;\n  undefined3 in_register_00000018;\n  uint uVar6;\n  undefined1 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *ftspath [2];\n  \n  puVar1 = PTR___stack_chk_guard_000466a0;\n  uVar6 = CONCAT31(in_register_00000014,recurse);\n  iVar5 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*path == '/') || (CONCAT31(in_register_00000018,local) != 0)) {\n    pcVar9 = (char *)0x0;\n    ftspath[0] = path;\n    if (uVar6 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    path = ftspath[0];\n    ftspath[1] = (char *)0x0;\n    iVar8 = restorecon_private(ftspath[0],local);\n    uVar7 = iVar8 != -1;\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    ftspath[0] = pcVar9;\n    if (uVar6 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    ftspath[1] = (char *)0x0;\n    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);\n    while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }\n    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar8 = *piVar3;\n    if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }\n    if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (iVar5 == *(int *)puVar1) {\n    return (_Bool)uVar7;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  (*(code *)PTR___errno_location_0004656c)();\n  (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n                    /* WARNING: Subroutine does not return */\n  quotearg_style(shell_escape_always_quoting_style,path);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "FTSENT *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined3 in_register_00000018;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *ftspath [2];" primitive_type (pointer_declarator "*ftspath [2]" * (array_declarator "ftspath [2]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000466a0;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000466a0" identifier = identifier) ;) (expression_statement "uVar6 = CONCAT31(in_register_00000014,recurse);" (assignment_expression "uVar6 = CONCAT31(in_register_00000014,recurse)" identifier = (call_expression "CONCAT31(in_register_00000014,recurse)" identifier (argument_list "(in_register_00000014,recurse)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_000466a0;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_000466a0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000466a0" * (cast_expression "(int *)PTR___stack_chk_guard_000466a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*path == '/') || (CONCAT31(in_register_00000018,local) != 0)) {\n    pcVar9 = (char *)0x0;\n    ftspath[0] = path;\n    if (uVar6 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    path = ftspath[0];\n    ftspath[1] = (char *)0x0;\n    iVar8 = restorecon_private(ftspath[0],local);\n    uVar7 = iVar8 != -1;\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    ftspath[0] = pcVar9;\n    if (uVar6 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    ftspath[1] = (char *)0x0;\n    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);\n    while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }\n    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar8 = *piVar3;\n    if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }\n    if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" if (parenthesized_expression "((*path == '/') || (CONCAT31(in_register_00000018,local) != 0))" ( (binary_expression "(*path == '/') || (CONCAT31(in_register_00000018,local) != 0)" (parenthesized_expression "(*path == '/')" ( (binary_expression "*path == '/'" (pointer_expression "*path" * identifier) == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(CONCAT31(in_register_00000018,local) != 0)" ( (binary_expression "CONCAT31(in_register_00000018,local) != 0" (call_expression "CONCAT31(in_register_00000018,local)" identifier (argument_list "(in_register_00000018,local)" ( identifier , identifier ))) != number_literal) ))) )) (compound_statement "{\n    pcVar9 = (char *)0x0;\n    ftspath[0] = path;\n    if (uVar6 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    path = ftspath[0];\n    ftspath[1] = (char *)0x0;\n    iVar8 = restorecon_private(ftspath[0],local);\n    uVar7 = iVar8 != -1;\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ftspath[0] = path;" (assignment_expression "ftspath[0] = path" (subscript_expression "ftspath[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar6 != 0) goto LAB_0001dea0;" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001dea0;" goto statement_identifier ;)) (labeled_statement "LAB_0001e028:\n    path = ftspath[0];" statement_identifier : (expression_statement "path = ftspath[0];" (assignment_expression "path = ftspath[0]" identifier = (subscript_expression "ftspath[0]" identifier [ number_literal ])) ;)) (expression_statement "ftspath[1] = (char *)0x0;" (assignment_expression "ftspath[1] = (char *)0x0" (subscript_expression "ftspath[1]" identifier [ number_literal ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar8 = restorecon_private(ftspath[0],local);" (assignment_expression "iVar8 = restorecon_private(ftspath[0],local)" identifier = (call_expression "restorecon_private(ftspath[0],local)" identifier (argument_list "(ftspath[0],local)" ( (subscript_expression "ftspath[0]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "uVar7 = iVar8 != -1;" (assignment_expression "uVar7 = iVar8 != -1" identifier = (binary_expression "iVar8 != -1" identifier != number_literal)) ;) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" ( (pointer_expression "*(code *)PTR_free_000466a8" * (cast_expression "(code *)PTR_free_000466a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier ))) ;) }) (else_clause "else {\n    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    ftspath[0] = pcVar9;\n    if (uVar6 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    ftspath[1] = (char *)0x0;\n    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);\n    while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }\n    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar8 = *piVar3;\n    if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }\n    if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" else (compound_statement "{\n    pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    ftspath[0] = pcVar9;\n    if (uVar6 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    ftspath[1] = (char *)0x0;\n    path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);\n    while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }\n    piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar8 = *piVar3;\n    if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }\n    if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" { (expression_statement "pcVar9 = canonicalize_filename_mode(path,CAN_MISSING);" (assignment_expression "pcVar9 = canonicalize_filename_mode(path,CAN_MISSING)" identifier = (call_expression "canonicalize_filename_mode(path,CAN_MISSING)" identifier (argument_list "(path,CAN_MISSING)" ( identifier , identifier )))) ;) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_0001e068;" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001e068;" goto statement_identifier ;)) (expression_statement "ftspath[0] = pcVar9;" (assignment_expression "ftspath[0] = pcVar9" (subscript_expression "ftspath[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar6 == 0) goto LAB_0001e028;" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001e028;" goto statement_identifier ;)) (labeled_statement "LAB_0001dea0:\n    ftspath[1] = (char *)0x0;" statement_identifier : (expression_statement "ftspath[1] = (char *)0x0;" (assignment_expression "ftspath[1] = (char *)0x0" (subscript_expression "ftspath[1]" identifier [ number_literal ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0);" (assignment_expression "path = (char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0)" identifier = (cast_expression "(char *)xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xfts_open(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0)" identifier (argument_list "(ftspath,0x10,(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0)" ( identifier , number_literal , (cast_expression "(_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *)0x0" ( (type_descriptor "_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))))) ;) (while_statement "while( true ) {\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar7 = (undefined1)uVar6;\n      pFVar2 = fts_read((FTS *)path);\n      if (pFVar2 == (FTSENT *)0x0) break;\n      iVar8 = restorecon_private(((FTS *)path)->fts_path,local);\n      uVar6 = uVar6 & iVar8 != -1;\n    }" { (expression_statement "uVar7 = (undefined1)uVar6;" (assignment_expression "uVar7 = (undefined1)uVar6" identifier = (cast_expression "(undefined1)uVar6" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "pFVar2 = fts_read((FTS *)path);" (assignment_expression "pFVar2 = fts_read((FTS *)path)" identifier = (call_expression "fts_read((FTS *)path)" identifier (argument_list "((FTS *)path)" ( (cast_expression "(FTS *)path" ( (type_descriptor "FTS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (pFVar2 == (FTSENT *)0x0) break;" if (parenthesized_expression "(pFVar2 == (FTSENT *)0x0)" ( (binary_expression "pFVar2 == (FTSENT *)0x0" identifier == (cast_expression "(FTSENT *)0x0" ( (type_descriptor "FTSENT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = restorecon_private(((FTS *)path)->fts_path,local);" (assignment_expression "iVar8 = restorecon_private(((FTS *)path)->fts_path,local)" identifier = (call_expression "restorecon_private(((FTS *)path)->fts_path,local)" identifier (argument_list "(((FTS *)path)->fts_path,local)" ( (field_expression "((FTS *)path)->fts_path" (parenthesized_expression "((FTS *)path)" ( (cast_expression "(FTS *)path" ( (type_descriptor "FTS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) , identifier )))) ;) (expression_statement "uVar6 = uVar6 & iVar8 != -1;" (assignment_expression "uVar6 = uVar6 & iVar8 != -1" identifier = (binary_expression "uVar6 & iVar8 != -1" identifier & (binary_expression "iVar8 != -1" identifier != number_literal))) ;) })) (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_0004656c)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0004656c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" ( (pointer_expression "*(code *)PTR___errno_location_0004656c" * (cast_expression "(code *)PTR___errno_location_0004656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar8 = *piVar3;" (assignment_expression "iVar8 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (iVar8 == 0) {\n      iVar8 = fts_close((FTS *)path);\n    }\n    else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar8 = fts_close((FTS *)path);\n    }" { (expression_statement "iVar8 = fts_close((FTS *)path);" (assignment_expression "iVar8 = fts_close((FTS *)path)" identifier = (call_expression "fts_close((FTS *)path)" identifier (argument_list "((FTS *)path)" ( (cast_expression "(FTS *)path" ( (type_descriptor "FTS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) }) (else_clause "else {\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }" else (compound_statement "{\n      uVar7 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n      iVar8 = fts_close((FTS *)path);\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3cd8,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3cd8" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar8,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar8,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar8,uVar4)" ( number_literal , identifier , identifier ))) ;) (expression_statement "iVar8 = fts_close((FTS *)path);" (assignment_expression "iVar8 = fts_close((FTS *)path)" identifier = (call_expression "fts_close((FTS *)path)" identifier (argument_list "((FTS *)path)" ( (cast_expression "(FTS *)path" ( (type_descriptor "FTS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) }))) (if_statement "if (iVar8 != 0) {\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar8 = *piVar3;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      uVar7 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar8,uVar4);\n    }" { (expression_statement "iVar8 = *piVar3;" (assignment_expression "iVar8 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3ce8,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3ce8" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar8,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar8,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar8,uVar4)" ( number_literal , identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" ( (pointer_expression "*(code *)PTR_free_000466a8" * (cast_expression "(code *)PTR_free_000466a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier ))) ;) }))) (if_statement "if (iVar5 == *(int *)puVar1) {\n    return (_Bool)uVar7;\n  }" if (parenthesized_expression "(iVar5 == *(int *)puVar1)" ( (binary_expression "iVar5 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (_Bool)uVar7;\n  }" { (return_statement "return (_Bool)uVar7;" return (cast_expression "(_Bool)uVar7" ( (type_descriptor "_Bool" type_identifier) ) identifier) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" * (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0001e068:\n  (*(code *)PTR___errno_location_0004656c)();" statement_identifier : (expression_statement "(*(code *)PTR___errno_location_0004656c)();" (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" ( (pointer_expression "*(code *)PTR___errno_location_0004656c" * (cast_expression "(code *)PTR___errno_location_0004656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (expression_statement "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);" (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3cc0,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3cc0" identifier + number_literal) , number_literal ))) ;) comment (expression_statement "quotearg_style(shell_escape_always_quoting_style,path);" (call_expression "quotearg_style(shell_escape_always_quoting_style,path)" identifier (argument_list "(shell_escape_always_quoting_style,path)" ( identifier , identifier ))) ;) })))
(translation_unit "uint restorecon(char *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}\n\n" (function_definition "uint restorecon(char *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}" type_identifier (function_declarator "restorecon(char *param_1,uint param_2,int param_3)" identifier (parameter_list "(char *param_1,uint param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_000466a0;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000466a0" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000466a0;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000466a0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000466a0" * (cast_expression "(int *)PTR___stack_chk_guard_000466a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" if (parenthesized_expression "((*param_1 == '/') || (param_3 != 0))" ( (binary_expression "(*param_1 == '/') || (param_3 != 0)" (parenthesized_expression "(*param_1 == '/')" ( (binary_expression "*param_1 == '/'" (pointer_expression "*param_1" * identifier) == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c = param_1;" (assignment_expression "local_2c = param_1" identifier = identifier) ;) (if_statement "if (param_2 != 0) goto LAB_0001dea0;" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001dea0;" goto statement_identifier ;)) (labeled_statement "LAB_0001e028:\n    param_1 = local_2c;" statement_identifier : (expression_statement "param_1 = local_2c;" (assignment_expression "param_1 = local_2c" identifier = identifier) ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_0001d770(local_2c,param_3);" (assignment_expression "iVar1 = FUN_0001d770(local_2c,param_3)" identifier = (call_expression "FUN_0001d770(local_2c,param_3)" identifier (argument_list "(local_2c,param_3)" ( identifier , identifier )))) ;) (expression_statement "param_2 = (uint)(iVar1 != -1);" (assignment_expression "param_2 = (uint)(iVar1 != -1)" identifier = (call_expression "(uint)(iVar1 != -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )))) ;) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" ( (pointer_expression "*(code *)PTR_free_000466a8" * (cast_expression "(code *)PTR_free_000466a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier ))) ;) }) (else_clause "else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" else (compound_statement "{\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)canonicalize_filename_mode(param_1,2);" (assignment_expression "pcVar9 = (char *)canonicalize_filename_mode(param_1,2)" identifier = (cast_expression "(char *)canonicalize_filename_mode(param_1,2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "canonicalize_filename_mode(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_0001e068;" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001e068;" goto statement_identifier ;)) (expression_statement "local_2c = pcVar9;" (assignment_expression "local_2c = pcVar9" identifier = identifier) ;) (if_statement "if (param_2 == 0) goto LAB_0001e028;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001e028;" goto statement_identifier ;)) (labeled_statement "LAB_0001dea0:\n    local_28 = 0;" statement_identifier : (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;)) (expression_statement "param_1 = (char *)xfts_open(&local_2c,0x10,0);" (assignment_expression "param_1 = (char *)xfts_open(&local_2c,0x10,0)" identifier = (cast_expression "(char *)xfts_open(&local_2c,0x10,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xfts_open(&local_2c,0x10,0)" identifier (argument_list "(&local_2c,0x10,0)" ( (pointer_expression "&local_2c" & identifier) , number_literal , number_literal ))))) ;) (while_statement "while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }" while (parenthesized_expression "(iVar1 = fts_read(param_1), iVar1 != 0)" ( (comma_expression "iVar1 = fts_read(param_1), iVar1 != 0" (assignment_expression "iVar1 = fts_read(param_1)" identifier = (call_expression "fts_read(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }" { (expression_statement "iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);" (assignment_expression "iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3)" identifier = (call_expression "FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_3)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "param_2 = param_2 & iVar1 != -1;" (assignment_expression "param_2 = param_2 & iVar1 != -1" identifier = (binary_expression "param_2 & iVar1 != -1" identifier & (binary_expression "iVar1 != -1" identifier != number_literal))) ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0004656c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" ( (pointer_expression "*(code *)PTR___errno_location_0004656c" * (cast_expression "(code *)PTR___errno_location_0004656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = fts_close(param_1);\n    }" { (expression_statement "iVar1 = fts_close(param_1);" (assignment_expression "iVar1 = fts_close(param_1)" identifier = (call_expression "fts_close(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" else (compound_statement "{\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" { (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3cd8,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3cd8" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar1,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar1,uVar4)" ( number_literal , identifier , identifier ))) ;) (expression_statement "iVar1 = fts_close(param_1);" (assignment_expression "iVar1 = fts_close(param_1)" identifier = (call_expression "fts_close(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3ce8,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3ce8" identifier + number_literal) , number_literal )))) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar1,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar1,uVar4)" ( number_literal , identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" ( (pointer_expression "*(code *)PTR_free_000466a8" * (cast_expression "(code *)PTR_free_000466a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier ))) ;) }))) (if_statement "if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar10)" ( (binary_expression "local_24 == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return param_2;\n  }" { (return_statement "return param_2;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" * (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();" statement_identifier : (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0004656c)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" ( (pointer_expression "*(code *)PTR___errno_location_0004656c" * (cast_expression "(code *)PTR___errno_location_0004656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;)) (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" ( (pointer_expression "*(code *)PTR_dcgettext_00046670" * (cast_expression "(code *)PTR_dcgettext_00046670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00046148 + 0x3cc0,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x3cc0" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = quotearg_style(4,param_1);" (assignment_expression "uVar5 = quotearg_style(4,param_1)" identifier = (call_expression "quotearg_style(4,param_1)" identifier (argument_list "(4,param_1)" ( number_literal , identifier )))) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (expression_statement "puVar10 = PTR_error_00046600;" (assignment_expression "puVar10 = PTR_error_00046600" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);" (call_expression "(*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5)" (parenthesized_expression "(*(code *)PTR_error_00046600)" ( (pointer_expression "*(code *)PTR_error_00046600" * (cast_expression "(code *)PTR_error_00046600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar8,uVar4,uVar5)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "puVar11 = &_gp_1;" (assignment_expression "puVar11 = &_gp_1" identifier = (pointer_expression "&_gp_1" & identifier)) ;) (expression_statement "uVar6 = qcopy_acl();" (assignment_expression "uVar6 = qcopy_acl()" identifier = (call_expression "qcopy_acl()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }" if (parenthesized_expression "(uVar6 != 0xfffffffe)" ( (binary_expression "uVar6 != 0xfffffffe" identifier != number_literal) )) (compound_statement "{\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }" { (if_statement "if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }" if (parenthesized_expression "(uVar6 == 0xffffffff)" ( (binary_expression "uVar6 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }" { (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x2849c))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x2849c))()" (parenthesized_expression "(**(code **)(puVar10 + 0x2849c))" ( (pointer_expression "**(code **)(puVar10 + 0x2849c)" * (pointer_expression "*(code **)(puVar10 + 0x2849c)" * (cast_expression "(code **)(puVar10 + 0x2849c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x2849c)" ( (binary_expression "puVar10 + 0x2849c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = *puVar3;" (assignment_expression "uVar7 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);" (assignment_expression "uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" identifier = (call_expression "(**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" (parenthesized_expression "(**(code **)(puVar10 + 0x285a0))" ( (pointer_expression "**(code **)(puVar10 + 0x285a0)" * (pointer_expression "*(code **)(puVar10 + 0x285a0)" * (cast_expression "(code **)(puVar10 + 0x285a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x285a0)" ( (binary_expression "puVar10 + 0x285a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" ( number_literal , (binary_expression "*(int *)(puVar10 + 0x28078) + 0x3990" (pointer_expression "*(int *)(puVar10 + 0x28078)" * (cast_expression "(int *)(puVar10 + 0x28078)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x28078)" ( (binary_expression "puVar10 + 0x28078" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "uVar4 = quote(uVar4);" (assignment_expression "uVar4 = quote(uVar4)" identifier = (call_expression "quote(uVar4)" identifier (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);" (call_expression "(**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x28530))" ( (pointer_expression "**(code **)(puVar10 + 0x28530)" * (pointer_expression "*(code **)(puVar10 + 0x28530)" * (cast_expression "(code **)(puVar10 + 0x28530)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x28530)" ( (binary_expression "puVar10 + 0x28530" identifier + number_literal) ))))) )) (argument_list "(0,uVar7,uVar5,uVar4)" ( number_literal , identifier , identifier , identifier ))) ;) })) (return_statement "return uVar6;" return identifier ;) })) (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x2849c))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x2849c))()" (parenthesized_expression "(**(code **)(puVar10 + 0x2849c))" ( (pointer_expression "**(code **)(puVar10 + 0x2849c)" * (pointer_expression "*(code **)(puVar10 + 0x2849c)" * (cast_expression "(code **)(puVar10 + 0x2849c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x2849c)" ( (binary_expression "puVar10 + 0x2849c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = *puVar3;" (assignment_expression "uVar5 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar4 = quote(uVar7);" (assignment_expression "uVar4 = quote(uVar7)" identifier = (call_expression "quote(uVar7)" identifier (argument_list "(uVar7)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);" (call_expression "(**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11)" (parenthesized_expression "(**(code **)(puVar10 + 0x28530))" ( (pointer_expression "**(code **)(puVar10 + 0x28530)" * (pointer_expression "*(code **)(puVar10 + 0x28530)" * (cast_expression "(code **)(puVar10 + 0x28530)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x28530)" ( (binary_expression "puVar10 + 0x28530" identifier + number_literal) ))))) )) (argument_list "(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11)" ( number_literal , identifier , (binary_expression "*(int *)(puVar10 + 0x28078) + 0x3794" (pointer_expression "*(int *)(puVar10 + 0x28078)" * (cast_expression "(int *)(puVar10 + 0x28078)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x28078)" ( (binary_expression "puVar10 + 0x28078" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (return_statement "return 0xfffffffe;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT ))))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (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) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (binary_expression IDENT != LIT))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "uint restorecon(char *param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}" (type_identifier "uint") (function_declarator "restorecon(char *param_1,uint param_2,int param_3)" (identifier "restorecon") (parameter_list "(char *param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  undefined1 *puVar11;\n  char *local_2c;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar10 = PTR___stack_chk_guard_000466a0;\n  local_24 = *(int *)PTR___stack_chk_guard_000466a0;\n  if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }\n  (*(code *)PTR___stack_chk_fail_00046664)();\nLAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();\n  uVar8 = *puVar3;\n  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);\n  uVar5 = quotearg_style(4,param_1);\n  uVar7 = 1;\n  puVar10 = PTR_error_00046600;\n  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);\n  puVar11 = &_gp_1;\n  uVar6 = qcopy_acl();\n  if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }\n  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n  uVar5 = *puVar3;\n  uVar4 = quote(uVar7);\n  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);\n  return 0xfffffffe;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined1 *puVar11;" (type_identifier "undefined1") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "char *local_2c;" (primitive_type "char") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar10 = PTR___stack_chk_guard_000466a0;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000466a0" (identifier "puVar10") (= "=") (identifier "PTR___stack_chk_guard_000466a0")) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000466a0;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000466a0" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000466a0" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000466a0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000466a0")))) (; ";")) (if_statement "if ((*param_1 == '/') || (param_3 != 0)) {\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }\n  else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" (if "if") (parenthesized_expression "((*param_1 == '/') || (param_3 != 0))" (( "(") (binary_expression "(*param_1 == '/') || (param_3 != 0)" (parenthesized_expression "(*param_1 == '/')" (( "(") (binary_expression "*param_1 == '/'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    pcVar9 = (char *)0x0;\n    local_2c = param_1;\n    if (param_2 != 0) goto LAB_0001dea0;\nLAB_0001e028:\n    param_1 = local_2c;\n    local_28 = 0;\n    iVar1 = FUN_0001d770(local_2c,param_3);\n    param_2 = (uint)(iVar1 != -1);\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" ({ "{") (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_2c = param_1;" (assignment_expression "local_2c = param_1" (identifier "local_2c") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (param_2 != 0) goto LAB_0001dea0;" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001dea0;" (goto "goto") (statement_identifier "LAB_0001dea0") (; ";"))) (labeled_statement "LAB_0001e028:\n    param_1 = local_2c;" (statement_identifier "LAB_0001e028") (: ":") (expression_statement "param_1 = local_2c;" (assignment_expression "param_1 = local_2c" (identifier "param_1") (= "=") (identifier "local_2c")) (; ";"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = FUN_0001d770(local_2c,param_3);" (assignment_expression "iVar1 = FUN_0001d770(local_2c,param_3)" (identifier "iVar1") (= "=") (call_expression "FUN_0001d770(local_2c,param_3)" (identifier "FUN_0001d770") (argument_list "(local_2c,param_3)" (( "(") (identifier "local_2c") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "param_2 = (uint)(iVar1 != -1);" (assignment_expression "param_2 = (uint)(iVar1 != -1)" (identifier "param_2") (= "=") (call_expression "(uint)(iVar1 != -1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar1 != -1)" (( "(") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" (( "(") (pointer_expression "*(code *)PTR_free_000466a8" (* "*") (cast_expression "(code *)PTR_free_000466a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000466a8"))) () ")")) (argument_list "(pcVar9)" (( "(") (identifier "pcVar9") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" (else "else") (compound_statement "{\n    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);\n    if (pcVar9 == (char *)0x0) goto LAB_0001e068;\n    local_2c = pcVar9;\n    if (param_2 == 0) goto LAB_0001e028;\nLAB_0001dea0:\n    local_28 = 0;\n    param_1 = (char *)xfts_open(&local_2c,0x10,0);\n    while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }\n    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();\n    iVar1 = *piVar2;\n    if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }\n    if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }\n    (*(code *)PTR_free_000466a8)(pcVar9);\n  }" ({ "{") (expression_statement "pcVar9 = (char *)canonicalize_filename_mode(param_1,2);" (assignment_expression "pcVar9 = (char *)canonicalize_filename_mode(param_1,2)" (identifier "pcVar9") (= "=") (cast_expression "(char *)canonicalize_filename_mode(param_1,2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "canonicalize_filename_mode(param_1,2)" (identifier "canonicalize_filename_mode") (argument_list "(param_1,2)" (( "(") (identifier "param_1") (, ",") (number_literal "2") () ")"))))) (; ";")) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_0001e068;" (if "if") (parenthesized_expression "(pcVar9 == (char *)0x0)" (( "(") (binary_expression "pcVar9 == (char *)0x0" (identifier "pcVar9") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0001e068;" (goto "goto") (statement_identifier "LAB_0001e068") (; ";"))) (expression_statement "local_2c = pcVar9;" (assignment_expression "local_2c = pcVar9" (identifier "local_2c") (= "=") (identifier "pcVar9")) (; ";")) (if_statement "if (param_2 == 0) goto LAB_0001e028;" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001e028;" (goto "goto") (statement_identifier "LAB_0001e028") (; ";"))) (labeled_statement "LAB_0001dea0:\n    local_28 = 0;" (statement_identifier "LAB_0001dea0") (: ":") (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";"))) (expression_statement "param_1 = (char *)xfts_open(&local_2c,0x10,0);" (assignment_expression "param_1 = (char *)xfts_open(&local_2c,0x10,0)" (identifier "param_1") (= "=") (cast_expression "(char *)xfts_open(&local_2c,0x10,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xfts_open(&local_2c,0x10,0)" (identifier "xfts_open") (argument_list "(&local_2c,0x10,0)" (( "(") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (number_literal "0x10") (, ",") (number_literal "0") () ")"))))) (; ";")) (while_statement "while (iVar1 = fts_read(param_1), iVar1 != 0) {\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }" (while "while") (parenthesized_expression "(iVar1 = fts_read(param_1), iVar1 != 0)" (( "(") (comma_expression "iVar1 = fts_read(param_1), iVar1 != 0" (assignment_expression "iVar1 = fts_read(param_1)" (identifier "iVar1") (= "=") (call_expression "fts_read(param_1)" (identifier "fts_read") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);\n      param_2 = param_2 & iVar1 != -1;\n    }" ({ "{") (expression_statement "iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);" (assignment_expression "iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3)" (identifier "iVar1") (= "=") (call_expression "FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3)" (identifier "FUN_0001d770") (argument_list "(*(undefined4 *)(param_1 + 0x18),param_3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "param_2 = param_2 & iVar1 != -1;" (assignment_expression "param_2 = param_2 & iVar1 != -1" (identifier "param_2") (= "=") (binary_expression "param_2 & iVar1 != -1" (identifier "param_2") (& "&") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)()" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_0004656c)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0004656c" (* "*") (cast_expression "(code *)PTR___errno_location_0004656c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0004656c"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (if_statement "if (iVar1 == 0) {\n      iVar1 = fts_close(param_1);\n    }\n    else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = fts_close(param_1);\n    }" ({ "{") (expression_statement "iVar1 = fts_close(param_1);" (assignment_expression "iVar1 = fts_close(param_1)" (identifier "iVar1") (= "=") (call_expression "fts_close(param_1)" (identifier "fts_close") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" (else "else") (compound_statement "{\n      param_2 = 0;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n      iVar1 = fts_close(param_1);\n    }" ({ "{") (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00046670" (* "*") (cast_expression "(code *)PTR_dcgettext_00046670" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00046670"))) () ")")) (argument_list "(0,PTR_LAB_00046148 + 0x3cd8,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00046148 + 0x3cd8" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x3cd8")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar1,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" (( "(") (pointer_expression "*(code *)PTR_error_00046600" (* "*") (cast_expression "(code *)PTR_error_00046600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_00046600"))) () ")")) (argument_list "(0,iVar1,uVar4)" (( "(") (number_literal "0") (, ",") (identifier "iVar1") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iVar1 = fts_close(param_1);" (assignment_expression "iVar1 = fts_close(param_1)" (identifier "iVar1") (= "=") (call_expression "fts_close(param_1)" (identifier "fts_close") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar1 != 0) {\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *piVar2;\n      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);\n      param_2 = 0;\n      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);\n    }" ({ "{") (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00046670" (* "*") (cast_expression "(code *)PTR_dcgettext_00046670" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00046670"))) () ")")) (argument_list "(0,PTR_LAB_00046148 + 0x3ce8,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00046148 + 0x3ce8" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x3ce8")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar1,uVar4);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_error_00046600)" (( "(") (pointer_expression "*(code *)PTR_error_00046600" (* "*") (cast_expression "(code *)PTR_error_00046600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_00046600"))) () ")")) (argument_list "(0,iVar1,uVar4)" (( "(") (number_literal "0") (, ",") (identifier "iVar1") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_000466a8)(pcVar9);" (call_expression "(*(code *)PTR_free_000466a8)(pcVar9)" (parenthesized_expression "(*(code *)PTR_free_000466a8)" (( "(") (pointer_expression "*(code *)PTR_free_000466a8" (* "*") (cast_expression "(code *)PTR_free_000466a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000466a8"))) () ")")) (argument_list "(pcVar9)" (( "(") (identifier "pcVar9") () ")"))) (; ";")) (} "}")))) (if_statement "if (local_24 == *(int *)puVar10) {\n    return param_2;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar10)" (( "(") (binary_expression "local_24 == *(int *)puVar10" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar10" (* "*") (cast_expression "(int *)puVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar10")))) () ")")) (compound_statement "{\n    return param_2;\n  }" ({ "{") (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00046664" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00046664"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_0001e068:\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();" (statement_identifier "LAB_0001e068") (: ":") (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0004656c)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0004656c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0004656c)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0004656c" (* "*") (cast_expression "(code *)PTR___errno_location_0004656c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0004656c"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";"))) (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" (identifier "uVar8") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00046670)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00046670" (* "*") (cast_expression "(code *)PTR_dcgettext_00046670" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00046670"))) () ")")) (argument_list "(0,PTR_LAB_00046148 + 0x3cc0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00046148 + 0x3cc0" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x3cc0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar5 = quotearg_style(4,param_1);" (assignment_expression "uVar5 = quotearg_style(4,param_1)" (identifier "uVar5") (= "=") (call_expression "quotearg_style(4,param_1)" (identifier "quotearg_style") (argument_list "(4,param_1)" (( "(") (number_literal "4") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" (identifier "uVar7") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar10 = PTR_error_00046600;" (assignment_expression "puVar10 = PTR_error_00046600" (identifier "puVar10") (= "=") (identifier "PTR_error_00046600")) (; ";")) (expression_statement "(*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);" (call_expression "(*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5)" (parenthesized_expression "(*(code *)PTR_error_00046600)" (( "(") (pointer_expression "*(code *)PTR_error_00046600" (* "*") (cast_expression "(code *)PTR_error_00046600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_00046600"))) () ")")) (argument_list "(1,uVar8,uVar4,uVar5)" (( "(") (number_literal "1") (, ",") (identifier "uVar8") (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "puVar11 = &_gp_1;" (assignment_expression "puVar11 = &_gp_1" (identifier "puVar11") (= "=") (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1"))) (; ";")) (expression_statement "uVar6 = qcopy_acl();" (assignment_expression "uVar6 = qcopy_acl()" (identifier "uVar6") (= "=") (call_expression "qcopy_acl()" (identifier "qcopy_acl") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (uVar6 != 0xfffffffe) {\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }" (if "if") (parenthesized_expression "(uVar6 != 0xfffffffe)" (( "(") (binary_expression "uVar6 != 0xfffffffe" (identifier "uVar6") (!= "!=") (number_literal "0xfffffffe")) () ")")) (compound_statement "{\n    if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }\n    return uVar6;\n  }" ({ "{") (if_statement "if (uVar6 == 0xffffffff) {\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }" (if "if") (parenthesized_expression "(uVar6 == 0xffffffff)" (( "(") (binary_expression "uVar6 == 0xffffffff" (identifier "uVar6") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();\n      uVar7 = *puVar3;\n      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);\n      uVar4 = quote(uVar4);\n      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);\n    }" ({ "{") (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x2849c))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar10 + 0x2849c))()" (parenthesized_expression "(**(code **)(puVar10 + 0x2849c))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x2849c)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x2849c)" (* "*") (cast_expression "(code **)(puVar10 + 0x2849c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x2849c)" (( "(") (binary_expression "puVar10 + 0x2849c" (identifier "puVar10") (+ "+") (number_literal "0x2849c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar7 = *puVar3;" (assignment_expression "uVar7 = *puVar3" (identifier "uVar7") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);" (assignment_expression "uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" (identifier "uVar5") (= "=") (call_expression "(**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" (parenthesized_expression "(**(code **)(puVar10 + 0x285a0))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x285a0)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x285a0)" (* "*") (cast_expression "(code **)(puVar10 + 0x285a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x285a0)" (( "(") (binary_expression "puVar10 + 0x285a0" (identifier "puVar10") (+ "+") (number_literal "0x285a0")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar10 + 0x28078) + 0x3990,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar10 + 0x28078) + 0x3990" (pointer_expression "*(int *)(puVar10 + 0x28078)" (* "*") (cast_expression "(int *)(puVar10 + 0x28078)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x28078)" (( "(") (binary_expression "puVar10 + 0x28078" (identifier "puVar10") (+ "+") (number_literal "0x28078")) () ")")))) (+ "+") (number_literal "0x3990")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar4 = quote(uVar4);" (assignment_expression "uVar4 = quote(uVar4)" (identifier "uVar4") (= "=") (call_expression "quote(uVar4)" (identifier "quote") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);" (call_expression "(**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x28530))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x28530)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x28530)" (* "*") (cast_expression "(code **)(puVar10 + 0x28530)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x28530)" (( "(") (binary_expression "puVar10 + 0x28530" (identifier "puVar10") (+ "+") (number_literal "0x28530")) () ")"))))) () ")")) (argument_list "(0,uVar7,uVar5,uVar4)" (( "(") (number_literal "0") (, ",") (identifier "uVar7") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();" (assignment_expression "puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x2849c))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar10 + 0x2849c))()" (parenthesized_expression "(**(code **)(puVar10 + 0x2849c))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x2849c)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x2849c)" (* "*") (cast_expression "(code **)(puVar10 + 0x2849c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x2849c)" (( "(") (binary_expression "puVar10 + 0x2849c" (identifier "puVar10") (+ "+") (number_literal "0x2849c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = *puVar3;" (assignment_expression "uVar5 = *puVar3" (identifier "uVar5") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "uVar4 = quote(uVar7);" (assignment_expression "uVar4 = quote(uVar7)" (identifier "uVar4") (= "=") (call_expression "quote(uVar7)" (identifier "quote") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);" (call_expression "(**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11)" (parenthesized_expression "(**(code **)(puVar10 + 0x28530))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x28530)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x28530)" (* "*") (cast_expression "(code **)(puVar10 + 0x28530)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x28530)" (( "(") (binary_expression "puVar10 + 0x28530" (identifier "puVar10") (+ "+") (number_literal "0x28530")) () ")"))))) () ")")) (argument_list "(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11)" (( "(") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (binary_expression "*(int *)(puVar10 + 0x28078) + 0x3794" (pointer_expression "*(int *)(puVar10 + 0x28078)" (* "*") (cast_expression "(int *)(puVar10 + 0x28078)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x28078)" (( "(") (binary_expression "puVar10 + 0x28078" (identifier "puVar10") (+ "+") (number_literal "0x28078")) () ")")))) (+ "+") (number_literal "0x3794")) (, ",") (identifier "uVar4") (, ",") (identifier "puVar11") () ")"))) (; ";")) (return_statement "return 0xfffffffe;" (return "return") (number_literal "0xfffffffe") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal)))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (identifier) (identifier)))) (return_statement (number_literal)))))

uint MASKED(char *param_1,uint param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  uint uVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  char *pcVar9;
  undefined *puVar10;
  undefined1 *puVar11;
  char *local_2c;
  undefined4 local_28;
  int local_24;
  
  puVar10 = PTR___stack_chk_guard_000466a0;
  local_24 = *(int *)PTR___stack_chk_guard_000466a0;
  if ((*param_1 == '/') || (param_3 != 0)) {
    pcVar9 = (char *)0x0;
    local_2c = param_1;
    if (param_2 != 0) goto LAB_0001dea0;
LAB_0001e028:
    param_1 = local_2c;
    local_28 = 0;
    iVar1 = FUN_0001d770(local_2c,param_3);
    param_2 = (uint)(iVar1 != -1);
    (*(code *)PTR_free_000466a8)(pcVar9);
  }
  else {
    pcVar9 = (char *)canonicalize_filename_mode(param_1,2);
    if (pcVar9 == (char *)0x0) goto LAB_0001e068;
    local_2c = pcVar9;
    if (param_2 == 0) goto LAB_0001e028;
LAB_0001dea0:
    local_28 = 0;
    param_1 = (char *)xfts_open(&local_2c,0x10,0);
    while (iVar1 = fts_read(param_1), iVar1 != 0) {
      iVar1 = FUN_0001d770(*(undefined4 *)(param_1 + 0x18),param_3);
      param_2 = param_2 & iVar1 != -1;
    }
    piVar2 = (int *)(*(code *)PTR___errno_location_0004656c)();
    iVar1 = *piVar2;
    if (iVar1 == 0) {
      iVar1 = fts_close(param_1);
    }
    else {
      param_2 = 0;
      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cd8,5);
      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);
      iVar1 = fts_close(param_1);
    }
    if (iVar1 != 0) {
      iVar1 = *piVar2;
      uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3ce8,5);
      param_2 = 0;
      (*(code *)PTR_error_00046600)(0,iVar1,uVar4);
    }
    (*(code *)PTR_free_000466a8)(pcVar9);
  }
  if (local_24 == *(int *)puVar10) {
    return param_2;
  }
  (*(code *)PTR___stack_chk_fail_00046664)();
LAB_0001e068:
  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_0004656c)();
  uVar8 = *puVar3;
  uVar4 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x3cc0,5);
  uVar5 = quotearg_style(4,param_1);
  uVar7 = 1;
  puVar10 = PTR_error_00046600;
  (*(code *)PTR_error_00046600)(1,uVar8,uVar4,uVar5);
  puVar11 = &_gp_1;
  uVar6 = qcopy_acl();
  if (uVar6 != 0xfffffffe) {
    if (uVar6 == 0xffffffff) {
      puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();
      uVar7 = *puVar3;
      uVar5 = (**(code **)(puVar10 + 0x285a0))(0,*(int *)(puVar10 + 0x28078) + 0x3990,5);
      uVar4 = quote(uVar4);
      (**(code **)(puVar10 + 0x28530))(0,uVar7,uVar5,uVar4);
    }
    return uVar6;
  }
  puVar3 = (undefined4 *)(**(code **)(puVar10 + 0x2849c))();
  uVar5 = *puVar3;
  uVar4 = quote(uVar7);
  (**(code **)(puVar10 + 0x28530))(0,uVar5,*(int *)(puVar10 + 0x28078) + 0x3794,uVar4,puVar11);
  return 0xfffffffe;
}

