
bfd_boolean walk_wild_file_in_exclude_list(name_list *exclude_list,lang_input_statement_type *file)

{
  char *__s;
  lang_input_statement_type *f;
  bfd *pbVar1;
  bfd_boolean bVar2;
  int iVar3;
  char *sep;
  name_list *list_tmp;
  
  if (exclude_list == (name_list *)0x0) {
    return 0;
  }
  do {
    __s = exclude_list->name;
    f = (lang_input_statement_type *)file->filename;
    if ((link_info.path_separator == '\0') ||
       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {
      iVar3 = name_match(__s,(char *)f);
      if (iVar3 == 0) {
        return 1;
      }
      if (((file->the_bfd != (bfd *)0x0) &&
          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&
         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {
        return 1;
      }
    }
    else {
      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)
      ;
      if (bVar2 != 0) {
        return 1;
      }
    }
    exclude_list = exclude_list->next;
    if (exclude_list == (name_list *)0x0) {
      return 0;
    }
  } while( true );
}



undefined8 FUN_00118af0(undefined8 *param_1,long param_2)

{
  char *__s;
  undefined8 uVar1;
  undefined8 *puVar2;
  int iVar3;
  char *pcVar4;
  
  if (param_1 == (undefined8 *)0x0) {
    return 0;
  }
  do {
    __s = (char *)*param_1;
    uVar1 = *(undefined8 *)(param_2 + 0x10);
    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {
      iVar3 = FUN_00118a10(__s,uVar1);
      if (iVar3 == 0) {
        return 1;
      }
      if (((*(long *)(param_2 + 0x20) != 0) &&
          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)
          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {
        return 1;
      }
    }
    else {
      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);
      if (iVar3 != 0) {
        return 1;
      }
    }
    param_1 = (undefined8 *)param_1[1];
    if (param_1 == (undefined8 *)0x0) {
      return 0;
    }
  } while( true );
}


TEST RDI,RDI
JZ 0x00118ba3
PUSH R14
PUSH R13
LEA R13,[RSI + 0x20]
PUSH R12
MOV R12,RSI
PUSH RBP
PUSH RBX
MOV RBX,RDI
JMP 0x00118b2e
MOV RCX,R13
MOV RDX,R14
MOV RSI,RAX
MOV RDI,RBP
CALL 0x00118a60
TEST EAX,EAX
JNZ 0x00118b83
MOV RBX,qword ptr [RBX + 0x8]
TEST RBX,RBX
JZ 0x00118b98
MOVSX ESI,byte ptr [0x002b5f4a]
MOV RBP,qword ptr [RBX]
MOV R14,qword ptr [R12 + 0x10]
TEST SIL,SIL
JZ 0x00118b4f
MOV RDI,RBP
CALL 0x0010d3a0
TEST RAX,RAX
JNZ 0x00118b10
MOV RSI,R14
MOV RDI,RBP
CALL 0x00118a10
TEST EAX,EAX
JZ 0x00118b83
MOV RAX,qword ptr [R12 + 0x20]
TEST RAX,RAX
JZ 0x00118b25
MOV RAX,qword ptr [RAX + 0xd0]
TEST RAX,RAX
JZ 0x00118b25
MOV RSI,qword ptr [RAX]
MOV RDI,qword ptr [RBX]
CALL 0x00118a10
TEST EAX,EAX
JNZ 0x00118b25
POP RBX
MOV EAX,0x1
POP RBP
POP R12
POP R13
POP R14
RET
POP RBX
XOR EAX,EAX
POP RBP
POP R12
POP R13
POP R14
RET
XOR EAX,EAX
RET
(translation_unit "undefined8 FUN_00118af0(undefined8 *param_1,long param_2)\n\n{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_00118af0(undefined8 *param_1,long param_2)\n\n{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" type_identifier (function_declarator "FUN_00118af0(undefined8 *param_1,long param_2)" identifier (parameter_list "(undefined8 *param_1,long param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (if_statement "if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );" do (compound_statement "{\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "__s = (char *)*param_1;" (assignment_expression "__s = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar1 = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_2 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x10)" * (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" if (parenthesized_expression "((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0))" ( (binary_expression "(DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)" (parenthesized_expression "(DAT_002b5f4a == '\0')" ( (binary_expression "DAT_002b5f4a == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)" ( (comma_expression "pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0" (assignment_expression "pcVar4 = strchr(__s,(int)DAT_002b5f4a)" identifier = (call_expression "strchr(__s,(int)DAT_002b5f4a)" identifier (argument_list "(__s,(int)DAT_002b5f4a)" ( identifier , (cast_expression "(int)DAT_002b5f4a" ( (type_descriptor "int" primitive_type) ) identifier) )))) , (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }" { (expression_statement "iVar3 = FUN_00118a10(__s,uVar1);" (assignment_expression "iVar3 = FUN_00118a10(__s,uVar1)" identifier = (call_expression "FUN_00118a10(__s,uVar1)" identifier (argument_list "(__s,uVar1)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }" if (parenthesized_expression "(((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0))" ( (binary_expression "((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)" (parenthesized_expression "((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          )" ( (binary_expression "(*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)" (parenthesized_expression "(*(long *)(param_2 + 0x20) != 0)" ( (binary_expression "*(long *)(param_2 + 0x20) != 0" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)" ( (comma_expression "puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0" (assignment_expression "puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" identifier = (pointer_expression "*(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" * (cast_expression "(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_2 + 0x20) + 0xd0)" ( (binary_expression "*(long *)(param_2 + 0x20) + 0xd0" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0" (assignment_expression "iVar3 = FUN_00118a10(*param_1,*puVar2)" identifier = (call_expression "FUN_00118a10(*param_1,*puVar2)" identifier (argument_list "(*param_1,*puVar2)" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "*puVar2" * identifier) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" else (compound_statement "{\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" { (expression_statement "iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);" (assignment_expression "iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20)" identifier = (call_expression "FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20)" identifier (argument_list "(__s,pcVar4,uVar1,param_2 + 0x20)" ( identifier , identifier , identifier , (binary_expression "param_2 + 0x20" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }))) (expression_statement "param_1 = (undefined8 *)param_1[1];" (assignment_expression "param_1 = (undefined8 *)param_1[1]" identifier = (cast_expression "(undefined8 *)param_1[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "bfd_boolean walk_wild_file_in_exclude_list(name_list *exclude_list,lang_input_statement_type *file)\n\n{\n  char *__s;\n  lang_input_statement_type *f;\n  bfd *pbVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  char *sep;\n  name_list *list_tmp;\n  \n  if (exclude_list == (name_list *)0x0) {\n    return 0;\n  }\n  do {\n    __s = exclude_list->name;\n    f = (lang_input_statement_type *)file->filename;\n    if ((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }\n    exclude_list = exclude_list->next;\n    if (exclude_list == (name_list *)0x0) {\n      return 0;\n    }\n  } while( true );\n}\n\n" (function_definition "bfd_boolean walk_wild_file_in_exclude_list(name_list *exclude_list,lang_input_statement_type *file)\n\n{\n  char *__s;\n  lang_input_statement_type *f;\n  bfd *pbVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  char *sep;\n  name_list *list_tmp;\n  \n  if (exclude_list == (name_list *)0x0) {\n    return 0;\n  }\n  do {\n    __s = exclude_list->name;\n    f = (lang_input_statement_type *)file->filename;\n    if ((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }\n    exclude_list = exclude_list->next;\n    if (exclude_list == (name_list *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" type_identifier (function_declarator "walk_wild_file_in_exclude_list(name_list *exclude_list,lang_input_statement_type *file)" identifier (parameter_list "(name_list *exclude_list,lang_input_statement_type *file)" ( (parameter_declaration "name_list *exclude_list" type_identifier (pointer_declarator "*exclude_list" * identifier)) , (parameter_declaration "lang_input_statement_type *file" type_identifier (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  char *__s;\n  lang_input_statement_type *f;\n  bfd *pbVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  char *sep;\n  name_list *list_tmp;\n  \n  if (exclude_list == (name_list *)0x0) {\n    return 0;\n  }\n  do {\n    __s = exclude_list->name;\n    f = (lang_input_statement_type *)file->filename;\n    if ((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }\n    exclude_list = exclude_list->next;\n    if (exclude_list == (name_list *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "lang_input_statement_type *f;" type_identifier (pointer_declarator "*f" * identifier) ;) (declaration "bfd *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *sep;" primitive_type (pointer_declarator "*sep" * identifier) ;) (declaration "name_list *list_tmp;" type_identifier (pointer_declarator "*list_tmp" * identifier) ;) (if_statement "if (exclude_list == (name_list *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(exclude_list == (name_list *)0x0)" ( (binary_expression "exclude_list == (name_list *)0x0" identifier == (cast_expression "(name_list *)0x0" ( (type_descriptor "name_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n    __s = exclude_list->name;\n    f = (lang_input_statement_type *)file->filename;\n    if ((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }\n    exclude_list = exclude_list->next;\n    if (exclude_list == (name_list *)0x0) {\n      return 0;\n    }\n  } while( true );" do (compound_statement "{\n    __s = exclude_list->name;\n    f = (lang_input_statement_type *)file->filename;\n    if ((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }\n    exclude_list = exclude_list->next;\n    if (exclude_list == (name_list *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "__s = exclude_list->name;" (assignment_expression "__s = exclude_list->name" identifier = (field_expression "exclude_list->name" identifier -> field_identifier)) ;) (expression_statement "f = (lang_input_statement_type *)file->filename;" (assignment_expression "f = (lang_input_statement_type *)file->filename" identifier = (cast_expression "(lang_input_statement_type *)file->filename" ( (type_descriptor "lang_input_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "file->filename" identifier -> field_identifier))) ;) (if_statement "if ((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)) {\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }" if (parenthesized_expression "((link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0))" ( (binary_expression "(link_info.path_separator == '\0') ||\n       (sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)" (parenthesized_expression "(link_info.path_separator == '\0')" ( (binary_expression "link_info.path_separator == '\0'" (field_expression "link_info.path_separator" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0)" ( (comma_expression "sep = strchr(__s,(int)link_info.path_separator), sep == (char *)0x0" (assignment_expression "sep = strchr(__s,(int)link_info.path_separator)" identifier = (call_expression "strchr(__s,(int)link_info.path_separator)" identifier (argument_list "(__s,(int)link_info.path_separator)" ( identifier , (cast_expression "(int)link_info.path_separator" ( (type_descriptor "int" primitive_type) ) (field_expression "link_info.path_separator" identifier . field_identifier)) )))) , (binary_expression "sep == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      iVar3 = name_match(__s,(char *)f);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }\n    }" { (expression_statement "iVar3 = name_match(__s,(char *)f);" (assignment_expression "iVar3 = name_match(__s,(char *)f)" identifier = (call_expression "name_match(__s,(char *)f)" identifier (argument_list "(__s,(char *)f)" ( identifier , (cast_expression "(char *)f" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar3 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)) {\n        return 1;\n      }" if (parenthesized_expression "(((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0))" ( (binary_expression "((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)) &&\n         (iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)" (parenthesized_expression "((file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0))" ( (binary_expression "(file->the_bfd != (bfd *)0x0) &&\n          (pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)" (parenthesized_expression "(file->the_bfd != (bfd *)0x0)" ( (binary_expression "file->the_bfd != (bfd *)0x0" (field_expression "file->the_bfd" identifier -> field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0)" ( (comma_expression "pbVar1 = file->the_bfd->my_archive, pbVar1 != (bfd *)0x0" (assignment_expression "pbVar1 = file->the_bfd->my_archive" identifier = (field_expression "file->the_bfd->my_archive" (field_expression "file->the_bfd" identifier -> field_identifier) -> field_identifier)) , (binary_expression "pbVar1 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0)" ( (comma_expression "iVar3 = name_match(exclude_list->name,pbVar1->filename), iVar3 == 0" (assignment_expression "iVar3 = name_match(exclude_list->name,pbVar1->filename)" identifier = (call_expression "name_match(exclude_list->name,pbVar1->filename)" identifier (argument_list "(exclude_list->name,pbVar1->filename)" ( (field_expression "exclude_list->name" identifier -> field_identifier) , (field_expression "pbVar1->filename" identifier -> field_identifier) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }" else (compound_statement "{\n      bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;\n      if (bVar2 != 0) {\n        return 1;\n      }\n    }" { (expression_statement "bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)\n      ;" (assignment_expression "bVar2 = input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)" identifier = (call_expression "input_statement_is_archive_path(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)" identifier (argument_list "(__s,sep,f,(lang_input_statement_type *)&file->the_bfd)" ( identifier , identifier , identifier , (cast_expression "(lang_input_statement_type *)&file->the_bfd" ( (type_descriptor "lang_input_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&file->the_bfd" & (field_expression "file->the_bfd" identifier -> field_identifier))) )))) ;) (if_statement "if (bVar2 != 0) {\n        return 1;\n      }" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }))) (expression_statement "exclude_list = exclude_list->next;" (assignment_expression "exclude_list = exclude_list->next" identifier = (field_expression "exclude_list->next" identifier -> field_identifier)) ;) (if_statement "if (exclude_list == (name_list *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(exclude_list == (name_list *)0x0)" ( (binary_expression "exclude_list == (name_list *)0x0" identifier == (cast_expression "(name_list *)0x0" ( (type_descriptor "name_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined8 FUN_00118af0(undefined8 *param_1,long param_2)\n\n{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_00118af0(undefined8 *param_1,long param_2)\n\n{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" type_identifier (function_declarator "FUN_00118af0(undefined8 *param_1,long param_2)" identifier (parameter_list "(undefined8 *param_1,long param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (if_statement "if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );" do (compound_statement "{\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "__s = (char *)*param_1;" (assignment_expression "__s = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar1 = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_2 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x10)" * (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" if (parenthesized_expression "((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0))" ( (binary_expression "(DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)" (parenthesized_expression "(DAT_002b5f4a == '\0')" ( (binary_expression "DAT_002b5f4a == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)" ( (comma_expression "pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0" (assignment_expression "pcVar4 = strchr(__s,(int)DAT_002b5f4a)" identifier = (call_expression "strchr(__s,(int)DAT_002b5f4a)" identifier (argument_list "(__s,(int)DAT_002b5f4a)" ( identifier , (cast_expression "(int)DAT_002b5f4a" ( (type_descriptor "int" primitive_type) ) identifier) )))) , (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }" { (expression_statement "iVar3 = FUN_00118a10(__s,uVar1);" (assignment_expression "iVar3 = FUN_00118a10(__s,uVar1)" identifier = (call_expression "FUN_00118a10(__s,uVar1)" identifier (argument_list "(__s,uVar1)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }" if (parenthesized_expression "(((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0))" ( (binary_expression "((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)" (parenthesized_expression "((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          )" ( (binary_expression "(*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)" (parenthesized_expression "(*(long *)(param_2 + 0x20) != 0)" ( (binary_expression "*(long *)(param_2 + 0x20) != 0" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)" ( (comma_expression "puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0" (assignment_expression "puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" identifier = (pointer_expression "*(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" * (cast_expression "(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_2 + 0x20) + 0xd0)" ( (binary_expression "*(long *)(param_2 + 0x20) + 0xd0" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0" (assignment_expression "iVar3 = FUN_00118a10(*param_1,*puVar2)" identifier = (call_expression "FUN_00118a10(*param_1,*puVar2)" identifier (argument_list "(*param_1,*puVar2)" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "*puVar2" * identifier) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" else (compound_statement "{\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" { (expression_statement "iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);" (assignment_expression "iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20)" identifier = (call_expression "FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20)" identifier (argument_list "(__s,pcVar4,uVar1,param_2 + 0x20)" ( identifier , identifier , identifier , (binary_expression "param_2 + 0x20" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }))) (expression_statement "param_1 = (undefined8 *)param_1[1];" (assignment_expression "param_1 = (undefined8 *)param_1[1]" identifier = (cast_expression "(undefined8 *)param_1[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined8 FUN_00118af0(undefined8 *param_1,long param_2)\n\n{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" (type_identifier "undefined8") (function_declarator "FUN_00118af0(undefined8 *param_1,long param_2)" (identifier "FUN_00118af0") (parameter_list "(undefined8 *param_1,long param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  char *__s;\n  undefined8 uVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }\n  do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (if_statement "if (param_1 == (undefined8 *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined8 *)0x0)" (( "(") (binary_expression "param_1 == (undefined8 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (do_statement "do {\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    __s = (char *)*param_1;\n    uVar1 = *(undefined8 *)(param_2 + 0x10);\n    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }\n    param_1 = (undefined8 *)param_1[1];\n    if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "__s = (char *)*param_1;" (assignment_expression "__s = (char *)*param_1" (identifier "__s") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar1 = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_2 + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }\n    else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" (if "if") (parenthesized_expression "((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0))" (( "(") (binary_expression "(DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)" (parenthesized_expression "(DAT_002b5f4a == '\0')" (( "(") (binary_expression "DAT_002b5f4a == '\0'" (identifier "DAT_002b5f4a") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)" (( "(") (comma_expression "pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0" (assignment_expression "pcVar4 = strchr(__s,(int)DAT_002b5f4a)" (identifier "pcVar4") (= "=") (call_expression "strchr(__s,(int)DAT_002b5f4a)" (identifier "strchr") (argument_list "(__s,(int)DAT_002b5f4a)" (( "(") (identifier "__s") (, ",") (cast_expression "(int)DAT_002b5f4a" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_002b5f4a")) () ")")))) (, ",") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n      iVar3 = FUN_00118a10(__s,uVar1);\n      if (iVar3 == 0) {\n        return 1;\n      }\n      if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_00118a10(__s,uVar1);" (assignment_expression "iVar3 = FUN_00118a10(__s,uVar1)" (identifier "iVar3") (= "=") (call_expression "FUN_00118a10(__s,uVar1)" (identifier "FUN_00118a10") (argument_list "(__s,uVar1)" (( "(") (identifier "__s") (, ",") (identifier "uVar1") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0))" (( "(") (binary_expression "((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)" (parenthesized_expression "((*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)\n          )" (( "(") (binary_expression "(*(long *)(param_2 + 0x20) != 0) &&\n          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)" (parenthesized_expression "(*(long *)(param_2 + 0x20) != 0)" (( "(") (binary_expression "*(long *)(param_2 + 0x20) != 0" (pointer_expression "*(long *)(param_2 + 0x20)" (* "*") (cast_expression "(long *)(param_2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)" (( "(") (comma_expression "puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0" (assignment_expression "puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" (* "*") (cast_expression "(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0x20) + 0xd0)" (( "(") (binary_expression "*(long *)(param_2 + 0x20) + 0xd0" (pointer_expression "*(long *)(param_2 + 0x20)" (* "*") (cast_expression "(long *)(param_2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0xd0")) () ")"))))) (, ",") (binary_expression "puVar2 != (undefined8 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0" (assignment_expression "iVar3 = FUN_00118a10(*param_1,*puVar2)" (identifier "iVar3") (= "=") (call_expression "FUN_00118a10(*param_1,*puVar2)" (identifier "FUN_00118a10") (argument_list "(*param_1,*puVar2)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" (else "else") (compound_statement "{\n      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);\n      if (iVar3 != 0) {\n        return 1;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);" (assignment_expression "iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20)" (identifier "iVar3") (= "=") (call_expression "FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20)" (identifier "FUN_00118a60") (argument_list "(__s,pcVar4,uVar1,param_2 + 0x20)" (( "(") (identifier "__s") (, ",") (identifier "pcVar4") (, ",") (identifier "uVar1") (, ",") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_1 = (undefined8 *)param_1[1];" (assignment_expression "param_1 = (undefined8 *)param_1[1]" (identifier "param_1") (= "=") (cast_expression "(undefined8 *)param_1[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (param_1 == (undefined8 *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_1 == (undefined8 *)0x0)" (( "(") (binary_expression "param_1 == (undefined8 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(type_2 *var_1,type_3 *file)

{
  char *__s;
  type_3 *f;
  type_4 *var_6;
  type_1 var_8;
  int var_5;
  char *var_3;
  type_2 *list_tmp;
  
  if (var_1 == (type_2 *)0x0) {
    return 0;
  }
  do {
    __s = var_1->name;
    f = (type_3 *)file->filename;
    if ((link_info.path_separator == '\0') ||
       (var_3 = var_2(__s,(int)link_info.path_separator), var_3 == (char *)0x0)) {
      var_5 = var_4(__s,(char *)f);
      if (var_5 == 0) {
        return 1;
      }
      if (((file->the_bfd != (type_4 *)0x0) &&
          (var_6 = file->the_bfd->my_archive, var_6 != (type_4 *)0x0)) &&
         (var_5 = var_4(var_1->name,var_6->filename), var_5 == 0)) {
        return 1;
      }
    }
    else {
      var_8 = var_7(__s,var_3,f,(type_3 *)&file->the_bfd)
      ;
      if (var_8 != 0) {
        return 1;
      }
    }
    var_1 = var_1->next;
    if (var_1 == (type_2 *)0x0) {
      return 0;
    }
  } while( true );
}


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

undefined8 MASKED(undefined8 *param_1,long param_2)

{
  char *__s;
  undefined8 uVar1;
  undefined8 *puVar2;
  int iVar3;
  char *pcVar4;
  
  if (param_1 == (undefined8 *)0x0) {
    return 0;
  }
  do {
    __s = (char *)*param_1;
    uVar1 = *(undefined8 *)(param_2 + 0x10);
    if ((DAT_002b5f4a == '\0') || (pcVar4 = strchr(__s,(int)DAT_002b5f4a), pcVar4 == (char *)0x0)) {
      iVar3 = FUN_00118a10(__s,uVar1);
      if (iVar3 == 0) {
        return 1;
      }
      if (((*(long *)(param_2 + 0x20) != 0) &&
          (puVar2 = *(undefined8 **)(*(long *)(param_2 + 0x20) + 0xd0), puVar2 != (undefined8 *)0x0)
          ) && (iVar3 = FUN_00118a10(*param_1,*puVar2), iVar3 == 0)) {
        return 1;
      }
    }
    else {
      iVar3 = FUN_00118a60(__s,pcVar4,uVar1,param_2 + 0x20);
      if (iVar3 != 0) {
        return 1;
      }
    }
    param_1 = (undefined8 *)param_1[1];
    if (param_1 == (undefined8 *)0x0) {
      return 0;
    }
  } while( true );
}

