
/* WARNING: Unknown calling convention */

int signal_is_pending(int sig)

{
  return pending_traps[sig];
}



undefined4 signal_is_pending(int param_1)

{
  return *(undefined4 *)(pending_traps + (long)param_1 * 4);
}


MOVSXD RDI,EDI
LEA RAX,[0x21c1c0]
MOV EAX,dword ptr [RAX + RDI*0x4]
RET
(translation_unit "undefined4 signal_is_pending(int param_1)\n\n{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}\n\n" (function_definition "undefined4 signal_is_pending(int param_1)\n\n{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}" type_identifier (function_declarator "signal_is_pending(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}" { (return_statement "return *(undefined4 *)(pending_traps + (long)param_1 * 4);" return (pointer_expression "*(undefined4 *)(pending_traps + (long)param_1 * 4)" * (cast_expression "(undefined4 *)(pending_traps + (long)param_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pending_traps + (long)param_1 * 4)" ( (binary_expression "pending_traps + (long)param_1 * 4" identifier + (binary_expression "(long)param_1 * 4" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint signal_is_pending(int sig)\n\n{\n  return pending_traps[sig];\n}\n\n" comment (function_definition "int signal_is_pending(int sig)\n\n{\n  return pending_traps[sig];\n}" primitive_type (function_declarator "signal_is_pending(int sig)" identifier (parameter_list "(int sig)" ( (parameter_declaration "int sig" primitive_type identifier) ))) (compound_statement "{\n  return pending_traps[sig];\n}" { (return_statement "return pending_traps[sig];" return (subscript_expression "pending_traps[sig]" identifier [ identifier ]) ;) })))
(translation_unit "undefined4 signal_is_pending(int param_1)\n\n{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}\n\n" (function_definition "undefined4 signal_is_pending(int param_1)\n\n{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}" type_identifier (function_declarator "signal_is_pending(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}" { (return_statement "return *(undefined4 *)(pending_traps + (long)param_1 * 4);" return (pointer_expression "*(undefined4 *)(pending_traps + (long)param_1 * 4)" * (cast_expression "(undefined4 *)(pending_traps + (long)param_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pending_traps + (long)param_1 * 4)" ( (binary_expression "pending_traps + (long)param_1 * 4" identifier + (binary_expression "(long)param_1 * 4" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) )))) ;) })))
(function_definition "undefined4 signal_is_pending(int param_1)\n\n{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}" (type_identifier "undefined4") (function_declarator "signal_is_pending(int param_1)" (identifier "signal_is_pending") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  return *(undefined4 *)(pending_traps + (long)param_1 * 4);\n}" ({ "{") (return_statement "return *(undefined4 *)(pending_traps + (long)param_1 * 4);" (return "return") (pointer_expression "*(undefined4 *)(pending_traps + (long)param_1 * 4)" (* "*") (cast_expression "(undefined4 *)(pending_traps + (long)param_1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pending_traps + (long)param_1 * 4)" (( "(") (binary_expression "pending_traps + (long)param_1 * 4" (identifier "pending_traps") (+ "+") (binary_expression "(long)param_1 * 4" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(int sig)

{
  return pending_traps[sig];
}


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

undefined4 MASKED(int param_1)

{
  return *(undefined4 *)(pending_traps + (long)param_1 * 4);
}

