
int sqr(void *a,void *b)

{
  int iVar1;
  
  if (a == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);
  }
  if (b != (void *)0x0) {
    iVar1 = mp_sqr();
    iVar1 = mpi_to_ltc_error(iVar1);
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);
}



void FUN_00163b1e(long param_1,long param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);
  }
  if (param_2 != 0) {
    uVar1 = mp_sqr();
    FUN_001633a8(uVar1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);
}


SUB RSP,0x8
TEST RDI,RDI
JZ 0x00163b3d
TEST RSI,RSI
JZ 0x00163b55
CALL 0x001131e0
MOV EDI,EAX
CALL 0x001633a8
ADD RSP,0x8
RET
MOV EDX,0xff
LEA RSI,[0x1c0a81]
LEA RDI,[0x1ad68e]
CALL 0x00114260
MOV EDX,0x100
LEA RSI,[0x1c0a81]
LEA RDI,[0x1c36ee]
CALL 0x00114260
(translation_unit "void FUN_00163b1e(long param_1,long param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}\n\n" (function_definition "void FUN_00163b1e(long param_1,long param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" primitive_type (function_declarator "FUN_00163b1e(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" { comment (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff)" identifier (argument_list "("a != NULL","src/math/ltm_desc.c",0xff)" ( (string_literal ""a != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }" { (expression_statement "uVar1 = mp_sqr();" (assignment_expression "uVar1 = mp_sqr()" identifier = (call_expression "mp_sqr()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_001633a8(uVar1);" (call_expression "FUN_001633a8(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);" (call_expression "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100)" identifier (argument_list "("b != NULL","src/math/ltm_desc.c",0x100)" ( (string_literal ""b != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int sqr(void *a,void *b)\n\n{\n  int iVar1;\n  \n  if (a == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (b != (void *)0x0) {\n    iVar1 = mp_sqr();\n    iVar1 = mpi_to_ltc_error(iVar1);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}\n\n" (function_definition "int sqr(void *a,void *b)\n\n{\n  int iVar1;\n  \n  if (a == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (b != (void *)0x0) {\n    iVar1 = mp_sqr();\n    iVar1 = mpi_to_ltc_error(iVar1);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" primitive_type (function_declarator "sqr(void *a,void *b)" identifier (parameter_list "(void *a,void *b)" ( (parameter_declaration "void *a" primitive_type (pointer_declarator "*a" * identifier)) , (parameter_declaration "void *b" primitive_type (pointer_declarator "*b" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (a == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (b != (void *)0x0) {\n    iVar1 = mp_sqr();\n    iVar1 = mpi_to_ltc_error(iVar1);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (a == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" if (parenthesized_expression "(a == (void *)0x0)" ( (binary_expression "a == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" { comment (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff)" identifier (argument_list "("a != NULL","src/math/ltm_desc.c",0xff)" ( (string_literal ""a != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (b != (void *)0x0) {\n    iVar1 = mp_sqr();\n    iVar1 = mpi_to_ltc_error(iVar1);\n    return iVar1;\n  }" if (parenthesized_expression "(b != (void *)0x0)" ( (binary_expression "b != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = mp_sqr();\n    iVar1 = mpi_to_ltc_error(iVar1);\n    return iVar1;\n  }" { (expression_statement "iVar1 = mp_sqr();" (assignment_expression "iVar1 = mp_sqr()" identifier = (call_expression "mp_sqr()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar1 = mpi_to_ltc_error(iVar1);" (assignment_expression "iVar1 = mpi_to_ltc_error(iVar1)" identifier = (call_expression "mpi_to_ltc_error(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);" (call_expression "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100)" identifier (argument_list "("b != NULL","src/math/ltm_desc.c",0x100)" ( (string_literal ""b != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "void FUN_00163b1e(long param_1,long param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    \n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}\n\n" (function_definition "void FUN_00163b1e(long param_1,long param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    \n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" primitive_type (function_declarator "FUN_00163b1e(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    \n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" { (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff)" identifier (argument_list "("a != NULL","src/math/ltm_desc.c",0xff)" ( (string_literal ""a != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }" { (expression_statement "uVar1 = mp_sqr();" (assignment_expression "uVar1 = mp_sqr()" identifier = (call_expression "mp_sqr()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_001633a8(uVar1);" (call_expression "FUN_001633a8(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);" (call_expression "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100)" identifier (argument_list "("b != NULL","src/math/ltm_desc.c",0x100)" ( (string_literal ""b != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "void FUN_00163b1e(long param_1,long param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    \n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" (primitive_type "void") (function_declarator "FUN_00163b1e(long param_1,long param_2)" (identifier "FUN_00163b1e") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }\n  if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }\n                    \n  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);\n  }" ({ "{") (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff)" (identifier "crypt_argchk") (argument_list "("a != NULL","src/math/ltm_desc.c",0xff)" (( "(") (string_literal ""a != NULL"" (" """) (string_content "a != NULL") (" """)) (, ",") (string_literal ""src/math/ltm_desc.c"" (" """) (string_content "src/math/ltm_desc.c") (" """)) (, ",") (number_literal "0xff") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = mp_sqr();\n    FUN_001633a8(uVar1);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = mp_sqr();" (assignment_expression "uVar1 = mp_sqr()" (identifier "uVar1") (= "=") (call_expression "mp_sqr()" (identifier "mp_sqr") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_001633a8(uVar1);" (call_expression "FUN_001633a8(uVar1)" (identifier "FUN_001633a8") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);" (call_expression "crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100)" (identifier "crypt_argchk") (argument_list "("b != NULL","src/math/ltm_desc.c",0x100)" (( "(") (string_literal ""b != NULL"" (" """) (string_content "b != NULL") (" """)) (, ",") (string_literal ""src/math/ltm_desc.c"" (" """) (string_content "src/math/ltm_desc.c") (" """)) (, ",") (number_literal "0x100") () ")"))) (; ";")) (} "}")))

int function_1(void *var_1,void *var_3)

{
  int iVar1;
  
  if (var_1 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("a != NULL","src/math/ltm_desc.c",0xff);
  }
  if (var_3 != (void *)0x0) {
    iVar1 = var_4();
    iVar1 = var_5(iVar1);
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_2("b != NULL","src/math/ltm_desc.c",0x100);
}


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

void MASKED(long param_1,long param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("a != NULL","src/math/ltm_desc.c",0xff);
  }
  if (param_2 != 0) {
    uVar1 = mp_sqr();
    FUN_001633a8(uVar1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("b != NULL","src/math/ltm_desc.c",0x100);
}

