
int compare_d(void *a,ltc_mp_digit b)

{
  int iVar1;
  
  if (a == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);
  }
  iVar1 = mp_cmp_d();
  if (2 < iVar1 + 1U) {
    return 0;
  }
  return *(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4);
}



undefined4 FUN_0016c230(long param_1)

{
  int iVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);
  }
  iVar1 = mp_cmp_d();
  if (2 < iVar1 + 1U) {
    return 0;
  }
  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);
}


SUB RSP,0x8
TEST RDI,RDI
JZ 0x0016c25f
CALL 0x00114e20
LEA EDX,[RAX + 0x1]
XOR EAX,EAX
CMP EDX,0x2
JBE 0x0016c250
ADD RSP,0x8
RET
LEA RAX,[0x1cd1e0]
MOV EAX,dword ptr [RAX + RDX*0x4]
ADD RSP,0x8
RET
MOV EDX,0x86
LEA RSI,[0x1cd1c1]
LEA RDI,[0x1b96ce]
CALL 0x00114270
(translation_unit "undefined4 FUN_0016c230(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}\n\n" (function_definition "undefined4 FUN_0016c230(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}" type_identifier (function_declarator "FUN_0016c230(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\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",0x86);\n  }" { comment (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86)" identifier (argument_list "("a != NULL","src/math/ltm_desc.c",0x86)" ( (string_literal ""a != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = mp_cmp_d();" (assignment_expression "iVar1 = mp_cmp_d()" identifier = (call_expression "mp_cmp_d()" identifier (argument_list "()" ( )))) ;) (if_statement "if (2 < iVar1 + 1U) {\n    return 0;\n  }" if (parenthesized_expression "(2 < iVar1 + 1U)" ( (binary_expression "2 < iVar1 + 1U" number_literal < (binary_expression "iVar1 + 1U" identifier + number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);" return (pointer_expression "*(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" * (cast_expression "(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" ( (binary_expression "&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4" (pointer_expression "&DAT_001cd1e0" & identifier) + (binary_expression "(ulong)(iVar1 + 1U) * 4" (call_expression "(ulong)(iVar1 + 1U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar1 + 1U)" ( (binary_expression "iVar1 + 1U" identifier + number_literal) ))) * number_literal)) )))) ;) })))
(translation_unit "int compare_d(void *a,ltc_mp_digit 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",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4);\n}\n\n" (function_definition "int compare_d(void *a,ltc_mp_digit 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",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4);\n}" primitive_type (function_declarator "compare_d(void *a,ltc_mp_digit b)" identifier (parameter_list "(void *a,ltc_mp_digit b)" ( (parameter_declaration "void *a" primitive_type (pointer_declarator "*a" * identifier)) , (parameter_declaration "ltc_mp_digit b" type_identifier 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",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4);\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",0x86);\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",0x86);\n  }" { comment (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86)" identifier (argument_list "("a != NULL","src/math/ltm_desc.c",0x86)" ( (string_literal ""a != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = mp_cmp_d();" (assignment_expression "iVar1 = mp_cmp_d()" identifier = (call_expression "mp_cmp_d()" identifier (argument_list "()" ( )))) ;) (if_statement "if (2 < iVar1 + 1U) {\n    return 0;\n  }" if (parenthesized_expression "(2 < iVar1 + 1U)" ( (binary_expression "2 < iVar1 + 1U" number_literal < (binary_expression "iVar1 + 1U" identifier + number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return *(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4);" return (pointer_expression "*(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4)" * (cast_expression "(int *)(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(CSWTCH_3 + (ulong)(iVar1 + 1U) * 4)" ( (binary_expression "CSWTCH_3 + (ulong)(iVar1 + 1U) * 4" identifier + (binary_expression "(ulong)(iVar1 + 1U) * 4" (call_expression "(ulong)(iVar1 + 1U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar1 + 1U)" ( (binary_expression "iVar1 + 1U" identifier + number_literal) ))) * number_literal)) )))) ;) })))
(translation_unit "undefined4 FUN_0016c230(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}\n\n" (function_definition "undefined4 FUN_0016c230(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}" type_identifier (function_declarator "FUN_0016c230(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\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",0x86);\n  }" { (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86)" identifier (argument_list "("a != NULL","src/math/ltm_desc.c",0x86)" ( (string_literal ""a != NULL"" " string_content ") , (string_literal ""src/math/ltm_desc.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = mp_cmp_d();" (assignment_expression "iVar1 = mp_cmp_d()" identifier = (call_expression "mp_cmp_d()" identifier (argument_list "()" ( )))) ;) (if_statement "if (2 < iVar1 + 1U) {\n    return 0;\n  }" if (parenthesized_expression "(2 < iVar1 + 1U)" ( (binary_expression "2 < iVar1 + 1U" number_literal < (binary_expression "iVar1 + 1U" identifier + number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);" return (pointer_expression "*(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" * (cast_expression "(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" ( (binary_expression "&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4" (pointer_expression "&DAT_001cd1e0" & identifier) + (binary_expression "(ulong)(iVar1 + 1U) * 4" (call_expression "(ulong)(iVar1 + 1U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar1 + 1U)" ( (binary_expression "iVar1 + 1U" identifier + number_literal) ))) * number_literal)) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) * LIT)) )))) ;) })))
(function_definition "undefined4 FUN_0016c230(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}" (type_identifier "undefined4") (function_declarator "FUN_0016c230(long param_1)" (identifier "FUN_0016c230") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\n  }\n  iVar1 = mp_cmp_d();\n  if (2 < iVar1 + 1U) {\n    return 0;\n  }\n  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);\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",0x86);\n  }" ({ "{") (expression_statement "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);" (call_expression "crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86)" (identifier "crypt_argchk") (argument_list "("a != NULL","src/math/ltm_desc.c",0x86)" (( "(") (string_literal ""a != NULL"" (" """) (string_content "a != NULL") (" """)) (, ",") (string_literal ""src/math/ltm_desc.c"" (" """) (string_content "src/math/ltm_desc.c") (" """)) (, ",") (number_literal "0x86") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = mp_cmp_d();" (assignment_expression "iVar1 = mp_cmp_d()" (identifier "iVar1") (= "=") (call_expression "mp_cmp_d()" (identifier "mp_cmp_d") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (2 < iVar1 + 1U) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(2 < iVar1 + 1U)" (( "(") (binary_expression "2 < iVar1 + 1U" (number_literal "2") (< "<") (binary_expression "iVar1 + 1U" (identifier "iVar1") (+ "+") (number_literal "1U"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);" (return "return") (pointer_expression "*(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" (* "*") (cast_expression "(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4)" (( "(") (binary_expression "&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4" (pointer_expression "&DAT_001cd1e0" (& "&") (identifier "DAT_001cd1e0")) (+ "+") (binary_expression "(ulong)(iVar1 + 1U) * 4" (call_expression "(ulong)(iVar1 + 1U)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar1 + 1U)" (( "(") (binary_expression "iVar1 + 1U" (identifier "iVar1") (+ "+") (number_literal "1U")) () ")"))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}")))

int function_1(void *var_1,type_1 b)

{
  int var_4;
  
  if (var_1 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("a != NULL","src/math/ltm_desc.c",0x86);
  }
  var_4 = var_3();
  if (2 < var_4 + 1U) {
    return 0;
  }
  return *(int *)(var_5 + (ulong)(var_4 + 1U) * 4);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))))))

undefined4 MASKED(long param_1)

{
  int iVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("a != NULL","src/math/ltm_desc.c",0x86);
  }
  iVar1 = mp_cmp_d();
  if (2 < iVar1 + 1U) {
    return 0;
  }
  return *(undefined4 *)(&DAT_001cd1e0 + (ulong)(iVar1 + 1U) * 4);
}

