
void * xcalloc2(size_t nmemb,size_t size)

{
  undefined1 auVar1 [16];
  undefined1 auVar2 [16];
  void *pvVar3;
  char *message;
  
  auVar1._8_8_ = 0;
  auVar1._0_8_ = size;
  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);
  if (nmemb < SUB168(auVar2 / auVar1,0)) {
    pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));
    return pvVar3;
  }
  message = (char *)dcgettext(0,
                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"
                              ,5);
  error(message,nmemb);
                    /* WARNING: Subroutine does not return */
  xexit(1);
}



void FUN_001214b0(ulong param_1,ulong param_2)

{
  undefined1 auVar1 [16];
  undefined1 auVar2 [16];
  undefined8 uVar3;
  
  auVar1._8_8_ = 0;
  auVar1._0_8_ = param_2;
  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);
  if (param_1 < SUB168(auVar2 / auVar1,0)) {
    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));
    return;
  }
  uVar3 = dcgettext(0,
                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"
                    ,5);
  error(uVar3,param_1);
                    /* WARNING: Subroutine does not return */
  xexit(1);
}


MOV RAX,-0x1
XOR EDX,EDX
DIV RSI
CMP RAX,RDI
JBE 0x001214c6
JMP 0x00107810
PUSH RBX
MOV EDX,0x5
MOV RBX,RDI
LEA RSI,[0x140938]
XOR EDI,EDI
CALL 0x00107230
MOV RSI,RBX
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00137490
MOV EDI,0x1
CALL 0x001076b0
(translation_unit "void FUN_001214b0(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}\n\n" (function_definition "void FUN_001214b0(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}" primitive_type (function_declarator "FUN_001214b0(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  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\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 "undefined8 uVar3;" type_identifier 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_ = param_2;" (assignment_expression "auVar1._0_8_ = param_2" (field_expression "auVar1._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);" (assignment_expression "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" identifier = (binary_expression "ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" (binary_expression "ZEXT816(0) << 0x40" (call_expression "ZEXT816(0)" identifier (argument_list "(0)" ( number_literal ))) << number_literal) | (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))))) ;) (if_statement "if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }" if (parenthesized_expression "(param_1 < SUB168(auVar2 / auVar1,0))" ( (binary_expression "param_1 < SUB168(auVar2 / auVar1,0)" identifier < (call_expression "SUB168(auVar2 / auVar1,0)" identifier (argument_list "(auVar2 / auVar1,0)" ( (binary_expression "auVar2 / auVar1" identifier / identifier) , number_literal )))) )) (compound_statement "{\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }" { (expression_statement "xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));" (call_expression "xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0))" identifier (argument_list "(param_1,param_2,SUB168(auVar2 % auVar1,0))" ( identifier , identifier , (call_expression "SUB168(auVar2 % auVar1,0)" identifier (argument_list "(auVar2 % auVar1,0)" ( (binary_expression "auVar2 % auVar1" identifier % identifier) , number_literal ))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);" (assignment_expression "uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" identifier = (call_expression "dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" identifier (argument_list "(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" ( number_literal , (string_literal ""Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar3,param_1);" (call_expression "error(uVar3,param_1)" identifier (argument_list "(uVar3,param_1)" ( identifier , identifier ))) ;) comment (expression_statement "xexit(1);" (call_expression "xexit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void * xcalloc2(size_t nmemb,size_t size)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  void *pvVar3;\n  char *message;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = size;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (nmemb < SUB168(auVar2 / auVar1,0)) {\n    pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));\n    return pvVar3;\n  }\n  message = (char *)dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5);\n  error(message,nmemb);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}\n\n" (function_definition "void * xcalloc2(size_t nmemb,size_t size)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  void *pvVar3;\n  char *message;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = size;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (nmemb < SUB168(auVar2 / auVar1,0)) {\n    pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));\n    return pvVar3;\n  }\n  message = (char *)dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5);\n  error(message,nmemb);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\n}" primitive_type (pointer_declarator "* xcalloc2(size_t nmemb,size_t size)" * (function_declarator "xcalloc2(size_t nmemb,size_t size)" identifier (parameter_list "(size_t nmemb,size_t size)" ( (parameter_declaration "size_t nmemb" primitive_type identifier) , (parameter_declaration "size_t size" primitive_type identifier) )))) (compound_statement "{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  void *pvVar3;\n  char *message;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = size;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (nmemb < SUB168(auVar2 / auVar1,0)) {\n    pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));\n    return pvVar3;\n  }\n  message = (char *)dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5);\n  error(message,nmemb);\n                    /* WARNING: Subroutine does not return */\n  xexit(1);\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) ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * 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_ = size;" (assignment_expression "auVar1._0_8_ = size" (field_expression "auVar1._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);" (assignment_expression "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" identifier = (binary_expression "ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" (binary_expression "ZEXT816(0) << 0x40" (call_expression "ZEXT816(0)" identifier (argument_list "(0)" ( number_literal ))) << number_literal) | (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))))) ;) (if_statement "if (nmemb < SUB168(auVar2 / auVar1,0)) {\n    pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));\n    return pvVar3;\n  }" if (parenthesized_expression "(nmemb < SUB168(auVar2 / auVar1,0))" ( (binary_expression "nmemb < SUB168(auVar2 / auVar1,0)" identifier < (call_expression "SUB168(auVar2 / auVar1,0)" identifier (argument_list "(auVar2 / auVar1,0)" ( (binary_expression "auVar2 / auVar1" identifier / identifier) , number_literal )))) )) (compound_statement "{\n    pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));\n    return pvVar3;\n  }" { (expression_statement "pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0));" (assignment_expression "pvVar3 = (void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0))" identifier = (cast_expression "(void *)xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(nmemb,size,SUB168(auVar2 % auVar1,0))" identifier (argument_list "(nmemb,size,SUB168(auVar2 % auVar1,0))" ( identifier , identifier , (call_expression "SUB168(auVar2 % auVar1,0)" identifier (argument_list "(auVar2 % auVar1,0)" ( (binary_expression "auVar2 % auVar1" identifier % identifier) , number_literal ))) ))))) ;) (return_statement "return pvVar3;" return identifier ;) })) (expression_statement "message = (char *)dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5);" (assignment_expression "message = (char *)dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5)" identifier = (cast_expression "(char *)dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5)" identifier (argument_list "(0,\n                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                              ,5)" ( number_literal , (string_literal ""Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "error(message,nmemb);" (call_expression "error(message,nmemb)" identifier (argument_list "(message,nmemb)" ( identifier , identifier ))) ;) comment (expression_statement "xexit(1);" (call_expression "xexit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void FUN_001214b0(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    \n  xexit(1);\n}\n\n" (function_definition "void FUN_001214b0(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    \n  xexit(1);\n}" primitive_type (function_declarator "FUN_001214b0(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  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    \n  xexit(1);\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 "undefined8 uVar3;" type_identifier 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_ = param_2;" (assignment_expression "auVar1._0_8_ = param_2" (field_expression "auVar1._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);" (assignment_expression "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" identifier = (binary_expression "ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" (binary_expression "ZEXT816(0) << 0x40" (call_expression "ZEXT816(0)" identifier (argument_list "(0)" ( number_literal ))) << number_literal) | (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))))) ;) (if_statement "if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }" if (parenthesized_expression "(param_1 < SUB168(auVar2 / auVar1,0))" ( (binary_expression "param_1 < SUB168(auVar2 / auVar1,0)" identifier < (call_expression "SUB168(auVar2 / auVar1,0)" identifier (argument_list "(auVar2 / auVar1,0)" ( (binary_expression "auVar2 / auVar1" identifier / identifier) , number_literal )))) )) (compound_statement "{\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }" { (expression_statement "xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));" (call_expression "xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0))" identifier (argument_list "(param_1,param_2,SUB168(auVar2 % auVar1,0))" ( identifier , identifier , (call_expression "SUB168(auVar2 % auVar1,0)" identifier (argument_list "(auVar2 % auVar1,0)" ( (binary_expression "auVar2 % auVar1" identifier % identifier) , number_literal ))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);" (assignment_expression "uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" identifier = (call_expression "dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" identifier (argument_list "(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" ( number_literal , (string_literal ""Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar3,param_1);" (call_expression "error(uVar3,param_1)" identifier (argument_list "(uVar3,param_1)" ( identifier , identifier ))) ;) (expression_statement "xexit(1);" (call_expression "xexit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(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 ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (call_expression IDENT (argument_list ( LIT ))) << LIT) | (call_expression IDENT (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (call_expression IDENT (argument_list ( (binary_expression IDENT / IDENT) , LIT )))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (call_expression IDENT (argument_list ( (binary_expression IDENT % IDENT) , LIT ))) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_001214b0(ulong param_1,ulong param_2)\n\n{\n  undefined1 auVar1 [16];\n  undefined1 auVar2 [16];\n  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    \n  xexit(1);\n}" (primitive_type "void") (function_declarator "FUN_001214b0(ulong param_1,ulong param_2)" (identifier "FUN_001214b0") (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  undefined8 uVar3;\n  \n  auVar1._8_8_ = 0;\n  auVar1._0_8_ = param_2;\n  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);\n  if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }\n  uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);\n  error(uVar3,param_1);\n                    \n  xexit(1);\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") (] "]")) (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (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_2;" (assignment_expression "auVar1._0_8_ = param_2" (field_expression "auVar1._0_8_" (identifier "auVar1") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);" (assignment_expression "auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" (identifier "auVar2") (= "=") (binary_expression "ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)" (binary_expression "ZEXT816(0) << 0x40" (call_expression "ZEXT816(0)" (identifier "ZEXT816") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (<< "<<") (number_literal "0x40")) (| "|") (call_expression "ZEXT816(0xffffffffffffffff)" (identifier "ZEXT816") (argument_list "(0xffffffffffffffff)" (( "(") (number_literal "0xffffffffffffffff") () ")"))))) (; ";")) (if_statement "if (param_1 < SUB168(auVar2 / auVar1,0)) {\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 < SUB168(auVar2 / auVar1,0))" (( "(") (binary_expression "param_1 < SUB168(auVar2 / auVar1,0)" (identifier "param_1") (< "<") (call_expression "SUB168(auVar2 / auVar1,0)" (identifier "SUB168") (argument_list "(auVar2 / auVar1,0)" (( "(") (binary_expression "auVar2 / auVar1" (identifier "auVar2") (/ "/") (identifier "auVar1")) (, ",") (number_literal "0") () ")")))) () ")")) (compound_statement "{\n    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));\n    return;\n  }" ({ "{") (expression_statement "xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));" (call_expression "xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0))" (identifier "xcalloc") (argument_list "(param_1,param_2,SUB168(auVar2 % auVar1,0))" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (call_expression "SUB168(auVar2 % auVar1,0)" (identifier "SUB168") (argument_list "(auVar2 % auVar1,0)" (( "(") (binary_expression "auVar2 % auVar1" (identifier "auVar2") (% "%") (identifier "auVar1")) (, ",") (number_literal "0") () ")"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5);" (assignment_expression "uVar3 = dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" (identifier "dcgettext") (argument_list "(0,\n                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"\n                    ,5)" (( "(") (number_literal "0") (, ",") (string_literal ""Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"" (" """) (string_content "Attempt to allocate a zero") (escape_sequence "\'") (string_content "ed array with an excessive number of elements: 0x%lx") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar3,param_1);" (call_expression "error(uVar3,param_1)" (identifier "error") (argument_list "(uVar3,param_1)" (( "(") (identifier "uVar3") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "xexit(1);" (call_expression "xexit(1)" (identifier "xexit") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

void * function_1(size_t var_2,size_t size)

{
  type_1 var_5 [16];
  type_1 var_4 [16];
  void *pvVar3;
  char *message;
  
  var_5._8_8_ = 0;
  var_5._0_8_ = size;
  var_4 = var_1(0) << 0x40 | var_1(0xffffffffffffffff);
  if (var_2 < var_3(var_4 / var_5,0)) {
    pvVar3 = (void *)var_6(var_2,size,var_3(var_4 % var_5,0));
    return pvVar3;
  }
  message = (char *)var_7(0,
                              "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"
                              ,5);
  var_8(message,var_2);
                    /* WARNING: Subroutine does not return */
  var_9(1);
}


(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))) (declaration type: (type_identifier) declarator: (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))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (call_expression function: (identifier) arguments: (argument_list (number_literal))) right: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal)))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))))

void MASKED(ulong param_1,ulong param_2)

{
  undefined1 auVar1 [16];
  undefined1 auVar2 [16];
  undefined8 uVar3;
  
  auVar1._8_8_ = 0;
  auVar1._0_8_ = param_2;
  auVar2 = ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff);
  if (param_1 < SUB168(auVar2 / auVar1,0)) {
    xcalloc(param_1,param_2,SUB168(auVar2 % auVar1,0));
    return;
  }
  uVar3 = dcgettext(0,
                    "Attempt to allocate a zero\'ed array with an excessive number of elements: 0x%lx\n"
                    ,5);
  error(uVar3,param_1);
                    /* WARNING: Subroutine does not return */
  xexit(1);
}

