
int set_acl(char *name,int desc,mode_t mode)

{
  int iVar1;
  char *pcVar2;
  undefined8 uVar3;
  int *piVar4;
  
  iVar1 = qset_acl(name,desc,mode);
  if (iVar1 != 0) {
    pcVar2 = quote(name);
    uVar3 = dcgettext(0,"setting permissions for %s",5);
    piVar4 = __errno_location();
    error(0,*piVar4,uVar3,pcVar2);
  }
  return iVar1;
}



int FUN_0010c56b(undefined8 param_1)

{
  int iVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  int *piVar4;
  
  iVar1 = FUN_0010ef12();
  if (iVar1 != 0) {
    uVar2 = FUN_001109e2(param_1);
    uVar3 = dcgettext(0,"setting permissions for %s",5);
    piVar4 = __errno_location();
    error(0,*piVar4,uVar3,uVar2);
  }
  return iVar1;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBP,RDI
CALL 0x0010ef12
MOV EBX,EAX
TEST EAX,EAX
JNZ 0x0010c584
MOV EAX,EBX
POP RBX
POP RBP
POP R12
RET
MOV RDI,RBP
CALL 0x001109e2
MOV R12,RAX
MOV EDX,0x5
LEA RSI,[0x11b737]
MOV EDI,0x0
CALL 0x00103270
MOV RBP,RAX
CALL 0x00103090
MOV RCX,R12
MOV RDX,RBP
MOV ESI,dword ptr [RAX]
MOV EDI,0x0
MOV EAX,0x0
CALL 0x00103750
JMP 0x0010c57d
(translation_unit "int FUN_0010c56b(undefined8 param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0010c56b(undefined8 param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0010c56b(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "iVar1 = FUN_0010ef12();" (assignment_expression "iVar1 = FUN_0010ef12()" identifier = (call_expression "FUN_0010ef12()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }" { (expression_statement "uVar2 = FUN_001109e2(param_1);" (assignment_expression "uVar2 = FUN_001109e2(param_1)" identifier = (call_expression "FUN_001109e2(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"setting permissions for %s",5);" (assignment_expression "uVar3 = dcgettext(0,"setting permissions for %s",5)" identifier = (call_expression "dcgettext(0,"setting permissions for %s",5)" identifier (argument_list "(0,"setting permissions for %s",5)" ( number_literal , (string_literal ""setting permissions for %s"" " string_content ") , number_literal )))) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "error(0,*piVar4,uVar3,uVar2);" (call_expression "error(0,*piVar4,uVar3,uVar2)" identifier (argument_list "(0,*piVar4,uVar3,uVar2)" ( number_literal , (pointer_expression "*piVar4" * identifier) , identifier , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int set_acl(char *name,int desc,mode_t mode)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = qset_acl(name,desc,mode);\n  if (iVar1 != 0) {\n    pcVar2 = quote(name);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,pcVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int set_acl(char *name,int desc,mode_t mode)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = qset_acl(name,desc,mode);\n  if (iVar1 != 0) {\n    pcVar2 = quote(name);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,pcVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "set_acl(char *name,int desc,mode_t mode)" identifier (parameter_list "(char *name,int desc,mode_t mode)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int desc" primitive_type identifier) , (parameter_declaration "mode_t mode" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = qset_acl(name,desc,mode);\n  if (iVar1 != 0) {\n    pcVar2 = quote(name);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,pcVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "iVar1 = qset_acl(name,desc,mode);" (assignment_expression "iVar1 = qset_acl(name,desc,mode)" identifier = (call_expression "qset_acl(name,desc,mode)" identifier (argument_list "(name,desc,mode)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    pcVar2 = quote(name);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,pcVar2);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = quote(name);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,pcVar2);\n  }" { (expression_statement "pcVar2 = quote(name);" (assignment_expression "pcVar2 = quote(name)" identifier = (call_expression "quote(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"setting permissions for %s",5);" (assignment_expression "uVar3 = dcgettext(0,"setting permissions for %s",5)" identifier = (call_expression "dcgettext(0,"setting permissions for %s",5)" identifier (argument_list "(0,"setting permissions for %s",5)" ( number_literal , (string_literal ""setting permissions for %s"" " string_content ") , number_literal )))) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "error(0,*piVar4,uVar3,pcVar2);" (call_expression "error(0,*piVar4,uVar3,pcVar2)" identifier (argument_list "(0,*piVar4,uVar3,pcVar2)" ( number_literal , (pointer_expression "*piVar4" * identifier) , identifier , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_0010c56b(undefined8 param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0010c56b(undefined8 param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0010c56b(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "iVar1 = FUN_0010ef12();" (assignment_expression "iVar1 = FUN_0010ef12()" identifier = (call_expression "FUN_0010ef12()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }" { (expression_statement "uVar2 = FUN_001109e2(param_1);" (assignment_expression "uVar2 = FUN_001109e2(param_1)" identifier = (call_expression "FUN_001109e2(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"setting permissions for %s",5);" (assignment_expression "uVar3 = dcgettext(0,"setting permissions for %s",5)" identifier = (call_expression "dcgettext(0,"setting permissions for %s",5)" identifier (argument_list "(0,"setting permissions for %s",5)" ( number_literal , (string_literal ""setting permissions for %s"" " string_content ") , number_literal )))) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "error(0,*piVar4,uVar3,uVar2);" (call_expression "error(0,*piVar4,uVar3,uVar2)" identifier (argument_list "(0,*piVar4,uVar3,uVar2)" ( number_literal , (pointer_expression "*piVar4" * identifier) , identifier , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) , IDENT , IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0010c56b(undefined8 param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0010c56b(undefined8 param_1)" (identifier "FUN_0010c56b") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  iVar1 = FUN_0010ef12();\n  if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (expression_statement "iVar1 = FUN_0010ef12();" (assignment_expression "iVar1 = FUN_0010ef12()" (identifier "iVar1") (= "=") (call_expression "FUN_0010ef12()" (identifier "FUN_0010ef12") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = FUN_001109e2(param_1);\n    uVar3 = dcgettext(0,"setting permissions for %s",5);\n    piVar4 = __errno_location();\n    error(0,*piVar4,uVar3,uVar2);\n  }" ({ "{") (expression_statement "uVar2 = FUN_001109e2(param_1);" (assignment_expression "uVar2 = FUN_001109e2(param_1)" (identifier "uVar2") (= "=") (call_expression "FUN_001109e2(param_1)" (identifier "FUN_001109e2") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"setting permissions for %s",5);" (assignment_expression "uVar3 = dcgettext(0,"setting permissions for %s",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"setting permissions for %s",5)" (identifier "dcgettext") (argument_list "(0,"setting permissions for %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""setting permissions for %s"" (" """) (string_content "setting permissions for %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" (identifier "piVar4") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "error(0,*piVar4,uVar3,uVar2);" (call_expression "error(0,*piVar4,uVar3,uVar2)" (identifier "error") (argument_list "(0,*piVar4,uVar3,uVar2)" (( "(") (number_literal "0") (, ",") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

int function_1(char *name,int desc,type_1 mode)

{
  int var_2;
  char *pcVar2;
  type_2 uVar3;
  int *piVar4;
  
  var_2 = var_1(name,desc,mode);
  if (var_2 != 0) {
    pcVar2 = var_3(name);
    uVar3 = var_4(0,"setting permissions for %s",5);
    piVar4 = var_5();
    var_6(0,*piVar4,uVar3,pcVar2);
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (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 (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier)) (identifier) (identifier)))))) (return_statement (identifier)))))

int MASKED(undefined8 param_1)

{
  int iVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  int *piVar4;
  
  iVar1 = FUN_0010ef12();
  if (iVar1 != 0) {
    uVar2 = FUN_001109e2(param_1);
    uVar3 = dcgettext(0,"setting permissions for %s",5);
    piVar4 = __errno_location();
    error(0,*piVar4,uVar3,uVar2);
  }
  return iVar1;
}

