
int pollwrap_poll_timeout(pollwrapper *pw,int milliseconds)

{
  int iVar1;
  
  if (-1 < milliseconds) {
    iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}



void FUN_00158414(undefined8 *param_1,int param_2)

{
  if (-1 < param_2) {
    poll((pollfd *)*param_1,param_1[1],param_2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}


SUB RSP,0x8
TEST ESI,ESI
JS 0x0015842f
MOV EDX,ESI
MOV RSI,qword ptr [RDI + 0x8]
MOV RDI,qword ptr [RDI]
CALL 0x00108630
ADD RSP,0x8
RET
LEA RCX,[0x1708d0]
MOV EDX,0x70
LEA RSI,[0x17086c]
LEA RDI,[0x17088f]
CALL 0x00108350
(translation_unit "void FUN_00158414(undefined8 *param_1,int param_2)\n\n{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}\n\n" (function_definition "void FUN_00158414(undefined8 *param_1,int param_2)\n\n{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" primitive_type (function_declarator "FUN_00158414(undefined8 *param_1,int param_2)" identifier (parameter_list "(undefined8 *param_1,int param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" { (if_statement "if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }" { (expression_statement "poll((pollfd *)*param_1,param_1[1],param_2);" (call_expression "poll((pollfd *)*param_1,param_1[1],param_2)" identifier (argument_list "((pollfd *)*param_1,param_1[1],param_2)" ( (cast_expression "(pollfd *)*param_1" ( (type_descriptor "pollfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");" (call_expression "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" identifier (argument_list "("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" ( (string_literal ""milliseconds >= 0"" " string_content ") , (string_literal ""unix/uxpoll.c"" " string_content ") , number_literal , (string_literal ""pollwrap_poll_timeout"" " string_content ") ))) ;) })))
(translation_unit "int pollwrap_poll_timeout(pollwrapper *pw,int milliseconds)\n\n{\n  int iVar1;\n  \n  if (-1 < milliseconds) {\n    iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}\n\n" (function_definition "int pollwrap_poll_timeout(pollwrapper *pw,int milliseconds)\n\n{\n  int iVar1;\n  \n  if (-1 < milliseconds) {\n    iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" primitive_type (function_declarator "pollwrap_poll_timeout(pollwrapper *pw,int milliseconds)" identifier (parameter_list "(pollwrapper *pw,int milliseconds)" ( (parameter_declaration "pollwrapper *pw" type_identifier (pointer_declarator "*pw" * identifier)) , (parameter_declaration "int milliseconds" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (-1 < milliseconds) {\n    iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (-1 < milliseconds) {\n    iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);\n    return iVar1;\n  }" if (parenthesized_expression "(-1 < milliseconds)" ( (binary_expression "-1 < milliseconds" number_literal < identifier) )) (compound_statement "{\n    iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);\n    return iVar1;\n  }" { (expression_statement "iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds);" (assignment_expression "iVar1 = poll((pollfd *)pw->fds,pw->nfd,milliseconds)" identifier = (call_expression "poll((pollfd *)pw->fds,pw->nfd,milliseconds)" identifier (argument_list "((pollfd *)pw->fds,pw->nfd,milliseconds)" ( (cast_expression "(pollfd *)pw->fds" ( (type_descriptor "pollfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pw->fds" identifier -> field_identifier)) , (field_expression "pw->nfd" identifier -> field_identifier) , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");" (call_expression "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" identifier (argument_list "("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" ( (string_literal ""milliseconds >= 0"" " string_content ") , (string_literal ""unix/uxpoll.c"" " string_content ") , number_literal , (string_literal ""pollwrap_poll_timeout"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00158414(undefined8 *param_1,int param_2)\n\n{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    \n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}\n\n" (function_definition "void FUN_00158414(undefined8 *param_1,int param_2)\n\n{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    \n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" primitive_type (function_declarator "FUN_00158414(undefined8 *param_1,int param_2)" identifier (parameter_list "(undefined8 *param_1,int param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    \n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" { (if_statement "if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }" { (expression_statement "poll((pollfd *)*param_1,param_1[1],param_2);" (call_expression "poll((pollfd *)*param_1,param_1[1],param_2)" identifier (argument_list "((pollfd *)*param_1,param_1[1],param_2)" ( (cast_expression "(pollfd *)*param_1" ( (type_descriptor "pollfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");" (call_expression "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" identifier (argument_list "("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" ( (string_literal ""milliseconds >= 0"" " string_content ") , (string_literal ""unix/uxpoll.c"" " string_content ") , number_literal , (string_literal ""pollwrap_poll_timeout"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00158414(undefined8 *param_1,int param_2)\n\n{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    \n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" (primitive_type "void") (function_declarator "FUN_00158414(undefined8 *param_1,int param_2)" (identifier "FUN_00158414") (parameter_list "(undefined8 *param_1,int param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }\n                    \n  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");\n}" ({ "{") (if_statement "if (-1 < param_2) {\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    poll((pollfd *)*param_1,param_1[1],param_2);\n    return;\n  }" ({ "{") (expression_statement "poll((pollfd *)*param_1,param_1[1],param_2);" (call_expression "poll((pollfd *)*param_1,param_1[1],param_2)" (identifier "poll") (argument_list "((pollfd *)*param_1,param_1[1],param_2)" (( "(") (cast_expression "(pollfd *)*param_1" (( "(") (type_descriptor "pollfd *" (type_identifier "pollfd") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");" (call_expression "__assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" (identifier "__assert_fail") (argument_list "("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout")" (( "(") (string_literal ""milliseconds >= 0"" (" """) (string_content "milliseconds >= 0") (" """)) (, ",") (string_literal ""unix/uxpoll.c"" (" """) (string_content "unix/uxpoll.c") (" """)) (, ",") (number_literal "0x70") (, ",") (string_literal ""pollwrap_poll_timeout"" (" """) (string_content "pollwrap_poll_timeout") (" """)) () ")"))) (; ";")) (} "}")))

int function_1(type_1 *pw,int var_1)

{
  int iVar1;
  
  if (-1 < var_1) {
    iVar1 = var_2((type_2 *)pw->fds,pw->nfd,var_1);
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_3("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}


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

void MASKED(undefined8 *param_1,int param_2)

{
  if (-1 < param_2) {
    poll((pollfd *)*param_1,param_1[1],param_2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("milliseconds >= 0","unix/uxpoll.c",0x70,"pollwrap_poll_timeout");
}

