
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool match_name(Output_section_element_input * this, char * file_name,
   char * section_name, bool * keep) */

bool __thiscall
gold::Output_section_element_input::match_name
          (Output_section_element_input *this,char *file_name,char *section_name,bool *keep)

{
  char *__s2;
  bool bVar1;
  int iVar2;
  pointer pIVar3;
  
  bVar1 = match_file_name(this,file_name);
  if (bVar1) {
    pIVar3 = (this->input_section_patterns_).
             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>
             ._M_impl._M_start;
    *keep = this->keep_;
    if ((this->input_section_patterns_).
        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>
        ._M_impl._M_finish == pIVar3) {
      return bVar1;
    }
    do {
      __s2 = (pIVar3->pattern)._M_dataplus._M_p;
      if (pIVar3->pattern_is_wildcard == false) {
        iVar2 = strcmp(section_name,__s2);
      }
      else {
        iVar2 = fnmatch(__s2,section_name,0);
      }
      if (iVar2 == 0) {
        return bVar1;
      }
      pIVar3 = pIVar3 + 1;
    } while ((this->input_section_patterns_).
             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>
             ._M_impl._M_finish != pIVar3);
  }
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)

{
  char cVar1;
  int iVar2;
  undefined4 *puVar3;
  
  cVar1 = FUN_0015b690(param_1,param_2);
  if (cVar1 != '\0') {
    puVar3 = *(undefined4 **)(param_1 + 0x30);
    *param_4 = *(undefined1 *)(param_1 + 0x3c);
    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {
      return cVar1;
    }
    do {
      if (*(char *)(puVar3 + 6) == '\0') {
        iVar2 = strcmp(param_3,(char *)*puVar3);
      }
      else {
        iVar2 = fnmatch((char *)*puVar3,param_3,0);
      }
      if (iVar2 == 0) {
        return cVar1;
      }
      puVar3 = puVar3 + 8;
    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);
  }
  return '\0';
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x233887
SUB ESP,0x24
MOV ESI,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x40]
PUSH dword ptr [ESP + 0x3c]
PUSH ESI
CALL 0x0015b690
MOV byte ptr [ESP + 0x1f],AL
ADD ESP,0x10
TEST AL,AL
JZ 0x0015b808
MOVZX EDX,byte ptr [ESI + 0x3c]
MOV EAX,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESI + 0x30]
MOV byte ptr [EAX],DL
CMP dword ptr [ESI + 0x34],EBP
JNZ 0x0015b7d6
JMP 0x0015b7f7
SUB ESP,0x8
PUSH EAX
PUSH EDI
CALL 0x00029b10
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
TEST AL,AL
JNZ 0x0015b7f7
ADD EBP,0x20
CMP dword ptr [ESI + 0x34],EBP
JZ 0x0015b808
CMP byte ptr [EBP + 0x18],0x0
MOV EAX,dword ptr [EBP]
JZ 0x0015b7b8
SUB ESP,0x4
PUSH 0x0
PUSH EDI
PUSH EAX
CALL 0x00029980
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
TEST AL,AL
JZ 0x0015b7ce
MOVZX EAX,byte ptr [ESP + 0xf]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV byte ptr [ESP + 0xf],0x0
MOVZX EAX,byte ptr [ESP + 0xf]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}\n\n" comment (function_definition "char FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}" primitive_type (function_declarator "FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "cVar1 = FUN_0015b690(param_1,param_2);" (assignment_expression "cVar1 = FUN_0015b690(param_1,param_2)" identifier = (call_expression "FUN_0015b690(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }" { (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x30);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x30)" * (cast_expression "(undefined4 **)(param_1 + 0x30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*param_4 = *(undefined1 *)(param_1 + 0x3c);" (assignment_expression "*param_4 = *(undefined1 *)(param_1 + 0x3c)" (pointer_expression "*param_4" * identifier) = (pointer_expression "*(undefined1 *)(param_1 + 0x3c)" * (cast_expression "(undefined1 *)(param_1 + 0x3c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x34) == puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x34) == puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return cVar1;\n    }" { (return_statement "return cVar1;" return identifier ;) })) (do_statement "do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);" do (compound_statement "{\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    }" { (if_statement "if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" if (parenthesized_expression "(*(char *)(puVar3 + 6) == '\0')" ( (binary_expression "*(char *)(puVar3 + 6) == '\0'" (pointer_expression "*(char *)(puVar3 + 6)" * (cast_expression "(char *)(puVar3 + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 6)" ( (binary_expression "puVar3 + 6" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }" { (expression_statement "iVar2 = strcmp(param_3,(char *)*puVar3);" (assignment_expression "iVar2 = strcmp(param_3,(char *)*puVar3)" identifier = (call_expression "strcmp(param_3,(char *)*puVar3)" identifier (argument_list "(param_3,(char *)*puVar3)" ( identifier , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) )))) ;) }) (else_clause "else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" else (compound_statement "{\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" { (expression_statement "iVar2 = fnmatch((char *)*puVar3,param_3,0);" (assignment_expression "iVar2 = fnmatch((char *)*puVar3,param_3,0)" identifier = (call_expression "fnmatch((char *)*puVar3,param_3,0)" identifier (argument_list "((char *)*puVar3,param_3,0)" ( (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 == 0) {\n        return cVar1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return cVar1;\n      }" { (return_statement "return cVar1;" return identifier ;) })) (expression_statement "puVar3 = puVar3 + 8;" (assignment_expression "puVar3 = puVar3 + 8" identifier = (binary_expression "puVar3 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x34) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x34) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool match_name(Output_section_element_input * this, char * file_name,\n   char * section_name, bool * keep) */\n\nbool __thiscall\ngold::Output_section_element_input::match_name\n          (Output_section_element_input *this,char *file_name,char *section_name,bool *keep)\n\n{\n  char *__s2;\n  bool bVar1;\n  int iVar2;\n  pointer pIVar3;\n  \n  bVar1 = match_file_name(this,file_name);\n  if (bVar1) {\n    pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;\n    *keep = this->keep_;\n    if ((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3) {\n      return bVar1;\n    }\n    do {\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    } while ((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3);\n  }\n  return false;\n}\n\n" comment comment (function_definition "bool __thiscall\ngold::Output_section_element_input::match_name\n          (Output_section_element_input *this,char *file_name,char *section_name,bool *keep)\n\n{\n  char *__s2;\n  bool bVar1;\n  int iVar2;\n  pointer pIVar3;\n  \n  bVar1 = match_file_name(this,file_name);\n  if (bVar1) {\n    pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;\n    *keep = this->keep_;\n    if ((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3) {\n      return bVar1;\n    }\n    do {\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    } while ((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3);\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_element_input::" identifier : : identifier : :) (function_declarator "match_name\n          (Output_section_element_input *this,char *file_name,char *section_name,bool *keep)" identifier (parameter_list "(Output_section_element_input *this,char *file_name,char *section_name,bool *keep)" ( (parameter_declaration "Output_section_element_input *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *file_name" primitive_type (pointer_declarator "*file_name" * identifier)) , (parameter_declaration "char *section_name" primitive_type (pointer_declarator "*section_name" * identifier)) , (parameter_declaration "bool *keep" primitive_type (pointer_declarator "*keep" * identifier)) ))) (compound_statement "{\n  char *__s2;\n  bool bVar1;\n  int iVar2;\n  pointer pIVar3;\n  \n  bVar1 = match_file_name(this,file_name);\n  if (bVar1) {\n    pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;\n    *keep = this->keep_;\n    if ((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3) {\n      return bVar1;\n    }\n    do {\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    } while ((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3);\n  }\n  return false;\n}" { (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "pointer pIVar3;" type_identifier identifier ;) (expression_statement "bVar1 = match_file_name(this,file_name);" (assignment_expression "bVar1 = match_file_name(this,file_name)" identifier = (call_expression "match_file_name(this,file_name)" identifier (argument_list "(this,file_name)" ( identifier , identifier )))) ;) (if_statement "if (bVar1) {\n    pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;\n    *keep = this->keep_;\n    if ((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3) {\n      return bVar1;\n    }\n    do {\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    } while ((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;\n    *keep = this->keep_;\n    if ((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3) {\n      return bVar1;\n    }\n    do {\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    } while ((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3);\n  }" { (ERROR "pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold::" (assignment_expression "pIVar3 = (this->input_section_patterns_).\n             super__Vector_base<gold" identifier = (binary_expression "(this->input_section_patterns_).\n             super__Vector_base<gold" (field_expression "(this->input_section_patterns_).\n             super__Vector_base" (parenthesized_expression "(this->input_section_patterns_)" ( (field_expression "this->input_section_patterns_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;" statement_identifier (ERROR "::Input_section_pattern,_std::allocator<gold:" : : (comma_expression "Input_section_pattern,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Input_section_pattern>_>\n             ._M_impl._M_start;" (field_expression "Input_section_pattern>_>\n             ._M_impl._M_start" (field_expression "Input_section_pattern>_>\n             ._M_impl" (binary_expression "Input_section_pattern>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (expression_statement "*keep = this->keep_;" (assignment_expression "*keep = this->keep_" (pointer_expression "*keep" * identifier) = (field_expression "this->keep_" identifier -> field_identifier)) ;) (if_statement "if ((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3) {\n      return bVar1;\n    }" if (parenthesized_expression "((this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3)" ( (ERROR "(this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::" (comma_expression "(this->input_section_patterns_).\n        super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std" (binary_expression "(this->input_section_patterns_).\n        super__Vector_base<gold" (field_expression "(this->input_section_patterns_).\n        super__Vector_base" (parenthesized_expression "(this->input_section_patterns_)" ( (field_expression "this->input_section_patterns_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element_input::Input_section_pattern" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Input_section_pattern>_>\n        ._M_impl._M_finish == pIVar3" (field_expression "Input_section_pattern>_>\n        ._M_impl._M_finish" (field_expression "Input_section_pattern>_>\n        ._M_impl" (binary_expression "Input_section_pattern>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n      return bVar1;\n    }" { (return_statement "return bVar1;" return identifier ;) })) (do_statement "do {\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    } while ((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3);" do (compound_statement "{\n      __s2 = (pIVar3->pattern)._M_dataplus._M_p;\n      if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }\n      if (iVar2 == 0) {\n        return bVar1;\n      }\n      pIVar3 = pIVar3 + 1;\n    }" { (expression_statement "__s2 = (pIVar3->pattern)._M_dataplus._M_p;" (assignment_expression "__s2 = (pIVar3->pattern)._M_dataplus._M_p" identifier = (field_expression "(pIVar3->pattern)._M_dataplus._M_p" (field_expression "(pIVar3->pattern)._M_dataplus" (parenthesized_expression "(pIVar3->pattern)" ( (field_expression "pIVar3->pattern" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (pIVar3->pattern_is_wildcard == false) {\n        iVar2 = strcmp(section_name,__s2);\n      }\n      else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }" if (parenthesized_expression "(pIVar3->pattern_is_wildcard == false)" ( (binary_expression "pIVar3->pattern_is_wildcard == false" (field_expression "pIVar3->pattern_is_wildcard" identifier -> field_identifier) == false) )) (compound_statement "{\n        iVar2 = strcmp(section_name,__s2);\n      }" { (expression_statement "iVar2 = strcmp(section_name,__s2);" (assignment_expression "iVar2 = strcmp(section_name,__s2)" identifier = (call_expression "strcmp(section_name,__s2)" identifier (argument_list "(section_name,__s2)" ( identifier , identifier )))) ;) }) (else_clause "else {\n        iVar2 = fnmatch(__s2,section_name,0);\n      }" else (compound_statement "{\n        iVar2 = fnmatch(__s2,section_name,0);\n      }" { (expression_statement "iVar2 = fnmatch(__s2,section_name,0);" (assignment_expression "iVar2 = fnmatch(__s2,section_name,0)" identifier = (call_expression "fnmatch(__s2,section_name,0)" identifier (argument_list "(__s2,section_name,0)" ( identifier , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 == 0) {\n        return bVar1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return bVar1;\n      }" { (return_statement "return bVar1;" return identifier ;) })) (expression_statement "pIVar3 = pIVar3 + 1;" (assignment_expression "pIVar3 = pIVar3 + 1" identifier = (binary_expression "pIVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3)" ( (ERROR "(this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std::allocator<gold::Output_section_element_input::" (comma_expression "(this->input_section_patterns_).\n             super__Vector_base<gold::Output_section_element_input::Input_section_pattern,_std" (binary_expression "(this->input_section_patterns_).\n             super__Vector_base<gold" (field_expression "(this->input_section_patterns_).\n             super__Vector_base" (parenthesized_expression "(this->input_section_patterns_)" ( (field_expression "this->input_section_patterns_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element_input::Input_section_pattern" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Input_section_pattern>_>\n             ._M_impl._M_finish != pIVar3" (field_expression "Input_section_pattern>_>\n             ._M_impl._M_finish" (field_expression "Input_section_pattern>_>\n             ._M_impl" (binary_expression "Input_section_pattern>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "char FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}\n\n" (function_definition "char FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}" primitive_type (function_declarator "FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "cVar1 = FUN_0015b690(param_1,param_2);" (assignment_expression "cVar1 = FUN_0015b690(param_1,param_2)" identifier = (call_expression "FUN_0015b690(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }" { (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x30);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x30)" * (cast_expression "(undefined4 **)(param_1 + 0x30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*param_4 = *(undefined1 *)(param_1 + 0x3c);" (assignment_expression "*param_4 = *(undefined1 *)(param_1 + 0x3c)" (pointer_expression "*param_4" * identifier) = (pointer_expression "*(undefined1 *)(param_1 + 0x3c)" * (cast_expression "(undefined1 *)(param_1 + 0x3c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }" if (parenthesized_expression "(*(undefined4 **)(param_1 + 0x34) == puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x34) == puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      return cVar1;\n    }" { (return_statement "return cVar1;" return identifier ;) })) (do_statement "do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);" do (compound_statement "{\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    }" { (if_statement "if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" if (parenthesized_expression "(*(char *)(puVar3 + 6) == '\0')" ( (binary_expression "*(char *)(puVar3 + 6) == '\0'" (pointer_expression "*(char *)(puVar3 + 6)" * (cast_expression "(char *)(puVar3 + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 6)" ( (binary_expression "puVar3 + 6" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }" { (expression_statement "iVar2 = strcmp(param_3,(char *)*puVar3);" (assignment_expression "iVar2 = strcmp(param_3,(char *)*puVar3)" identifier = (call_expression "strcmp(param_3,(char *)*puVar3)" identifier (argument_list "(param_3,(char *)*puVar3)" ( identifier , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) )))) ;) }) (else_clause "else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" else (compound_statement "{\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" { (expression_statement "iVar2 = fnmatch((char *)*puVar3,param_3,0);" (assignment_expression "iVar2 = fnmatch((char *)*puVar3,param_3,0)" identifier = (call_expression "fnmatch((char *)*puVar3,param_3,0)" identifier (argument_list "((char *)*puVar3,param_3,0)" ( (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 == 0) {\n        return cVar1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return cVar1;\n      }" { (return_statement "return cVar1;" return identifier ;) })) (expression_statement "puVar3 = puVar3 + 8;" (assignment_expression "puVar3 = puVar3 + 8" identifier = (binary_expression "puVar3 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x34) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x34) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , IDENT , LIT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return (char_literal ' escape_sequence ') ;) })))
(function_definition "char FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}" (primitive_type "char") (function_declarator "FUN_0015b770(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)" (identifier "FUN_0015b770") (parameter_list "(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined1 *param_4" (type_identifier "undefined1") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  cVar1 = FUN_0015b690(param_1,param_2);\n  if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }\n  return '\0';\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "cVar1 = FUN_0015b690(param_1,param_2);" (assignment_expression "cVar1 = FUN_0015b690(param_1,param_2)" (identifier "cVar1") (= "=") (call_expression "FUN_0015b690(param_1,param_2)" (identifier "FUN_0015b690") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (cVar1 != '\0') {\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    puVar3 = *(undefined4 **)(param_1 + 0x30);\n    *param_4 = *(undefined1 *)(param_1 + 0x3c);\n    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }\n    do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);\n  }" ({ "{") (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x30);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x30)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*param_4 = *(undefined1 *)(param_1 + 0x3c);" (assignment_expression "*param_4 = *(undefined1 *)(param_1 + 0x3c)" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (pointer_expression "*(undefined1 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (*(undefined4 **)(param_1 + 0x34) == puVar3) {\n      return cVar1;\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x34) == puVar3)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x34) == puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (== "==") (identifier "puVar3")) () ")")) (compound_statement "{\n      return cVar1;\n    }" ({ "{") (return_statement "return cVar1;" (return "return") (identifier "cVar1") (; ";")) (} "}"))) (do_statement "do {\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);" (do "do") (compound_statement "{\n      if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }\n      if (iVar2 == 0) {\n        return cVar1;\n      }\n      puVar3 = puVar3 + 8;\n    }" ({ "{") (if_statement "if (*(char *)(puVar3 + 6) == '\0') {\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }\n      else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" (if "if") (parenthesized_expression "(*(char *)(puVar3 + 6) == '\0')" (( "(") (binary_expression "*(char *)(puVar3 + 6) == '\0'" (pointer_expression "*(char *)(puVar3 + 6)" (* "*") (cast_expression "(char *)(puVar3 + 6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 6)" (( "(") (binary_expression "puVar3 + 6" (identifier "puVar3") (+ "+") (number_literal "6")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar2 = strcmp(param_3,(char *)*puVar3);\n      }" ({ "{") (expression_statement "iVar2 = strcmp(param_3,(char *)*puVar3);" (assignment_expression "iVar2 = strcmp(param_3,(char *)*puVar3)" (identifier "iVar2") (= "=") (call_expression "strcmp(param_3,(char *)*puVar3)" (identifier "strcmp") (argument_list "(param_3,(char *)*puVar3)" (( "(") (identifier "param_3") (, ",") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" (else "else") (compound_statement "{\n        iVar2 = fnmatch((char *)*puVar3,param_3,0);\n      }" ({ "{") (expression_statement "iVar2 = fnmatch((char *)*puVar3,param_3,0);" (assignment_expression "iVar2 = fnmatch((char *)*puVar3,param_3,0)" (identifier "iVar2") (= "=") (call_expression "fnmatch((char *)*puVar3,param_3,0)" (identifier "fnmatch") (argument_list "((char *)*puVar3,param_3,0)" (( "(") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar2 == 0) {\n        return cVar1;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return cVar1;\n      }" ({ "{") (return_statement "return cVar1;" (return "return") (identifier "cVar1") (; ";")) (} "}"))) (expression_statement "puVar3 = puVar3 + 8;" (assignment_expression "puVar3 = puVar3 + 8" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 8" (identifier "puVar3") (+ "+") (number_literal "8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x34) != puVar3)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x34) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return '\0';" (return "return") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool match_name(Output_section_element_input * this, char * file_name,
   char * section_name, bool * keep) */

bool __thiscall
gold::type_1::function_1
          (type_1 *this,char *file_name,char *section_name,bool *keep)

{
  char *__s2;
  bool bVar1;
  int var_7;
  type_2 var_4;
  
  bVar1 = var_1(this,file_name);
  if (bVar1) {
    var_4 = (this->input_section_patterns_).
             super__Vector_base<gold::Output_section_element_input::var_2,_std::allocator<gold::Output_section_element_input::var_2>var_3>
             ._M_impl._M_start;
    *keep = this->keep_;
    if ((this->input_section_patterns_).
        super__Vector_base<gold::type_1::var_2,_std::allocator<gold::type_1::var_2>var_3>
        ._M_impl._M_finish == var_4) {
      return bVar1;
    }
    do {
      __s2 = (var_4->pattern)._M_dataplus._M_p;
      if (var_4->pattern_is_wildcard == false) {
        var_7 = var_5(section_name,__s2);
      }
      else {
        var_7 = var_6(__s2,section_name,0);
      }
      if (var_7 == 0) {
        return bVar1;
      }
      var_4 = var_4 + 1;
    } while ((this->input_section_patterns_).
             super__Vector_base<gold::type_1::var_2,_std::allocator<gold::type_1::var_2>var_3>
             ._M_impl._M_finish != var_4);
  }
  return false;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char MASKED(int param_1,undefined4 param_2,char *param_3,undefined1 *param_4)

{
  char cVar1;
  int iVar2;
  undefined4 *puVar3;
  
  cVar1 = FUN_0015b690(param_1,param_2);
  if (cVar1 != '\0') {
    puVar3 = *(undefined4 **)(param_1 + 0x30);
    *param_4 = *(undefined1 *)(param_1 + 0x3c);
    if (*(undefined4 **)(param_1 + 0x34) == puVar3) {
      return cVar1;
    }
    do {
      if (*(char *)(puVar3 + 6) == '\0') {
        iVar2 = strcmp(param_3,(char *)*puVar3);
      }
      else {
        iVar2 = fnmatch((char *)*puVar3,param_3,0);
      }
      if (iVar2 == 0) {
        return cVar1;
      }
      puVar3 = puVar3 + 8;
    } while (*(undefined4 **)(param_1 + 0x34) != puVar3);
  }
  return '\0';
}

