
int compare_names_for_qsort(void *file1,void *file2)

{
  char *name1;
  char *name2;
  int iVar1;
  
                    /* WARNING: Load size is inaccurate */
  name1 = *file1;
                    /* WARNING: Load size is inaccurate */
  name2 = *file2;
  if ((!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0)) {
    iVar1 = strcmp(name1,name2);
  }
  return iVar1;
}



void FUN_00109453(undefined8 *param_1,undefined8 *param_2)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = (char *)*param_1;
  __s2 = (char *)*param_2;
  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {
    strcmp(__s1,__s2);
  }
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDI]
MOV RBP,qword ptr [RSI]
CMP byte ptr [0x00132668],0x0
JNZ 0x0010947a
MOV RSI,RBP
MOV RDI,RBX
CALL 0x001043b0
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV RSI,RBP
MOV RDI,RBX
CALL 0x00109414
TEST EAX,EAX
JZ 0x00109468
JMP 0x00109473
(translation_unit "void FUN_00109453(undefined8 *param_1,undefined8 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00109453(undefined8 *param_1,undefined8 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00109453(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__s2 = (char *)*param_2;" (assignment_expression "__s2 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }" if (parenthesized_expression "((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0))" ( (binary_expression "(DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)" (parenthesized_expression "(DAT_00132668 == '\0')" ( (binary_expression "DAT_00132668 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0" (assignment_expression "iVar1 = FUN_00109414(__s1,__s2)" identifier = (call_expression "FUN_00109414(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    strcmp(__s1,__s2);\n  }" { (expression_statement "strcmp(__s1,__s2);" (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "int compare_names_for_qsort(void *file1,void *file2)\n\n{\n  char *name1;\n  char *name2;\n  int iVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n  name1 = *file1;\n                    /* WARNING: Load size is inaccurate */\n  name2 = *file2;\n  if ((!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0)) {\n    iVar1 = strcmp(name1,name2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int compare_names_for_qsort(void *file1,void *file2)\n\n{\n  char *name1;\n  char *name2;\n  int iVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n  name1 = *file1;\n                    /* WARNING: Load size is inaccurate */\n  name2 = *file2;\n  if ((!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0)) {\n    iVar1 = strcmp(name1,name2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "compare_names_for_qsort(void *file1,void *file2)" identifier (parameter_list "(void *file1,void *file2)" ( (parameter_declaration "void *file1" primitive_type (pointer_declarator "*file1" * identifier)) , (parameter_declaration "void *file2" primitive_type (pointer_declarator "*file2" * identifier)) ))) (compound_statement "{\n  char *name1;\n  char *name2;\n  int iVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n  name1 = *file1;\n                    /* WARNING: Load size is inaccurate */\n  name2 = *file2;\n  if ((!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0)) {\n    iVar1 = strcmp(name1,name2);\n  }\n  return iVar1;\n}" { (declaration "char *name1;" primitive_type (pointer_declarator "*name1" * identifier) ;) (declaration "char *name2;" primitive_type (pointer_declarator "*name2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) comment (expression_statement "name1 = *file1;" (assignment_expression "name1 = *file1" identifier = (pointer_expression "*file1" * identifier)) ;) comment (expression_statement "name2 = *file2;" (assignment_expression "name2 = *file2" identifier = (pointer_expression "*file2" * identifier)) ;) (if_statement "if ((!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0)) {\n    iVar1 = strcmp(name1,name2);\n  }" if (parenthesized_expression "((!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0))" ( (binary_expression "(!locale_specific_sorting) || (iVar1 = compare_collated(name1,name2), iVar1 == 0)" (parenthesized_expression "(!locale_specific_sorting)" ( (unary_expression "!locale_specific_sorting" ! identifier) )) || (parenthesized_expression "(iVar1 = compare_collated(name1,name2), iVar1 == 0)" ( (comma_expression "iVar1 = compare_collated(name1,name2), iVar1 == 0" (assignment_expression "iVar1 = compare_collated(name1,name2)" identifier = (call_expression "compare_collated(name1,name2)" identifier (argument_list "(name1,name2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar1 = strcmp(name1,name2);\n  }" { (expression_statement "iVar1 = strcmp(name1,name2);" (assignment_expression "iVar1 = strcmp(name1,name2)" identifier = (call_expression "strcmp(name1,name2)" identifier (argument_list "(name1,name2)" ( identifier , identifier )))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_00109453(undefined8 *param_1,undefined8 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00109453(undefined8 *param_1,undefined8 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00109453(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__s2 = (char *)*param_2;" (assignment_expression "__s2 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }" if (parenthesized_expression "((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0))" ( (binary_expression "(DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)" (parenthesized_expression "(DAT_00132668 == '\0')" ( (binary_expression "DAT_00132668 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0" (assignment_expression "iVar1 = FUN_00109414(__s1,__s2)" identifier = (call_expression "FUN_00109414(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    strcmp(__s1,__s2);\n  }" { (expression_statement "strcmp(__s1,__s2);" (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00109453(undefined8 *param_1,undefined8 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00109453(undefined8 *param_1,undefined8 *param_2)" (identifier "FUN_00109453") (parameter_list "(undefined8 *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)*param_1;\n  __s2 = (char *)*param_2;\n  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }\n  return;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" (identifier "__s1") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "__s2 = (char *)*param_2;" (assignment_expression "__s2 = (char *)*param_2" (identifier "__s2") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {\n    strcmp(__s1,__s2);\n  }" (if "if") (parenthesized_expression "((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0))" (( "(") (binary_expression "(DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)" (parenthesized_expression "(DAT_00132668 == '\0')" (( "(") (binary_expression "DAT_00132668 == '\0'" (identifier "DAT_00132668") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0" (assignment_expression "iVar1 = FUN_00109414(__s1,__s2)" (identifier "iVar1") (= "=") (call_expression "FUN_00109414(__s1,__s2)" (identifier "FUN_00109414") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    strcmp(__s1,__s2);\n  }" ({ "{") (expression_statement "strcmp(__s1,__s2);" (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(void *file1,void *file2)

{
  char *name1;
  char *name2;
  int var_2;
  
                    /* WARNING: Load size is inaccurate */
  name1 = *file1;
                    /* WARNING: Load size is inaccurate */
  name2 = *file2;
  if ((!locale_specific_sorting) || (var_2 = var_1(name1,name2), var_2 == 0)) {
    var_2 = var_3(name1,name2);
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (return_statement))))

void MASKED(undefined8 *param_1,undefined8 *param_2)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = (char *)*param_1;
  __s2 = (char *)*param_2;
  if ((DAT_00132668 == '\0') || (iVar1 = FUN_00109414(__s1,__s2), iVar1 == 0)) {
    strcmp(__s1,__s2);
  }
  return;
}

