
int compare_testvector(void *is,ulong is_len,void *should,ulong should_len,char *what,int which)

{
  int iVar1;
  
  if (is_len != should_len) {
    return -(uint)(should_len < is_len) | 1;
  }
  iVar1 = memcmp(is,should,is_len);
  return iVar1;
}



uint compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)

{
  uint uVar1;
  
  if (param_2 != param_4) {
    return -(uint)(param_4 < param_2) | 1;
  }
  uVar1 = memcmp(param_1,param_3,param_2);
  return uVar1;
}


MOV RAX,RDX
CMP RSI,RCX
JZ 0x00163548
CMP RCX,RSI
SBB EAX,EAX
OR EAX,0x1
RET
MOV RDX,RSI
MOV RSI,RAX
JMP 0x00113c70
(translation_unit "uint compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)\n\n{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}\n\n" (function_definition "uint compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)\n\n{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}" type_identifier (function_declarator "compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)" identifier (parameter_list "(void *param_1,ulong param_2,void *param_3,ulong param_4)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "ulong param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }" if (parenthesized_expression "(param_2 != param_4)" ( (binary_expression "param_2 != param_4" identifier != identifier) )) (compound_statement "{\n    return -(uint)(param_4 < param_2) | 1;\n  }" { (return_statement "return -(uint)(param_4 < param_2) | 1;" return (binary_expression "-(uint)(param_4 < param_2) | 1" (unary_expression "-(uint)(param_4 < param_2)" - (call_expression "(uint)(param_4 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < param_2)" ( (binary_expression "param_4 < param_2" identifier < identifier) )))) | number_literal) ;) })) (expression_statement "uVar1 = memcmp(param_1,param_3,param_2);" (assignment_expression "uVar1 = memcmp(param_1,param_3,param_2)" identifier = (call_expression "memcmp(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int compare_testvector(void *is,ulong is_len,void *should,ulong should_len,char *what,int which)\n\n{\n  int iVar1;\n  \n  if (is_len != should_len) {\n    return -(uint)(should_len < is_len) | 1;\n  }\n  iVar1 = memcmp(is,should,is_len);\n  return iVar1;\n}\n\n" (function_definition "int compare_testvector(void *is,ulong is_len,void *should,ulong should_len,char *what,int which)\n\n{\n  int iVar1;\n  \n  if (is_len != should_len) {\n    return -(uint)(should_len < is_len) | 1;\n  }\n  iVar1 = memcmp(is,should,is_len);\n  return iVar1;\n}" primitive_type (function_declarator "compare_testvector(void *is,ulong is_len,void *should,ulong should_len,char *what,int which)" identifier (parameter_list "(void *is,ulong is_len,void *should,ulong should_len,char *what,int which)" ( (parameter_declaration "void *is" primitive_type (pointer_declarator "*is" * identifier)) , (parameter_declaration "ulong is_len" type_identifier identifier) , (parameter_declaration "void *should" primitive_type (pointer_declarator "*should" * identifier)) , (parameter_declaration "ulong should_len" type_identifier identifier) , (parameter_declaration "char *what" primitive_type (pointer_declarator "*what" * identifier)) , (parameter_declaration "int which" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (is_len != should_len) {\n    return -(uint)(should_len < is_len) | 1;\n  }\n  iVar1 = memcmp(is,should,is_len);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (is_len != should_len) {\n    return -(uint)(should_len < is_len) | 1;\n  }" if (parenthesized_expression "(is_len != should_len)" ( (binary_expression "is_len != should_len" identifier != identifier) )) (compound_statement "{\n    return -(uint)(should_len < is_len) | 1;\n  }" { (return_statement "return -(uint)(should_len < is_len) | 1;" return (binary_expression "-(uint)(should_len < is_len) | 1" (unary_expression "-(uint)(should_len < is_len)" - (call_expression "(uint)(should_len < is_len)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(should_len < is_len)" ( (binary_expression "should_len < is_len" identifier < identifier) )))) | number_literal) ;) })) (expression_statement "iVar1 = memcmp(is,should,is_len);" (assignment_expression "iVar1 = memcmp(is,should,is_len)" identifier = (call_expression "memcmp(is,should,is_len)" identifier (argument_list "(is,should,is_len)" ( identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "uint compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)\n\n{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}\n\n" (function_definition "uint compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)\n\n{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}" type_identifier (function_declarator "compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)" identifier (parameter_list "(void *param_1,ulong param_2,void *param_3,ulong param_4)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "ulong param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }" if (parenthesized_expression "(param_2 != param_4)" ( (binary_expression "param_2 != param_4" identifier != identifier) )) (compound_statement "{\n    return -(uint)(param_4 < param_2) | 1;\n  }" { (return_statement "return -(uint)(param_4 < param_2) | 1;" return (binary_expression "-(uint)(param_4 < param_2) | 1" (unary_expression "-(uint)(param_4 < param_2)" - (call_expression "(uint)(param_4 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < param_2)" ( (binary_expression "param_4 < param_2" identifier < identifier) )))) | number_literal) ;) })) (expression_statement "uVar1 = memcmp(param_1,param_3,param_2);" (assignment_expression "uVar1 = memcmp(param_1,param_3,param_2)" identifier = (call_expression "memcmp(param_1,param_3,param_2)" identifier (argument_list "(param_1,param_3,param_2)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (return_statement return (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) | LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "uint compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)\n\n{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "compare_testvector(void *param_1,ulong param_2,void *param_3,ulong param_4)" (identifier "compare_testvector") (parameter_list "(void *param_1,ulong param_2,void *param_3,ulong param_4)" (( "(") (parameter_declaration "void *param_1" (primitive_type "void") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "void *param_3" (primitive_type "void") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "ulong param_4" (type_identifier "ulong") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }\n  uVar1 = memcmp(param_1,param_3,param_2);\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (param_2 != param_4) {\n    return -(uint)(param_4 < param_2) | 1;\n  }" (if "if") (parenthesized_expression "(param_2 != param_4)" (( "(") (binary_expression "param_2 != param_4" (identifier "param_2") (!= "!=") (identifier "param_4")) () ")")) (compound_statement "{\n    return -(uint)(param_4 < param_2) | 1;\n  }" ({ "{") (return_statement "return -(uint)(param_4 < param_2) | 1;" (return "return") (binary_expression "-(uint)(param_4 < param_2) | 1" (unary_expression "-(uint)(param_4 < param_2)" (- "-") (call_expression "(uint)(param_4 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 < param_2)" (( "(") (binary_expression "param_4 < param_2" (identifier "param_4") (< "<") (identifier "param_2")) () ")")))) (| "|") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "uVar1 = memcmp(param_1,param_3,param_2);" (assignment_expression "uVar1 = memcmp(param_1,param_3,param_2)" (identifier "uVar1") (= "=") (call_expression "memcmp(param_1,param_3,param_2)" (identifier "memcmp") (argument_list "(param_1,param_3,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(void *is,type_1 var_1,void *should,type_1 var_2,char *what,int which)

{
  int iVar1;
  
  if (var_1 != var_2) {
    return -(uint)(var_2 < var_1) | 1;
  }
  iVar1 = var_3(is,should,var_1);
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (return_statement (identifier)))))

uint MASKED(void *param_1,ulong param_2,void *param_3,ulong param_4)

{
  uint uVar1;
  
  if (param_2 != param_4) {
    return -(uint)(param_4 < param_2) | 1;
  }
  uVar1 = memcmp(param_1,param_3,param_2);
  return uVar1;
}

