
quoting_style get_quoting_style(quoting_options *o)

{
  if (o == (quoting_options *)0x0) {
    o = &default_quoting_options;
  }
  return o->style;
}



undefined4 FUN_00111ee9(undefined4 *param_1)

{
  if (param_1 == (undefined4 *)0x0) {
    param_1 = (undefined4 *)&DAT_00128bc0;
  }
  return *param_1;
}


TEST RDI,RDI
LEA RAX,[0x128bc0]
CMOVZ RDI,RAX
MOV EAX,dword ptr [RDI]
RET
(translation_unit "undefined4 FUN_00111ee9(undefined4 *param_1)\n\n{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}\n\n" (function_definition "undefined4 FUN_00111ee9(undefined4 *param_1)\n\n{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}" type_identifier (function_declarator "FUN_00111ee9(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}" { (if_statement "if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }" { (expression_statement "param_1 = (undefined4 *)&DAT_00128bc0;" (assignment_expression "param_1 = (undefined4 *)&DAT_00128bc0" identifier = (cast_expression "(undefined4 *)&DAT_00128bc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00128bc0" & identifier))) ;) })) (return_statement "return *param_1;" return (pointer_expression "*param_1" * identifier) ;) })))
(translation_unit "quoting_style get_quoting_style(quoting_options *o)\n\n{\n  if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }\n  return o->style;\n}\n\n" (function_definition "quoting_style get_quoting_style(quoting_options *o)\n\n{\n  if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }\n  return o->style;\n}" type_identifier (function_declarator "get_quoting_style(quoting_options *o)" identifier (parameter_list "(quoting_options *o)" ( (parameter_declaration "quoting_options *o" type_identifier (pointer_declarator "*o" * identifier)) ))) (compound_statement "{\n  if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }\n  return o->style;\n}" { (if_statement "if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }" if (parenthesized_expression "(o == (quoting_options *)0x0)" ( (binary_expression "o == (quoting_options *)0x0" identifier == (cast_expression "(quoting_options *)0x0" ( (type_descriptor "quoting_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    o = &default_quoting_options;\n  }" { (expression_statement "o = &default_quoting_options;" (assignment_expression "o = &default_quoting_options" identifier = (pointer_expression "&default_quoting_options" & identifier)) ;) })) (return_statement "return o->style;" return (field_expression "o->style" identifier -> field_identifier) ;) })))
(translation_unit "undefined4 FUN_00111ee9(undefined4 *param_1)\n\n{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}\n\n" (function_definition "undefined4 FUN_00111ee9(undefined4 *param_1)\n\n{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}" type_identifier (function_declarator "FUN_00111ee9(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}" { (if_statement "if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }" { (expression_statement "param_1 = (undefined4 *)&DAT_00128bc0;" (assignment_expression "param_1 = (undefined4 *)&DAT_00128bc0" identifier = (cast_expression "(undefined4 *)&DAT_00128bc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00128bc0" & identifier))) ;) })) (return_statement "return *param_1;" return (pointer_expression "*param_1" * identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) })) (return_statement return (pointer_expression * IDENT) ;) })))
(function_definition "undefined4 FUN_00111ee9(undefined4 *param_1)\n\n{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00111ee9(undefined4 *param_1)" (identifier "FUN_00111ee9") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }\n  return *param_1;\n}" ({ "{") (if_statement "if (param_1 == (undefined4 *)0x0) {\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1 = (undefined4 *)&DAT_00128bc0;\n  }" ({ "{") (expression_statement "param_1 = (undefined4 *)&DAT_00128bc0;" (assignment_expression "param_1 = (undefined4 *)&DAT_00128bc0" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)&DAT_00128bc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00128bc0" (& "&") (identifier "DAT_00128bc0")))) (; ";")) (} "}"))) (return_statement "return *param_1;" (return "return") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (; ";")) (} "}")))

type_1 function_1(type_2 *var_1)

{
  if (var_1 == (type_2 *)0x0) {
    var_1 = &default_quoting_options;
  }
  return var_1->style;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (return_statement (pointer_expression argument: (identifier))))))

undefined4 MASKED(undefined4 *param_1)

{
  if (param_1 == (undefined4 *)0x0) {
    param_1 = (undefined4 *)&DAT_00128bc0;
  }
  return *param_1;
}

