
_Bool set_file_security_ctx(char *dst_name,_Bool process_local,_Bool recurse,cp_options *x)

{
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  _Bool _Var2;
  int *piVar1;
  int iVar3;
  int in_t9;
  
  if ((x->data_copy_required == false) || (x->require_preserve_context != false)) {
    _Var2 = restorecon(dst_name,recurse,process_local);
    if (CONCAT31(extraout_var,_Var2) == 0) {
      (**(code **)(in_t9 + 0x2ea88))();
      iVar3 = *(int *)(in_t9 + 0x2e664);
      goto LAB_00017b9c;
    }
  }
  else {
    if (x->reduce_diagnostics != false) {
      _Var2 = restorecon(dst_name,recurse,process_local);
      return _Var2;
    }
    _Var2 = restorecon(dst_name,recurse,process_local);
    if (CONCAT31(extraout_var_00,_Var2) == 0) {
      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();
      if (*piVar1 == 0x7a) {
        return false;
      }
      iVar3 = *(int *)(in_t9 + 0x2e664);
      if (*piVar1 == 0x3d) {
        return false;
      }
LAB_00017b9c:
      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);
                    /* WARNING: Subroutine does not return */
      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);
    }
  }
  return true;
}



undefined4
set_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  int *piVar4;
  
  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {
    iVar3 = restorecon(param_1,param_3,param_2);
    if (iVar3 == 0) {
      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();
      iVar3 = *piVar4;
      goto LAB_00017b9c;
    }
  }
  else {
    if (*(char *)(param_4 + 0x29) != '\0') {
      uVar1 = restorecon(param_1,param_3,param_2);
      return uVar1;
    }
    iVar3 = restorecon(param_1,param_3,param_2);
    if (iVar3 == 0) {
      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();
      iVar3 = *piVar4;
      if (iVar3 == 0x7a) {
        return 0;
      }
      if (iVar3 == 0x3d) {
        return 0;
      }
LAB_00017b9c:
      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);
      uVar2 = quotearg_n_style(0,4,param_1);
      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);
      return 0;
    }
  }
  return 1;
}


