
void free_permission_context(permission_context *ctx)

{
  if (ctx->acl != (acl_t)0x0) {
    acl_free();
  }
  if (ctx->default_acl != (acl_t)0x0) {
    acl_free();
  }
  return;
}



void FUN_00116bed(long param_1)

{
  if (*(long *)(param_1 + 8) != 0) {
    acl_free();
  }
  if (*(long *)(param_1 + 0x10) != 0) {
    acl_free();
  }
  return;
}


PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x8]
TEST RDI,RDI
JZ 0x00116bff
CALL 0x00104920
MOV RDI,qword ptr [RBX + 0x10]
TEST RDI,RDI
JZ 0x00116c0d
CALL 0x00104920
POP RBX
RET
(translation_unit "void FUN_00116bed(long param_1)\n\n{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00116bed(long param_1)\n\n{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00116bed(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}" { (if_statement "if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 8) != 0)" ( (binary_expression "*(long *)(param_1 + 8) != 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    acl_free();\n  }" { (expression_statement "acl_free();" (call_expression "acl_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) != 0)" ( (binary_expression "*(long *)(param_1 + 0x10) != 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    acl_free();\n  }" { (expression_statement "acl_free();" (call_expression "acl_free()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void free_permission_context(permission_context *ctx)\n\n{\n  if (ctx->acl != (acl_t)0x0) {\n    acl_free();\n  }\n  if (ctx->default_acl != (acl_t)0x0) {\n    acl_free();\n  }\n  return;\n}\n\n" (function_definition "void free_permission_context(permission_context *ctx)\n\n{\n  if (ctx->acl != (acl_t)0x0) {\n    acl_free();\n  }\n  if (ctx->default_acl != (acl_t)0x0) {\n    acl_free();\n  }\n  return;\n}" primitive_type (function_declarator "free_permission_context(permission_context *ctx)" identifier (parameter_list "(permission_context *ctx)" ( (parameter_declaration "permission_context *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  if (ctx->acl != (acl_t)0x0) {\n    acl_free();\n  }\n  if (ctx->default_acl != (acl_t)0x0) {\n    acl_free();\n  }\n  return;\n}" { (if_statement "if (ctx->acl != (acl_t)0x0) {\n    acl_free();\n  }" if (parenthesized_expression "(ctx->acl != (acl_t)0x0)" ( (binary_expression "ctx->acl != (acl_t)0x0" (field_expression "ctx->acl" identifier -> field_identifier) != (cast_expression "(acl_t)0x0" ( (type_descriptor "acl_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    acl_free();\n  }" { (expression_statement "acl_free();" (call_expression "acl_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (ctx->default_acl != (acl_t)0x0) {\n    acl_free();\n  }" if (parenthesized_expression "(ctx->default_acl != (acl_t)0x0)" ( (binary_expression "ctx->default_acl != (acl_t)0x0" (field_expression "ctx->default_acl" identifier -> field_identifier) != (cast_expression "(acl_t)0x0" ( (type_descriptor "acl_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    acl_free();\n  }" { (expression_statement "acl_free();" (call_expression "acl_free()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00116bed(long param_1)\n\n{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00116bed(long param_1)\n\n{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00116bed(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}" { (if_statement "if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 8) != 0)" ( (binary_expression "*(long *)(param_1 + 8) != 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    acl_free();\n  }" { (expression_statement "acl_free();" (call_expression "acl_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) != 0)" ( (binary_expression "*(long *)(param_1 + 0x10) != 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    acl_free();\n  }" { (expression_statement "acl_free();" (call_expression "acl_free()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00116bed(long param_1)\n\n{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00116bed(long param_1)" (identifier "FUN_00116bed") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }\n  if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }\n  return;\n}" ({ "{") (if_statement "if (*(long *)(param_1 + 8) != 0) {\n    acl_free();\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 8) != 0" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    acl_free();\n  }" ({ "{") (expression_statement "acl_free();" (call_expression "acl_free()" (identifier "acl_free") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 0x10) != 0) {\n    acl_free();\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) != 0" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    acl_free();\n  }" ({ "{") (expression_statement "acl_free();" (call_expression "acl_free()" (identifier "acl_free") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ctx)

{
  if (ctx->acl != (type_2)0x0) {
    var_1();
  }
  if (ctx->default_acl != (type_2)0x0) {
    var_1();
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

void MASKED(long param_1)

{
  if (*(long *)(param_1 + 8) != 0) {
    acl_free();
  }
  if (*(long *)(param_1 + 0x10) != 0) {
    acl_free();
  }
  return;
}

