
/* WARNING: Unknown calling convention */

void set_scsi_pt_transport_err(sg_pt_base *vp,int err)

{
  sg_pt_linux_scsi *ptp;
  
  (vp->impl).io_hdr.transport_status = err;
  return;
}



void set_scsi_pt_transport_err(long param_1,undefined4 param_2)

{
  *(undefined4 *)(param_1 + 0x70) = param_2;
  return;
}


MOV dword ptr [RDI + 0x70],ESI
RET
(translation_unit "void set_scsi_pt_transport_err(long param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}\n\n" (function_definition "void set_scsi_pt_transport_err(long param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}" primitive_type (function_declarator "set_scsi_pt_transport_err(long param_1,undefined4 param_2)" identifier (parameter_list "(long param_1,undefined4 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0x70) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x70) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid set_scsi_pt_transport_err(sg_pt_base *vp,int err)\n\n{\n  sg_pt_linux_scsi *ptp;\n  \n  (vp->impl).io_hdr.transport_status = err;\n  return;\n}\n\n" comment (function_definition "void set_scsi_pt_transport_err(sg_pt_base *vp,int err)\n\n{\n  sg_pt_linux_scsi *ptp;\n  \n  (vp->impl).io_hdr.transport_status = err;\n  return;\n}" primitive_type (function_declarator "set_scsi_pt_transport_err(sg_pt_base *vp,int err)" identifier (parameter_list "(sg_pt_base *vp,int err)" ( (parameter_declaration "sg_pt_base *vp" type_identifier (pointer_declarator "*vp" * identifier)) , (parameter_declaration "int err" primitive_type identifier) ))) (compound_statement "{\n  sg_pt_linux_scsi *ptp;\n  \n  (vp->impl).io_hdr.transport_status = err;\n  return;\n}" { (declaration "sg_pt_linux_scsi *ptp;" type_identifier (pointer_declarator "*ptp" * identifier) ;) (expression_statement "(vp->impl).io_hdr.transport_status = err;" (assignment_expression "(vp->impl).io_hdr.transport_status = err" (field_expression "(vp->impl).io_hdr.transport_status" (field_expression "(vp->impl).io_hdr" (parenthesized_expression "(vp->impl)" ( (field_expression "vp->impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_scsi_pt_transport_err(long param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}\n\n" (function_definition "void set_scsi_pt_transport_err(long param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}" primitive_type (function_declarator "set_scsi_pt_transport_err(long param_1,undefined4 param_2)" identifier (parameter_list "(long param_1,undefined4 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0x70) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x70) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void set_scsi_pt_transport_err(long param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "set_scsi_pt_transport_err(long param_1,undefined4 param_2)" (identifier "set_scsi_pt_transport_err") (parameter_list "(long param_1,undefined4 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x70) = param_2;\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x70) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x70) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x70)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *vp,int err)

{
  type_2 *ptp;
  
  (vp->impl).io_hdr.transport_status = err;
  return;
}


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

void MASKED(long param_1,undefined4 param_2)

{
  *(undefined4 *)(param_1 + 0x70) = param_2;
  return;
}