lui gp,0x3
addiu gp,gp,0x662c
addu gp,gp,t9
addiu sp,sp,-0x28
lbu v1,0x23(a3)
or v0,a1,zero
or a1,a2,zero
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a0,zero
sw ra,0x24(sp)
sw s2,0x20(sp)
beq v1,zero,0x00017b50
_sw s0,0x18(sp)
lbu v1,0x26(a3)
bne v1,zero,0x00017b54
_lw t9,-0x7fa8(gp)
lbu v1,0x29(a3)
beq v1,zero,0x00017c08
_lw ra,0x24(sp)
or a2,v0,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fa8(gp)
b 0x0001de30
_addiu sp,sp,0x28
lw t9,-0x7fa8(gp)
bal 0x0001de30
_or a2,v0,zero
beq v0,zero,0x00017b84
_lw gp,0x10(sp)
li s0,0x1
lw ra,0x24(sp)
or v0,s0,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7ba4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw s2,0x0(v0)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7aa0(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x343c
li a1,0x4
lw gp,0x10(sp)
or a0,zero,zero
or a2,s1,zero
lw t9,-0x7f20(gp)
bal 0x00024b5c
_or s0,v0,zero
or a0,zero,zero
lw gp,0x10(sp)
or a3,v0,zero
or a2,s0,zero
or a1,s2,zero
lw t9,-0x7b10(gp)
jalr t9
_or s0,zero,zero
or v0,s0,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
bal 0x0001de30
_or a2,v0,zero
lw gp,0x10(sp)
bne v0,zero,0x00017b64
_or s0,v0,zero
lw t9,-0x7ba4(gp)
jalr t9
_nop
li v1,0x7a
lw s2,0x0(v0)
beq s2,v1,0x00017b68
_lw gp,0x10(sp)
li v0,0x3d
bne s2,v0,0x00017b9c
_lw a1,-0x7fc8(gp)
b 0x00017b6c
_lw ra,0x24(sp)
(translation_unit "undefined4\nset_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "undefined4\nset_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "set_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (if_statement "if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0'))" ( (binary_expression "(*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')" (parenthesized_expression "(*(char *)(param_4 + 0x23) == '\0')" ( (binary_expression "*(char *)(param_4 + 0x23) == '\0'" (pointer_expression "*(char *)(param_4 + 0x23)" * (cast_expression "(char *)(param_4 + 0x23)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x23)" ( (binary_expression "param_4 + 0x23" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(char *)(param_4 + 0x26) != '\0')" ( (binary_expression "*(char *)(param_4 + 0x26) != '\0'" (pointer_expression "*(char *)(param_4 + 0x26)" * (cast_expression "(char *)(param_4 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x26)" ( (binary_expression "param_4 + 0x26" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }" { (expression_statement "iVar3 = restorecon(param_1,param_3,param_2);" (assignment_expression "iVar3 = restorecon(param_1,param_3,param_2)" identifier = (call_expression "restorecon(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar4 = (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 "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (goto_statement "goto LAB_00017b9c;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" else (compound_statement "{\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" { (if_statement "if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }" if (parenthesized_expression "(*(char *)(param_4 + 0x29) != '\0')" ( (binary_expression "*(char *)(param_4 + 0x29) != '\0'" (pointer_expression "*(char *)(param_4 + 0x29)" * (cast_expression "(char *)(param_4 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x29)" ( (binary_expression "param_4 + 0x29" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }" { (expression_statement "uVar1 = restorecon(param_1,param_3,param_2);" (assignment_expression "uVar1 = restorecon(param_1,param_3,param_2)" identifier = (call_expression "restorecon(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "iVar3 = restorecon(param_1,param_3,param_2);" (assignment_expression "iVar3 = restorecon(param_1,param_3,param_2)" identifier = (call_expression "restorecon(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar4 = (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 "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iVar3 == 0x7a) {\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0x7a)" ( (binary_expression "iVar3 == 0x7a" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar3 == 0x3d) {\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0x3d)" ( (binary_expression "iVar3 == 0x3d" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);" statement_identifier : (expression_statement "uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);" (assignment_expression "uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,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 + 0x343c,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x343c" identifier + number_literal) , number_literal )))) ;)) (expression_statement "uVar2 = quotearg_n_style(0,4,param_1);" (assignment_expression "uVar2 = quotearg_n_style(0,4,param_1)" identifier = (call_expression "quotearg_n_style(0,4,param_1)" identifier (argument_list "(0,4,param_1)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2)" (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,iVar3,uVar1,uVar2)" ( number_literal , identifier , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "_Bool set_file_security_ctx(char *dst_name,_Bool process_local,_Bool recurse,cp_options *x)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  _Bool _Var2;\n  int *piVar1;\n  int iVar3;\n  int in_t9;\n  \n  if ((x->data_copy_required == false) || (x->require_preserve_context != false)) {\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var,_Var2) == 0) {\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }\n  }\n  return true;\n}\n\n" (function_definition "_Bool set_file_security_ctx(char *dst_name,_Bool process_local,_Bool recurse,cp_options *x)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  _Bool _Var2;\n  int *piVar1;\n  int iVar3;\n  int in_t9;\n  \n  if ((x->data_copy_required == false) || (x->require_preserve_context != false)) {\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var,_Var2) == 0) {\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }\n  }\n  return true;\n}" type_identifier (function_declarator "set_file_security_ctx(char *dst_name,_Bool process_local,_Bool recurse,cp_options *x)" identifier (parameter_list "(char *dst_name,_Bool process_local,_Bool recurse,cp_options *x)" ( (parameter_declaration "char *dst_name" primitive_type (pointer_declarator "*dst_name" * identifier)) , (parameter_declaration "_Bool process_local" type_identifier identifier) , (parameter_declaration "_Bool recurse" type_identifier identifier) , (parameter_declaration "cp_options *x" type_identifier (pointer_declarator "*x" * identifier)) ))) (compound_statement "{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  _Bool _Var2;\n  int *piVar1;\n  int iVar3;\n  int in_t9;\n  \n  if ((x->data_copy_required == false) || (x->require_preserve_context != false)) {\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var,_Var2) == 0) {\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }\n  }\n  return true;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if ((x->data_copy_required == false) || (x->require_preserve_context != false)) {\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var,_Var2) == 0) {\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }\n  }" if (parenthesized_expression "((x->data_copy_required == false) || (x->require_preserve_context != false))" ( (binary_expression "(x->data_copy_required == false) || (x->require_preserve_context != false)" (parenthesized_expression "(x->data_copy_required == false)" ( (binary_expression "x->data_copy_required == false" (field_expression "x->data_copy_required" identifier -> field_identifier) == false) )) || (parenthesized_expression "(x->require_preserve_context != false)" ( (binary_expression "x->require_preserve_context != false" (field_expression "x->require_preserve_context" identifier -> field_identifier) != false) ))) )) (compound_statement "{\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var,_Var2) == 0) {\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }\n  }" { (expression_statement "_Var2 = restorecon(dst_name,recurse,process_local);" (assignment_expression "_Var2 = restorecon(dst_name,recurse,process_local)" identifier = (call_expression "restorecon(dst_name,recurse,process_local)" identifier (argument_list "(dst_name,recurse,process_local)" ( identifier , identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var,_Var2) == 0) {\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }" if (parenthesized_expression "(CONCAT31(extraout_var,_Var2) == 0)" ( (binary_expression "CONCAT31(extraout_var,_Var2) == 0" (call_expression "CONCAT31(extraout_var,_Var2)" identifier (argument_list "(extraout_var,_Var2)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n      (**(code **)(in_t9 + 0x2ea88))();\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      goto LAB_00017b9c;\n    }" { (expression_statement "(**(code **)(in_t9 + 0x2ea88))();" (call_expression "(**(code **)(in_t9 + 0x2ea88))()" (parenthesized_expression "(**(code **)(in_t9 + 0x2ea88))" ( (pointer_expression "**(code **)(in_t9 + 0x2ea88)" * (pointer_expression "*(code **)(in_t9 + 0x2ea88)" * (cast_expression "(code **)(in_t9 + 0x2ea88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x2ea88)" ( (binary_expression "in_t9 + 0x2ea88" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(in_t9 + 0x2e664);" (assignment_expression "iVar3 = *(int *)(in_t9 + 0x2e664)" identifier = (pointer_expression "*(int *)(in_t9 + 0x2e664)" * (cast_expression "(int *)(in_t9 + 0x2e664)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x2e664)" ( (binary_expression "in_t9 + 0x2e664" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00017b9c;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }\n  }" else (compound_statement "{\n    if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }\n    _Var2 = restorecon(dst_name,recurse,process_local);\n    if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }\n  }" { (if_statement "if (x->reduce_diagnostics != false) {\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }" if (parenthesized_expression "(x->reduce_diagnostics != false)" ( (binary_expression "x->reduce_diagnostics != false" (field_expression "x->reduce_diagnostics" identifier -> field_identifier) != false) )) (compound_statement "{\n      _Var2 = restorecon(dst_name,recurse,process_local);\n      return _Var2;\n    }" { (expression_statement "_Var2 = restorecon(dst_name,recurse,process_local);" (assignment_expression "_Var2 = restorecon(dst_name,recurse,process_local)" identifier = (call_expression "restorecon(dst_name,recurse,process_local)" identifier (argument_list "(dst_name,recurse,process_local)" ( identifier , identifier , identifier )))) ;) (return_statement "return _Var2;" return identifier ;) })) (expression_statement "_Var2 = restorecon(dst_name,recurse,process_local);" (assignment_expression "_Var2 = restorecon(dst_name,recurse,process_local)" identifier = (call_expression "restorecon(dst_name,recurse,process_local)" identifier (argument_list "(dst_name,recurse,process_local)" ( identifier , identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_00,_Var2) == 0) {\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }" if (parenthesized_expression "(CONCAT31(extraout_var_00,_Var2) == 0)" ( (binary_expression "CONCAT31(extraout_var_00,_Var2) == 0" (call_expression "CONCAT31(extraout_var_00,_Var2)" identifier (argument_list "(extraout_var_00,_Var2)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n      piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();\n      if (*piVar1 == 0x7a) {\n        return false;\n      }\n      iVar3 = *(int *)(in_t9 + 0x2e664);\n      if (*piVar1 == 0x3d) {\n        return false;\n      }\nLAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);\n                    /* WARNING: Subroutine does not return */\n      quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);\n    }" { (expression_statement "piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))();" (assignment_expression "piVar1 = (int *)(**(code **)(in_t9 + 0x2ea88))()" identifier = (cast_expression "(int *)(**(code **)(in_t9 + 0x2ea88))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x2ea88))()" (parenthesized_expression "(**(code **)(in_t9 + 0x2ea88))" ( (pointer_expression "**(code **)(in_t9 + 0x2ea88)" * (pointer_expression "*(code **)(in_t9 + 0x2ea88)" * (cast_expression "(code **)(in_t9 + 0x2ea88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x2ea88)" ( (binary_expression "in_t9 + 0x2ea88" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar1 == 0x7a) {\n        return false;\n      }" if (parenthesized_expression "(*piVar1 == 0x7a)" ( (binary_expression "*piVar1 == 0x7a" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar3 = *(int *)(in_t9 + 0x2e664);" (assignment_expression "iVar3 = *(int *)(in_t9 + 0x2e664)" identifier = (pointer_expression "*(int *)(in_t9 + 0x2e664)" * (cast_expression "(int *)(in_t9 + 0x2e664)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x2e664)" ( (binary_expression "in_t9 + 0x2e664" identifier + number_literal) ))))) ;) (if_statement "if (*piVar1 == 0x3d) {\n        return false;\n      }" if (parenthesized_expression "(*piVar1 == 0x3d)" ( (binary_expression "*piVar1 == 0x3d" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (labeled_statement "LAB_00017b9c:\n      (**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);" statement_identifier : (expression_statement "(**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5);" (call_expression "(**(code **)(in_t9 + 0x2eb8c))(0,iVar3 + 0x343c,5)" (parenthesized_expression "(**(code **)(in_t9 + 0x2eb8c))" ( (pointer_expression "**(code **)(in_t9 + 0x2eb8c)" * (pointer_expression "*(code **)(in_t9 + 0x2eb8c)" * (cast_expression "(code **)(in_t9 + 0x2eb8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x2eb8c)" ( (binary_expression "in_t9 + 0x2eb8c" identifier + number_literal) ))))) )) (argument_list "(0,iVar3 + 0x343c,5)" ( number_literal , (binary_expression "iVar3 + 0x343c" identifier + number_literal) , number_literal ))) ;)) comment (expression_statement "quotearg_n_style(0,shell_escape_always_quoting_style,dst_name);" (call_expression "quotearg_n_style(0,shell_escape_always_quoting_style,dst_name)" identifier (argument_list "(0,shell_escape_always_quoting_style,dst_name)" ( number_literal , identifier , identifier ))) ;) })) }))) (return_statement "return true;" return true ;) })))
(translation_unit "undefined4\nset_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "undefined4\nset_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "set_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (if_statement "if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0'))" ( (binary_expression "(*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')" (parenthesized_expression "(*(char *)(param_4 + 0x23) == '\0')" ( (binary_expression "*(char *)(param_4 + 0x23) == '\0'" (pointer_expression "*(char *)(param_4 + 0x23)" * (cast_expression "(char *)(param_4 + 0x23)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x23)" ( (binary_expression "param_4 + 0x23" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(char *)(param_4 + 0x26) != '\0')" ( (binary_expression "*(char *)(param_4 + 0x26) != '\0'" (pointer_expression "*(char *)(param_4 + 0x26)" * (cast_expression "(char *)(param_4 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x26)" ( (binary_expression "param_4 + 0x26" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }" { (expression_statement "iVar3 = restorecon(param_1,param_3,param_2);" (assignment_expression "iVar3 = restorecon(param_1,param_3,param_2)" identifier = (call_expression "restorecon(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar4 = (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 "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (goto_statement "goto LAB_00017b9c;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" else (compound_statement "{\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" { (if_statement "if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }" if (parenthesized_expression "(*(char *)(param_4 + 0x29) != '\0')" ( (binary_expression "*(char *)(param_4 + 0x29) != '\0'" (pointer_expression "*(char *)(param_4 + 0x29)" * (cast_expression "(char *)(param_4 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x29)" ( (binary_expression "param_4 + 0x29" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }" { (expression_statement "uVar1 = restorecon(param_1,param_3,param_2);" (assignment_expression "uVar1 = restorecon(param_1,param_3,param_2)" identifier = (call_expression "restorecon(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "iVar3 = restorecon(param_1,param_3,param_2);" (assignment_expression "iVar3 = restorecon(param_1,param_3,param_2)" identifier = (call_expression "restorecon(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar4 = (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 "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (iVar3 == 0x7a) {\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0x7a)" ( (binary_expression "iVar3 == 0x7a" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar3 == 0x3d) {\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0x3d)" ( (binary_expression "iVar3 == 0x3d" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);" statement_identifier : (expression_statement "uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);" (assignment_expression "uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,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 + 0x343c,5)" ( number_literal , (binary_expression "PTR_LAB_00046148 + 0x343c" identifier + number_literal) , number_literal )))) ;)) (expression_statement "uVar2 = quotearg_n_style(0,4,param_1);" (assignment_expression "uVar2 = quotearg_n_style(0,4,param_1)" identifier = (call_expression "quotearg_n_style(0,4,param_1)" identifier (argument_list "(0,4,param_1)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2)" (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,iVar3,uVar1,uVar2)" ( number_literal , identifier , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (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 , LIT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) (return_statement return LIT ;) })) }))) (return_statement return LIT ;) })))
(function_definition "undefined4\nset_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "set_file_security_ctx(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" (identifier "set_file_security_ctx") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int *piVar4;\n  \n  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (if_statement "if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }\n  else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0'))" (( "(") (binary_expression "(*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')" (parenthesized_expression "(*(char *)(param_4 + 0x23) == '\0')" (( "(") (binary_expression "*(char *)(param_4 + 0x23) == '\0'" (pointer_expression "*(char *)(param_4 + 0x23)" (* "*") (cast_expression "(char *)(param_4 + 0x23)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x23)" (( "(") (binary_expression "param_4 + 0x23" (identifier "param_4") (+ "+") (number_literal "0x23")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_4 + 0x26) != '\0')" (( "(") (binary_expression "*(char *)(param_4 + 0x26) != '\0'" (pointer_expression "*(char *)(param_4 + 0x26)" (* "*") (cast_expression "(char *)(param_4 + 0x26)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x26)" (( "(") (binary_expression "param_4 + 0x26" (identifier "param_4") (+ "+") (number_literal "0x26")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }\n  }" ({ "{") (expression_statement "iVar3 = restorecon(param_1,param_3,param_2);" (assignment_expression "iVar3 = restorecon(param_1,param_3,param_2)" (identifier "iVar3") (= "=") (call_expression "restorecon(param_1,param_3,param_2)" (identifier "restorecon") (argument_list "(param_1,param_3,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      goto LAB_00017b9c;\n    }" ({ "{") (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)()" (identifier "piVar4") (= "=") (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 "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" (identifier "iVar3") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (goto_statement "goto LAB_00017b9c;" (goto "goto") (statement_identifier "LAB_00017b9c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }\n    iVar3 = restorecon(param_1,param_3,param_2);\n    if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }\n  }" ({ "{") (if_statement "if (*(char *)(param_4 + 0x29) != '\0') {\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_4 + 0x29) != '\0')" (( "(") (binary_expression "*(char *)(param_4 + 0x29) != '\0'" (pointer_expression "*(char *)(param_4 + 0x29)" (* "*") (cast_expression "(char *)(param_4 + 0x29)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x29)" (( "(") (binary_expression "param_4 + 0x29" (identifier "param_4") (+ "+") (number_literal "0x29")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar1 = restorecon(param_1,param_3,param_2);\n      return uVar1;\n    }" ({ "{") (expression_statement "uVar1 = restorecon(param_1,param_3,param_2);" (assignment_expression "uVar1 = restorecon(param_1,param_3,param_2)" (identifier "uVar1") (= "=") (call_expression "restorecon(param_1,param_3,param_2)" (identifier "restorecon") (argument_list "(param_1,param_3,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "iVar3 = restorecon(param_1,param_3,param_2);" (assignment_expression "iVar3 = restorecon(param_1,param_3,param_2)" (identifier "iVar3") (= "=") (call_expression "restorecon(param_1,param_3,param_2)" (identifier "restorecon") (argument_list "(param_1,param_3,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();\n      iVar3 = *piVar4;\n      if (iVar3 == 0x7a) {\n        return 0;\n      }\n      if (iVar3 == 0x3d) {\n        return 0;\n      }\nLAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);\n      uVar2 = quotearg_n_style(0,4,param_1);\n      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);\n      return 0;\n    }" ({ "{") (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)()" (identifier "piVar4") (= "=") (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 "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" (identifier "iVar3") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (if_statement "if (iVar3 == 0x7a) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0x7a)" (( "(") (binary_expression "iVar3 == 0x7a" (identifier "iVar3") (== "==") (number_literal "0x7a")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (iVar3 == 0x3d) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0x3d)" (( "(") (binary_expression "iVar3 == 0x3d" (identifier "iVar3") (== "==") (number_literal "0x3d")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (labeled_statement "LAB_00017b9c:\n      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);" (statement_identifier "LAB_00017b9c") (: ":") (expression_statement "uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);" (assignment_expression "uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,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 + 0x343c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00046148 + 0x343c" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x343c")) (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "uVar2 = quotearg_n_style(0,4,param_1);" (assignment_expression "uVar2 = quotearg_n_style(0,4,param_1)" (identifier "uVar2") (= "=") (call_expression "quotearg_n_style(0,4,param_1)" (identifier "quotearg_n_style") (argument_list "(0,4,param_1)" (( "(") (number_literal "0") (, ",") (number_literal "4") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);" (call_expression "(*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2)" (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,iVar3,uVar1,uVar2)" (( "(") (number_literal "0") (, ",") (identifier "iVar3") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

type_1 function_1(char *dst_name,type_1 process_local,type_1 recurse,type_2 *x)

{
  type_3 extraout_var;
  type_3 extraout_var_00;
  type_1 _Var2;
  int *piVar1;
  int var_4;
  int var_3;
  
  if ((x->data_copy_required == false) || (x->require_preserve_context != false)) {
    _Var2 = var_1(dst_name,recurse,process_local);
    if (var_2(extraout_var,_Var2) == 0) {
      (**(type_4 **)(var_3 + 0x2ea88))();
      var_4 = *(int *)(var_3 + 0x2e664);
      goto LAB_00017b9c;
    }
  }
  else {
    if (x->reduce_diagnostics != false) {
      _Var2 = var_1(dst_name,recurse,process_local);
      return _Var2;
    }
    _Var2 = var_1(dst_name,recurse,process_local);
    if (var_2(extraout_var_00,_Var2) == 0) {
      piVar1 = (int *)(**(type_4 **)(var_3 + 0x2ea88))();
      if (*piVar1 == 0x7a) {
        return false;
      }
      var_4 = *(int *)(var_3 + 0x2e664);
      if (*piVar1 == 0x3d) {
        return false;
      }
LAB_00017b9c:
      (**(type_4 **)(var_3 + 0x2eb8c))(0,var_4 + 0x343c,5);
                    /* WARNING: Subroutine does not return */
      var_5(0,shell_escape_always_quoting_style,dst_name);
    }
  }
  return true;
}


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

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

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  int *piVar4;
  
  if ((*(char *)(param_4 + 0x23) == '\0') || (*(char *)(param_4 + 0x26) != '\0')) {
    iVar3 = restorecon(param_1,param_3,param_2);
    if (iVar3 == 0) {
      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();
      iVar3 = *piVar4;
      goto LAB_00017b9c;
    }
  }
  else {
    if (*(char *)(param_4 + 0x29) != '\0') {
      uVar1 = restorecon(param_1,param_3,param_2);
      return uVar1;
    }
    iVar3 = restorecon(param_1,param_3,param_2);
    if (iVar3 == 0) {
      piVar4 = (int *)(*(code *)PTR___errno_location_0004656c)();
      iVar3 = *piVar4;
      if (iVar3 == 0x7a) {
        return 0;
      }
      if (iVar3 == 0x3d) {
        return 0;
      }
LAB_00017b9c:
      uVar1 = (*(code *)PTR_dcgettext_00046670)(0,PTR_LAB_00046148 + 0x343c,5);
      uVar2 = quotearg_n_style(0,4,param_1);
      (*(code *)PTR_error_00046600)(0,iVar3,uVar1,uVar2);
      return 0;
    }
  }
  return 1;
}

