
void * xnmalloc(size_t n,size_t s)

{
  undefined1 auVar1 [16];
  undefined1 auVar2 [16];
  void *pvVar3;
  
  auVar1._8_8_ = 0;
  auVar1._0_8_ = n;
  auVar2._8_8_ = 0;
  auVar2._0_8_ = s;
  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {
    pvVar3 = xmalloc(n * s);
    return pvVar3;
  }
                    /* WARNING: Subroutine does not return */
  xalloc_die();
}



void FUN_00104aca(ulong param_1,ulong param_2)

{
  undefined1 auVar1 [16];
  undefined1 auVar2 [16];
  
  auVar1._8_8_ = 0;
  auVar1._0_8_ = param_1;
  auVar2._8_8_ = 0;
  auVar2._0_8_ = param_2;
  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {
    FUN_00104ab0(param_1 * param_2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00104cf2();
}


SUB RSP,0x8
MOV RAX,RDI
MUL RSI
SETO DL
MOVZX EDX,DL
TEST RAX,RAX
MOV EAX,0x1
CMOVS RDX,RAX
TEST DL,DL
JNZ 0x00104af8
IMUL RDI,RSI
CALL 0x00104ab0
ADD RSP,0x8
RET
CALL 0x00104cf2
(translation_unit "void FUN_00104aca(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00104cf2();\n}\n\n" (function_definition "void FUN_00104aca(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00104cf2();\n}" primitive_type (function_declarator "FUN_00104aca(ulong param_1,ulong param_2)" identifier (parameter_list "(ulong param_1,ulong param_2)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00104cf2();\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 auVar2 [16];" type_identifier (array_declarator "auVar2 [16]" identifier [ number_literal ]) ;) (expression_statement "auVar1._8_8_ = 0;" (assignment_expression "auVar1._8_8_ = 0" (field_expression "auVar1._8_8_" identifier . field_identifier) = number_literal) ;) (expression_statement "auVar1._0_8_ = param_1;" (assignment_expression "auVar1._0_8_ = param_1" (field_expression "auVar1._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" identifier . field_identifier) = number_literal) ;) (expression_statement "auVar2._0_8_ = param_2;" (assignment_expression "auVar2._0_8_ = param_2" (field_expression "auVar2._0_8_" identifier . field_identifier) = identifier) ;) (if_statement "if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }" if (parenthesized_expression "(-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0)" ( (binary_expression "-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0" (binary_expression "-1 < SUB168(auVar1 * auVar2,0)" number_literal < (call_expression "SUB168(auVar1 * auVar2,0)" identifier (argument_list "(auVar1 * auVar2,0)" ( (binary_expression "auVar1 * auVar2" identifier * identifier) , number_literal )))) && (binary_expression "SUB168(auVar1 * auVar2,8) == 0" (call_expression "SUB168(auVar1 * auVar2,8)" identifier (argument_list "(auVar1 * auVar2,8)" ( (binary_expression "auVar1 * auVar2" identifier * identifier) , number_literal ))) == number_literal)) )) (compound_statement "{\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }" { (expression_statement "FUN_00104ab0(param_1 * param_2);" (call_expression "FUN_00104ab0(param_1 * param_2)" identifier (argument_list "(param_1 * param_2)" ( (binary_expression "param_1 * param_2" identifier * identifier) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00104cf2();" (call_expression "FUN_00104cf2()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void * xnmalloc(size_t n,size_t s)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  void *pvVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = n;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = s;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    pvVar3 = xmalloc(n * s);\n    return pvVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}\n\n" (function_definition "void * xnmalloc(size_t n,size_t s)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  void *pvVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = n;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = s;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    pvVar3 = xmalloc(n * s);\n    return pvVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" primitive_type (pointer_declarator "* xnmalloc(size_t n,size_t s)" * (function_declarator "xnmalloc(size_t n,size_t s)" identifier (parameter_list "(size_t n,size_t s)" ( (parameter_declaration "size_t n" primitive_type identifier) , (parameter_declaration "size_t s" primitive_type identifier) )))) (compound_statement "{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  void *pvVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = n;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = s;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    pvVar3 = xmalloc(n * s);\n    return pvVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 auVar2 [16];" type_identifier (array_declarator "auVar2 [16]" identifier [ number_literal ]) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (expression_statement "auVar1._8_8_ = 0;" (assignment_expression "auVar1._8_8_ = 0" (field_expression "auVar1._8_8_" identifier . field_identifier) = number_literal) ;) (expression_statement "auVar1._0_8_ = n;" (assignment_expression "auVar1._0_8_ = n" (field_expression "auVar1._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" identifier . field_identifier) = number_literal) ;) (expression_statement "auVar2._0_8_ = s;" (assignment_expression "auVar2._0_8_ = s" (field_expression "auVar2._0_8_" identifier . field_identifier) = identifier) ;) (if_statement "if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    pvVar3 = xmalloc(n * s);\n    return pvVar3;\n  }" if (parenthesized_expression "(-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0)" ( (binary_expression "-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0" (binary_expression "-1 < SUB168(auVar1 * auVar2,0)" number_literal < (call_expression "SUB168(auVar1 * auVar2,0)" identifier (argument_list "(auVar1 * auVar2,0)" ( (binary_expression "auVar1 * auVar2" identifier * identifier) , number_literal )))) && (binary_expression "SUB168(auVar1 * auVar2,8) == 0" (call_expression "SUB168(auVar1 * auVar2,8)" identifier (argument_list "(auVar1 * auVar2,8)" ( (binary_expression "auVar1 * auVar2" identifier * identifier) , number_literal ))) == number_literal)) )) (compound_statement "{\n    pvVar3 = xmalloc(n * s);\n    return pvVar3;\n  }" { (expression_statement "pvVar3 = xmalloc(n * s);" (assignment_expression "pvVar3 = xmalloc(n * s)" identifier = (call_expression "xmalloc(n * s)" identifier (argument_list "(n * s)" ( (binary_expression "n * s" identifier * identifier) )))) ;) (return_statement "return pvVar3;" return identifier ;) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00104aca(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    \n  FUN_00104cf2();\n}\n\n" (function_definition "void FUN_00104aca(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    \n  FUN_00104cf2();\n}" primitive_type (function_declarator "FUN_00104aca(ulong param_1,ulong param_2)" identifier (parameter_list "(ulong param_1,ulong param_2)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    \n  FUN_00104cf2();\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 auVar2 [16];" type_identifier (array_declarator "auVar2 [16]" identifier [ number_literal ]) ;) (expression_statement "auVar1._8_8_ = 0;" (assignment_expression "auVar1._8_8_ = 0" (field_expression "auVar1._8_8_" identifier . field_identifier) = number_literal) ;) (expression_statement "auVar1._0_8_ = param_1;" (assignment_expression "auVar1._0_8_ = param_1" (field_expression "auVar1._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" identifier . field_identifier) = number_literal) ;) (expression_statement "auVar2._0_8_ = param_2;" (assignment_expression "auVar2._0_8_ = param_2" (field_expression "auVar2._0_8_" identifier . field_identifier) = identifier) ;) (if_statement "if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }" if (parenthesized_expression "(-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0)" ( (binary_expression "-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0" (binary_expression "-1 < SUB168(auVar1 * auVar2,0)" number_literal < (call_expression "SUB168(auVar1 * auVar2,0)" identifier (argument_list "(auVar1 * auVar2,0)" ( (binary_expression "auVar1 * auVar2" identifier * identifier) , number_literal )))) && (binary_expression "SUB168(auVar1 * auVar2,8) == 0" (call_expression "SUB168(auVar1 * auVar2,8)" identifier (argument_list "(auVar1 * auVar2,8)" ( (binary_expression "auVar1 * auVar2" identifier * identifier) , number_literal ))) == number_literal)) )) (compound_statement "{\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }" { (expression_statement "FUN_00104ab0(param_1 * param_2);" (call_expression "FUN_00104ab0(param_1 * param_2)" identifier (argument_list "(param_1 * param_2)" ( (binary_expression "param_1 * param_2" identifier * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00104cf2();" (call_expression "FUN_00104cf2()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT < (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , LIT )))) && (binary_expression (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , LIT ))) == LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00104aca(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    \n  FUN_00104cf2();\n}" (primitive_type "void") (function_declarator "FUN_00104aca(ulong param_1,ulong param_2)" (identifier "FUN_00104aca") (parameter_list "(ulong param_1,ulong param_2)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_1;\n  auVar2._8_8_ = 0;\n  auVar2._0_8_ = param_2;\n  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }\n                    \n  FUN_00104cf2();\n}" ({ "{") (declaration "undefined1 auVar1 [16];" (type_identifier "undefined1") (array_declarator "auVar1 [16]" (identifier "auVar1") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined1 auVar2 [16];" (type_identifier "undefined1") (array_declarator "auVar2 [16]" (identifier "auVar2") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "auVar1._8_8_ = 0;" (assignment_expression "auVar1._8_8_ = 0" (field_expression "auVar1._8_8_" (identifier "auVar1") (. ".") (field_identifier "_8_8_")) (= "=") (number_literal "0")) (; ";")) (expression_statement "auVar1._0_8_ = param_1;" (assignment_expression "auVar1._0_8_ = param_1" (field_expression "auVar1._0_8_" (identifier "auVar1") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" (identifier "auVar2") (. ".") (field_identifier "_8_8_")) (= "=") (number_literal "0")) (; ";")) (expression_statement "auVar2._0_8_ = param_2;" (assignment_expression "auVar2._0_8_ = param_2" (field_expression "auVar2._0_8_" (identifier "auVar2") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0)" (( "(") (binary_expression "-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0" (binary_expression "-1 < SUB168(auVar1 * auVar2,0)" (number_literal "-1") (< "<") (call_expression "SUB168(auVar1 * auVar2,0)" (identifier "SUB168") (argument_list "(auVar1 * auVar2,0)" (( "(") (binary_expression "auVar1 * auVar2" (identifier "auVar1") (* "*") (identifier "auVar2")) (, ",") (number_literal "0") () ")")))) (&& "&&") (binary_expression "SUB168(auVar1 * auVar2,8) == 0" (call_expression "SUB168(auVar1 * auVar2,8)" (identifier "SUB168") (argument_list "(auVar1 * auVar2,8)" (( "(") (binary_expression "auVar1 * auVar2" (identifier "auVar1") (* "*") (identifier "auVar2")) (, ",") (number_literal "8") () ")"))) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    FUN_00104ab0(param_1 * param_2);\n    return;\n  }" ({ "{") (expression_statement "FUN_00104ab0(param_1 * param_2);" (call_expression "FUN_00104ab0(param_1 * param_2)" (identifier "FUN_00104ab0") (argument_list "(param_1 * param_2)" (( "(") (binary_expression "param_1 * param_2" (identifier "param_1") (* "*") (identifier "param_2")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00104cf2();" (call_expression "FUN_00104cf2()" (identifier "FUN_00104cf2") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void * function_1(size_t var_5,size_t var_6)

{
  type_1 var_2 [16];
  type_1 var_3 [16];
  void *pvVar3;
  
  var_2._8_8_ = 0;
  var_2._0_8_ = var_5;
  var_3._8_8_ = 0;
  var_3._0_8_ = var_6;
  if (-1 < var_1(var_2 * var_3,0) && var_1(var_2 * var_3,8) == 0) {
    pvVar3 = var_4(var_5 * var_6);
    return pvVar3;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


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

void MASKED(ulong param_1,ulong param_2)

{
  undefined1 auVar1 [16];
  undefined1 auVar2 [16];
  
  auVar1._8_8_ = 0;
  auVar1._0_8_ = param_1;
  auVar2._8_8_ = 0;
  auVar2._0_8_ = param_2;
  if (-1 < SUB168(auVar1 * auVar2,0) && SUB168(auVar1 * auVar2,8) == 0) {
    FUN_00104ab0(param_1 * param_2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00104cf2();
}

