
/* DWARF original prototype: bfd_boolean input_statement_is_archive_path(char * file_spec, char *
   sep, lang_input_statement_type * f, lang_input_statement_type * f) */

bfd_boolean
input_statement_is_archive_path
          (char *file_spec,char *sep,lang_input_statement_type *f,lang_input_statement_type *f_1)

{
  lang_statement_union *plVar1;
  char *name;
  uint uVar2;
  int iVar3;
  bool bVar4;
  
  if ((sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)) {
    return 0;
  }
  plVar1 = (f_1->header).next;
  bVar4 = false;
  if (plVar1 != (lang_statement_union *)0x0) {
    bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;
  }
  if ((sep == file_spec) == bVar4) {
    return 0;
  }
  uVar2 = 1;
  if (sep != file_spec) {
    name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);
    *sep = '\0';
    iVar3 = name_match(file_spec,name);
    *sep = link_info.path_separator;
    uVar2 = (uint)(iVar3 == 0);
  }
  return uVar2;
}



bool FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)

{
  long lVar1;
  undefined8 uVar2;
  int iVar3;
  bool bVar4;
  
  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {
    return false;
  }
  lVar1 = *param_4;
  bVar4 = false;
  if (lVar1 != 0) {
    bVar4 = *(long *)(lVar1 + 0xd0) != 0;
  }
  if ((param_2 == param_1) == bVar4) {
    return false;
  }
  bVar4 = true;
  if (param_2 != param_1) {
    uVar2 = **(undefined8 **)(lVar1 + 0xd0);
    *param_2 = 0;
    iVar3 = FUN_00115880(param_1,uVar2);
    bVar4 = iVar3 == 0;
    *param_2 = DAT_00225b8a;
  }
  return bVar4;
}


PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,RDI
PUSH RBX
CMP byte ptr [RSI + 0x1],0x0
MOV RBX,RSI
JNZ 0x00115940
MOV RDX,qword ptr [R12]
CMP RBX,RBP
SETZ AL
XOR ECX,ECX
TEST RDX,RDX
JZ 0x001158ff
CMP qword ptr [RDX + 0xd0],0x0
SETNZ CL
CMP AL,CL
JZ 0x00115950
MOV EAX,0x1
CMP RBX,RBP
JZ 0x00115933
MOV RAX,qword ptr [RDX + 0xd0]
MOV RDI,RBP
MOV RSI,qword ptr [RAX]
MOV byte ptr [RBX],0x0
CALL 0x00115880
MOVZX EDX,byte ptr [0x00225b8a]
TEST EAX,EAX
MOV byte ptr [RBX],DL
SETZ AL
MOVZX EAX,AL
POP RBX
POP RBP
POP R12
RET
LEA RDI,[RSI + 0x1]
MOV RSI,RDX
CALL 0x00115880
TEST EAX,EAX
JZ 0x001158e3
POP RBX
XOR EAX,EAX
POP RBP
POP R12
RET
(translation_unit "bool FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}\n\n" (function_definition "bool FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}" primitive_type (function_declarator "FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long *param_4" (sized_type_specifier "long" long) (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (if_statement "if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }" if (parenthesized_expression "((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0))" ( (binary_expression "(param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)" (parenthesized_expression "(param_2[1] != '\0')" ( (binary_expression "param_2[1] != '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0" (assignment_expression "iVar3 = FUN_00115880(param_2 + 1,param_3)" identifier = (call_expression "FUN_00115880(param_2 + 1,param_3)" identifier (argument_list "(param_2 + 1,param_3)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "lVar1 = *param_4;" (assignment_expression "lVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (if_statement "if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }" { (expression_statement "bVar4 = *(long *)(lVar1 + 0xd0) != 0;" (assignment_expression "bVar4 = *(long *)(lVar1 + 0xd0) != 0" identifier = (binary_expression "*(long *)(lVar1 + 0xd0) != 0" (pointer_expression "*(long *)(lVar1 + 0xd0)" * (cast_expression "(long *)(lVar1 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xd0)" ( (binary_expression "lVar1 + 0xd0" identifier + number_literal) )))) != number_literal)) ;) })) (if_statement "if ((param_2 == param_1) == bVar4) {\n    return false;\n  }" if (parenthesized_expression "((param_2 == param_1) == bVar4)" ( (binary_expression "(param_2 == param_1) == bVar4" (parenthesized_expression "(param_2 == param_1)" ( (binary_expression "param_2 == param_1" identifier == identifier) )) == identifier) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) (if_statement "if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }" { (expression_statement "uVar2 = **(undefined8 **)(lVar1 + 0xd0);" (assignment_expression "uVar2 = **(undefined8 **)(lVar1 + 0xd0)" identifier = (pointer_expression "**(undefined8 **)(lVar1 + 0xd0)" * (pointer_expression "*(undefined8 **)(lVar1 + 0xd0)" * (cast_expression "(undefined8 **)(lVar1 + 0xd0)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0xd0)" ( (binary_expression "lVar1 + 0xd0" identifier + number_literal) )))))) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar3 = FUN_00115880(param_1,uVar2);" (assignment_expression "iVar3 = FUN_00115880(param_1,uVar2)" identifier = (call_expression "FUN_00115880(param_1,uVar2)" identifier (argument_list "(param_1,uVar2)" ( identifier , identifier )))) ;) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;) (expression_statement "*param_2 = DAT_00225b8a;" (assignment_expression "*param_2 = DAT_00225b8a" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (return_statement "return bVar4;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: bfd_boolean input_statement_is_archive_path(char * file_spec, char *\n   sep, lang_input_statement_type * f, lang_input_statement_type * f) */\n\nbfd_boolean\ninput_statement_is_archive_path\n          (char *file_spec,char *sep,lang_input_statement_type *f,lang_input_statement_type *f_1)\n\n{\n  lang_statement_union *plVar1;\n  char *name;\n  uint uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)) {\n    return 0;\n  }\n  plVar1 = (f_1->header).next;\n  bVar4 = false;\n  if (plVar1 != (lang_statement_union *)0x0) {\n    bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;\n  }\n  if ((sep == file_spec) == bVar4) {\n    return 0;\n  }\n  uVar2 = 1;\n  if (sep != file_spec) {\n    name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);\n    *sep = '\0';\n    iVar3 = name_match(file_spec,name);\n    *sep = link_info.path_separator;\n    uVar2 = (uint)(iVar3 == 0);\n  }\n  return uVar2;\n}\n\n" comment (function_definition "bfd_boolean\ninput_statement_is_archive_path\n          (char *file_spec,char *sep,lang_input_statement_type *f,lang_input_statement_type *f_1)\n\n{\n  lang_statement_union *plVar1;\n  char *name;\n  uint uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)) {\n    return 0;\n  }\n  plVar1 = (f_1->header).next;\n  bVar4 = false;\n  if (plVar1 != (lang_statement_union *)0x0) {\n    bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;\n  }\n  if ((sep == file_spec) == bVar4) {\n    return 0;\n  }\n  uVar2 = 1;\n  if (sep != file_spec) {\n    name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);\n    *sep = '\0';\n    iVar3 = name_match(file_spec,name);\n    *sep = link_info.path_separator;\n    uVar2 = (uint)(iVar3 == 0);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "input_statement_is_archive_path\n          (char *file_spec,char *sep,lang_input_statement_type *f,lang_input_statement_type *f_1)" identifier (parameter_list "(char *file_spec,char *sep,lang_input_statement_type *f,lang_input_statement_type *f_1)" ( (parameter_declaration "char *file_spec" primitive_type (pointer_declarator "*file_spec" * identifier)) , (parameter_declaration "char *sep" primitive_type (pointer_declarator "*sep" * identifier)) , (parameter_declaration "lang_input_statement_type *f" type_identifier (pointer_declarator "*f" * identifier)) , (parameter_declaration "lang_input_statement_type *f_1" type_identifier (pointer_declarator "*f_1" * identifier)) ))) (compound_statement "{\n  lang_statement_union *plVar1;\n  char *name;\n  uint uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)) {\n    return 0;\n  }\n  plVar1 = (f_1->header).next;\n  bVar4 = false;\n  if (plVar1 != (lang_statement_union *)0x0) {\n    bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;\n  }\n  if ((sep == file_spec) == bVar4) {\n    return 0;\n  }\n  uVar2 = 1;\n  if (sep != file_spec) {\n    name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);\n    *sep = '\0';\n    iVar3 = name_match(file_spec,name);\n    *sep = link_info.path_separator;\n    uVar2 = (uint)(iVar3 == 0);\n  }\n  return uVar2;\n}" { (declaration "lang_statement_union *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (if_statement "if ((sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)) {\n    return 0;\n  }" if (parenthesized_expression "((sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0))" ( (binary_expression "(sep[1] != '\0') && (iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)" (parenthesized_expression "(sep[1] != '\0')" ( (binary_expression "sep[1] != '\0'" (subscript_expression "sep[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0)" ( (comma_expression "iVar3 = name_match(sep + 1,(char *)f), iVar3 != 0" (assignment_expression "iVar3 = name_match(sep + 1,(char *)f)" identifier = (call_expression "name_match(sep + 1,(char *)f)" identifier (argument_list "(sep + 1,(char *)f)" ( (binary_expression "sep + 1" identifier + number_literal) , (cast_expression "(char *)f" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "plVar1 = (f_1->header).next;" (assignment_expression "plVar1 = (f_1->header).next" identifier = (field_expression "(f_1->header).next" (parenthesized_expression "(f_1->header)" ( (field_expression "f_1->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (if_statement "if (plVar1 != (lang_statement_union *)0x0) {\n    bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;\n  }" if (parenthesized_expression "(plVar1 != (lang_statement_union *)0x0)" ( (binary_expression "plVar1 != (lang_statement_union *)0x0" identifier != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;\n  }" { (expression_statement "bVar4 = *(long *)((long)plVar1 + 0xd0) != 0;" (assignment_expression "bVar4 = *(long *)((long)plVar1 + 0xd0) != 0" identifier = (binary_expression "*(long *)((long)plVar1 + 0xd0) != 0" (pointer_expression "*(long *)((long)plVar1 + 0xd0)" * (cast_expression "(long *)((long)plVar1 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + 0xd0)" ( (binary_expression "(long)plVar1 + 0xd0" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal)) ;) })) (if_statement "if ((sep == file_spec) == bVar4) {\n    return 0;\n  }" if (parenthesized_expression "((sep == file_spec) == bVar4)" ( (binary_expression "(sep == file_spec) == bVar4" (parenthesized_expression "(sep == file_spec)" ( (binary_expression "sep == file_spec" identifier == identifier) )) == identifier) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (sep != file_spec) {\n    name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);\n    *sep = '\0';\n    iVar3 = name_match(file_spec,name);\n    *sep = link_info.path_separator;\n    uVar2 = (uint)(iVar3 == 0);\n  }" if (parenthesized_expression "(sep != file_spec)" ( (binary_expression "sep != file_spec" identifier != identifier) )) (compound_statement "{\n    name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);\n    *sep = '\0';\n    iVar3 = name_match(file_spec,name);\n    *sep = link_info.path_separator;\n    uVar2 = (uint)(iVar3 == 0);\n  }" { (expression_statement "name = (char *)**(undefined8 **)((long)plVar1 + 0xd0);" (assignment_expression "name = (char *)**(undefined8 **)((long)plVar1 + 0xd0)" identifier = (cast_expression "(char *)**(undefined8 **)((long)plVar1 + 0xd0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined8 **)((long)plVar1 + 0xd0)" * (pointer_expression "*(undefined8 **)((long)plVar1 + 0xd0)" * (cast_expression "(undefined8 **)((long)plVar1 + 0xd0)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)plVar1 + 0xd0)" ( (binary_expression "(long)plVar1 + 0xd0" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))))) ;) (expression_statement "*sep = '\0';" (assignment_expression "*sep = '\0'" (pointer_expression "*sep" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar3 = name_match(file_spec,name);" (assignment_expression "iVar3 = name_match(file_spec,name)" identifier = (call_expression "name_match(file_spec,name)" identifier (argument_list "(file_spec,name)" ( identifier , identifier )))) ;) (expression_statement "*sep = link_info.path_separator;" (assignment_expression "*sep = link_info.path_separator" (pointer_expression "*sep" * identifier) = (field_expression "link_info.path_separator" identifier . field_identifier)) ;) (expression_statement "uVar2 = (uint)(iVar3 == 0);" (assignment_expression "uVar2 = (uint)(iVar3 == 0)" identifier = (call_expression "(uint)(iVar3 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "bool FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}\n\n" (function_definition "bool FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}" primitive_type (function_declarator "FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long *param_4" (sized_type_specifier "long" long) (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (if_statement "if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }" if (parenthesized_expression "((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0))" ( (binary_expression "(param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)" (parenthesized_expression "(param_2[1] != '\0')" ( (binary_expression "param_2[1] != '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0" (assignment_expression "iVar3 = FUN_00115880(param_2 + 1,param_3)" identifier = (call_expression "FUN_00115880(param_2 + 1,param_3)" identifier (argument_list "(param_2 + 1,param_3)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "lVar1 = *param_4;" (assignment_expression "lVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (if_statement "if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }" { (expression_statement "bVar4 = *(long *)(lVar1 + 0xd0) != 0;" (assignment_expression "bVar4 = *(long *)(lVar1 + 0xd0) != 0" identifier = (binary_expression "*(long *)(lVar1 + 0xd0) != 0" (pointer_expression "*(long *)(lVar1 + 0xd0)" * (cast_expression "(long *)(lVar1 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xd0)" ( (binary_expression "lVar1 + 0xd0" identifier + number_literal) )))) != number_literal)) ;) })) (if_statement "if ((param_2 == param_1) == bVar4) {\n    return false;\n  }" if (parenthesized_expression "((param_2 == param_1) == bVar4)" ( (binary_expression "(param_2 == param_1) == bVar4" (parenthesized_expression "(param_2 == param_1)" ( (binary_expression "param_2 == param_1" identifier == identifier) )) == identifier) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) (if_statement "if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }" { (expression_statement "uVar2 = **(undefined8 **)(lVar1 + 0xd0);" (assignment_expression "uVar2 = **(undefined8 **)(lVar1 + 0xd0)" identifier = (pointer_expression "**(undefined8 **)(lVar1 + 0xd0)" * (pointer_expression "*(undefined8 **)(lVar1 + 0xd0)" * (cast_expression "(undefined8 **)(lVar1 + 0xd0)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0xd0)" ( (binary_expression "lVar1 + 0xd0" identifier + number_literal) )))))) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar3 = FUN_00115880(param_1,uVar2);" (assignment_expression "iVar3 = FUN_00115880(param_1,uVar2)" identifier = (call_expression "FUN_00115880(param_1,uVar2)" identifier (argument_list "(param_1,uVar2)" ( identifier , identifier )))) ;) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;) (expression_statement "*param_2 = DAT_00225b8a;" (assignment_expression "*param_2 = DAT_00225b8a" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (return_statement "return bVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) == IDENT) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}" (primitive_type "bool") (function_declarator "FUN_001158d0(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)" (identifier "FUN_001158d0") (parameter_list "(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "long *param_4" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  bool bVar4;\n  \n  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }\n  lVar1 = *param_4;\n  bVar4 = false;\n  if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }\n  if ((param_2 == param_1) == bVar4) {\n    return false;\n  }\n  bVar4 = true;\n  if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }\n  return bVar4;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (if_statement "if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {\n    return false;\n  }" (if "if") (parenthesized_expression "((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0))" (( "(") (binary_expression "(param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)" (parenthesized_expression "(param_2[1] != '\0')" (( "(") (binary_expression "param_2[1] != '\0'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0" (assignment_expression "iVar3 = FUN_00115880(param_2 + 1,param_3)" (identifier "iVar3") (= "=") (call_expression "FUN_00115880(param_2 + 1,param_3)" (identifier "FUN_00115880") (argument_list "(param_2 + 1,param_3)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "lVar1 = *param_4;" (assignment_expression "lVar1 = *param_4" (identifier "lVar1") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (; ";")) (if_statement "if (lVar1 != 0) {\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bVar4 = *(long *)(lVar1 + 0xd0) != 0;\n  }" ({ "{") (expression_statement "bVar4 = *(long *)(lVar1 + 0xd0) != 0;" (assignment_expression "bVar4 = *(long *)(lVar1 + 0xd0) != 0" (identifier "bVar4") (= "=") (binary_expression "*(long *)(lVar1 + 0xd0) != 0" (pointer_expression "*(long *)(lVar1 + 0xd0)" (* "*") (cast_expression "(long *)(lVar1 + 0xd0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xd0)" (( "(") (binary_expression "lVar1 + 0xd0" (identifier "lVar1") (+ "+") (number_literal "0xd0")) () ")")))) (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (if_statement "if ((param_2 == param_1) == bVar4) {\n    return false;\n  }" (if "if") (parenthesized_expression "((param_2 == param_1) == bVar4)" (( "(") (binary_expression "(param_2 == param_1) == bVar4" (parenthesized_expression "(param_2 == param_1)" (( "(") (binary_expression "param_2 == param_1" (identifier "param_2") (== "==") (identifier "param_1")) () ")")) (== "==") (identifier "bVar4")) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" (identifier "bVar4") (= "=") (true "true")) (; ";")) (if_statement "if (param_2 != param_1) {\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }" (if "if") (parenthesized_expression "(param_2 != param_1)" (( "(") (binary_expression "param_2 != param_1" (identifier "param_2") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n    uVar2 = **(undefined8 **)(lVar1 + 0xd0);\n    *param_2 = 0;\n    iVar3 = FUN_00115880(param_1,uVar2);\n    bVar4 = iVar3 == 0;\n    *param_2 = DAT_00225b8a;\n  }" ({ "{") (expression_statement "uVar2 = **(undefined8 **)(lVar1 + 0xd0);" (assignment_expression "uVar2 = **(undefined8 **)(lVar1 + 0xd0)" (identifier "uVar2") (= "=") (pointer_expression "**(undefined8 **)(lVar1 + 0xd0)" (* "*") (pointer_expression "*(undefined8 **)(lVar1 + 0xd0)" (* "*") (cast_expression "(undefined8 **)(lVar1 + 0xd0)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0xd0)" (( "(") (binary_expression "lVar1 + 0xd0" (identifier "lVar1") (+ "+") (number_literal "0xd0")) () ")")))))) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = FUN_00115880(param_1,uVar2);" (assignment_expression "iVar3 = FUN_00115880(param_1,uVar2)" (identifier "iVar3") (= "=") (call_expression "FUN_00115880(param_1,uVar2)" (identifier "FUN_00115880") (argument_list "(param_1,uVar2)" (( "(") (identifier "param_1") (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "bVar4 = iVar3 == 0;" (assignment_expression "bVar4 = iVar3 == 0" (identifier "bVar4") (= "=") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) (; ";")) (expression_statement "*param_2 = DAT_00225b8a;" (assignment_expression "*param_2 = DAT_00225b8a" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "DAT_00225b8a")) (; ";")) (} "}"))) (return_statement "return bVar4;" (return "return") (identifier "bVar4") (; ";")) (} "}")))

/* DWARF original prototype: bfd_boolean input_statement_is_archive_path(char * file_spec, char *
   sep, lang_input_statement_type * f, lang_input_statement_type * f) */

type_1
function_1
          (char *var_5,char *var_2,type_2 *f,type_2 *f_1)

{
  type_3 *var_4;
  char *name;
  type_4 uVar2;
  int var_3;
  bool var_6;
  
  if ((var_2[1] != '\0') && (var_3 = var_1(var_2 + 1,(char *)f), var_3 != 0)) {
    return 0;
  }
  var_4 = (f_1->header).next;
  var_6 = false;
  if (var_4 != (type_3 *)0x0) {
    var_6 = *(long *)((long)var_4 + 0xd0) != 0;
  }
  if ((var_2 == var_5) == var_6) {
    return 0;
  }
  uVar2 = 1;
  if (var_2 != var_5) {
    name = (char *)**(type_5 **)((long)var_4 + 0xd0);
    *var_2 = '\0';
    var_3 = var_1(var_5,name);
    *var_2 = link_info.path_separator;
    uVar2 = (type_4)(var_3 == 0);
  }
  return uVar2;
}


(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))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (false)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier))) consequence: (compound_statement (return_statement (false)))) (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (return_statement (identifier)))))

bool MASKED(undefined1 *param_1,undefined1 *param_2,undefined8 param_3,long *param_4)

{
  long lVar1;
  undefined8 uVar2;
  int iVar3;
  bool bVar4;
  
  if ((param_2[1] != '\0') && (iVar3 = FUN_00115880(param_2 + 1,param_3), iVar3 != 0)) {
    return false;
  }
  lVar1 = *param_4;
  bVar4 = false;
  if (lVar1 != 0) {
    bVar4 = *(long *)(lVar1 + 0xd0) != 0;
  }
  if ((param_2 == param_1) == bVar4) {
    return false;
  }
  bVar4 = true;
  if (param_2 != param_1) {
    uVar2 = **(undefined8 **)(lVar1 + 0xd0);
    *param_2 = 0;
    iVar3 = FUN_00115880(param_1,uVar2);
    bVar4 = iVar3 == 0;
    *param_2 = DAT_00225b8a;
  }
  return bVar4;
}

