
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: iterator
   find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
   * this, basic_string<char,_std::char_traits<char>,_std::allocator<char>_> * __k) */

iterator __thiscall
std::
_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
::find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)

{
  size_type *psVar1;
  void *__s2;
  uint uVar2;
  uint uVar3;
  size_type *psVar4;
  difference_type __d;
  int iVar5;
  uint uVar6;
  size_type *psVar7;
  undefined4 *in_stack_0000000c;
  size_type *local_28;
  
  psVar1 = &__k->_M_string_length;
  if ((size_type *)(__k->field_2)._M_allocated_capacity == (size_type *)0x0) goto LAB_00077cb0;
  __s2 = (void *)*in_stack_0000000c;
  uVar2 = in_stack_0000000c[1];
  psVar4 = (size_type *)(__k->field_2)._M_allocated_capacity;
  local_28 = psVar1;
LAB_00077c2b:
  do {
    psVar7 = psVar4;
    uVar3 = psVar7[5];
    uVar6 = uVar2;
    if (uVar3 <= uVar2) {
      uVar6 = uVar3;
    }
    if (uVar6 == 0) {
LAB_00077c50:
      iVar5 = uVar3 - uVar2;
    }
    else {
      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);
      if (iVar5 == 0) goto LAB_00077c50;
    }
    if (iVar5 < 0) {
      psVar4 = (size_type *)psVar7[3];
      if ((size_type *)psVar7[3] == (size_type *)0x0) break;
      goto LAB_00077c2b;
    }
    psVar4 = (size_type *)psVar7[2];
    local_28 = psVar7;
  } while ((size_type *)psVar7[2] != (size_type *)0x0);
  if (psVar1 == local_28) goto LAB_00077cb0;
  uVar3 = local_28[5];
  uVar6 = uVar3;
  if (uVar2 <= uVar3) {
    uVar6 = uVar2;
  }
  if (uVar6 == 0) {
LAB_00077c8e:
    iVar5 = uVar2 - uVar3;
  }
  else {
    iVar5 = memcmp(__s2,(void *)local_28[4],uVar6);
    if (iVar5 == 0) goto LAB_00077c8e;
  }
  if (-1 < iVar5) {
    *(size_type **)&this->_M_impl = local_28;
    return (iterator)(_Base_ptr)this;
  }
LAB_00077cb0:
  *(size_type **)&this->_M_impl = psVar1;
  return (iterator)(_Base_ptr)this;
}



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

int * FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)

{
  int iVar1;
  void *__s2;
  uint uVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int local_28;
  
  iVar1 = param_2 + 4;
  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;
  __s2 = (void *)*param_3;
  uVar2 = param_3[1];
  iVar4 = *(int *)(param_2 + 8);
  local_28 = iVar1;
LAB_00077c2b:
  do {
    iVar6 = iVar4;
    uVar3 = *(uint *)(iVar6 + 0x14);
    uVar5 = uVar2;
    if (uVar3 <= uVar2) {
      uVar5 = uVar3;
    }
    if (uVar5 == 0) {
LAB_00077c50:
      iVar4 = uVar3 - uVar2;
    }
    else {
      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);
      if (iVar4 == 0) goto LAB_00077c50;
    }
    if (iVar4 < 0) {
      iVar4 = *(int *)(iVar6 + 0xc);
      if (*(int *)(iVar6 + 0xc) == 0) break;
      goto LAB_00077c2b;
    }
    iVar4 = *(int *)(iVar6 + 8);
    local_28 = iVar6;
  } while (*(int *)(iVar6 + 8) != 0);
  if (iVar1 == local_28) goto LAB_00077cb0;
  uVar3 = *(uint *)(local_28 + 0x14);
  uVar5 = uVar3;
  if (uVar2 <= uVar3) {
    uVar5 = uVar2;
  }
  if (uVar5 == 0) {
LAB_00077c8e:
    iVar4 = uVar2 - uVar3;
  }
  else {
    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);
    if (iVar4 == 0) goto LAB_00077c8e;
  }
  if (-1 < iVar4) {
    *param_1 = local_28;
    return param_1;
  }
LAB_00077cb0:
  *param_1 = iVar1;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x2c7417
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [EAX + 0x8]
LEA ECX,[EAX + 0x4]
MOV dword ptr [ESP + 0xc],ECX
TEST ESI,ESI
JZ 0x00077cb0
MOV EAX,dword ptr [EDX]
MOV EBP,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x4],EAX
JMP 0x00077c2b
MOV dword ptr [ESP + 0x4],ESI
MOV ESI,dword ptr [ESI + 0x8]
TEST ESI,ESI
JZ 0x00077c5f
MOV EDI,dword ptr [ESI + 0x14]
MOV EAX,EBP
CMP EDI,EBP
CMOVBE EAX,EDI
TEST EAX,EAX
JZ 0x00077c50
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESI + 0x10]
CALL 0x00028140
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00077c54
MOV EAX,EDI
SUB EAX,EBP
TEST EAX,EAX
JNS 0x00077c20
MOV ESI,dword ptr [ESI + 0xc]
TEST ESI,ESI
JNZ 0x00077c2b
MOV ECX,dword ptr [ESP + 0x4]
CMP dword ptr [ESP + 0xc],ECX
JZ 0x00077cb0
MOV ESI,dword ptr [ECX + 0x14]
CMP EBP,ESI
MOV EAX,ESI
CMOVBE EAX,EBP
TEST EAX,EAX
JZ 0x00077c8e
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ECX + 0x10]
PUSH dword ptr [ESP + 0x14]
CALL 0x00028140
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00077c92
MOV EAX,EBP
SUB EAX,ESI
TEST EAX,EAX
JS 0x00077cb0
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)" * (function_declarator "FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "iVar1 = param_2 + 4;" (assignment_expression "iVar1 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00077cb0;" goto statement_identifier ;)) (expression_statement "__s2 = (void *)*param_3;" (assignment_expression "__s2 = (void *)*param_3" identifier = (cast_expression "(void *)*param_3" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "uVar2 = param_3[1];" (assignment_expression "uVar2 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (labeled_statement "LAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);" statement_identifier : (do_statement "do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);" do (compound_statement "{\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  }" { (expression_statement "iVar6 = iVar4;" (assignment_expression "iVar6 = iVar4" identifier = identifier) ;) (expression_statement "uVar3 = *(uint *)(iVar6 + 0x14);" (assignment_expression "uVar3 = *(uint *)(iVar6 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x14)" * (cast_expression "(uint *)(iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) (if_statement "if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }" if (parenthesized_expression "(uVar3 <= uVar2)" ( (binary_expression "uVar3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n      uVar5 = uVar3;\n    }" { (expression_statement "uVar5 = uVar3;" (assignment_expression "uVar5 = uVar3" identifier = identifier) ;) })) (if_statement "if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }" { (labeled_statement "LAB_00077c50:\n      iVar4 = uVar3 - uVar2;" statement_identifier : (expression_statement "iVar4 = uVar3 - uVar2;" (assignment_expression "iVar4 = uVar3 - uVar2" identifier = (binary_expression "uVar3 - uVar2" identifier - identifier)) ;)) }) (else_clause "else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" else (compound_statement "{\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" { (expression_statement "iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);" (assignment_expression "iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5)" identifier = (call_expression "memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5)" identifier (argument_list "(*(void **)(iVar6 + 0x10),__s2,uVar5)" ( (pointer_expression "*(void **)(iVar6 + 0x10)" * (cast_expression "(void **)(iVar6 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00077c50;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077c50;" goto statement_identifier ;)) }))) (if_statement "if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }" { (expression_statement "iVar4 = *(int *)(iVar6 + 0xc);" (assignment_expression "iVar4 = *(int *)(iVar6 + 0xc)" identifier = (pointer_expression "*(int *)(iVar6 + 0xc)" * (cast_expression "(int *)(iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + 0xc) == 0) break;" if (parenthesized_expression "(*(int *)(iVar6 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar6 + 0xc) == 0" (pointer_expression "*(int *)(iVar6 + 0xc)" * (cast_expression "(int *)(iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00077c2b;" goto statement_identifier ;) })) (expression_statement "iVar4 = *(int *)(iVar6 + 8);" (assignment_expression "iVar4 = *(int *)(iVar6 + 8)" identifier = (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = iVar6;" (assignment_expression "local_28 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(*(int *)(iVar6 + 8) != 0)" ( (binary_expression "*(int *)(iVar6 + 8) != 0" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) != number_literal) )) ;)) (if_statement "if (iVar1 == local_28) goto LAB_00077cb0;" if (parenthesized_expression "(iVar1 == local_28)" ( (binary_expression "iVar1 == local_28" identifier == identifier) )) (goto_statement "goto LAB_00077cb0;" goto statement_identifier ;)) (expression_statement "uVar3 = *(uint *)(local_28 + 0x14);" (assignment_expression "uVar3 = *(uint *)(local_28 + 0x14)" identifier = (pointer_expression "*(uint *)(local_28 + 0x14)" * (cast_expression "(uint *)(local_28 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x14)" ( (binary_expression "local_28 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar3;" (assignment_expression "uVar5 = uVar3" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }" if (parenthesized_expression "(uVar2 <= uVar3)" ( (binary_expression "uVar2 <= uVar3" identifier <= identifier) )) (compound_statement "{\n    uVar5 = uVar2;\n  }" { (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) })) (if_statement "if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }" { (labeled_statement "LAB_00077c8e:\n    iVar4 = uVar2 - uVar3;" statement_identifier : (expression_statement "iVar4 = uVar2 - uVar3;" (assignment_expression "iVar4 = uVar2 - uVar3" identifier = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;)) }) (else_clause "else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" else (compound_statement "{\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" { (expression_statement "iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);" (assignment_expression "iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5)" identifier = (call_expression "memcmp(__s2,*(void **)(local_28 + 0x10),uVar5)" identifier (argument_list "(__s2,*(void **)(local_28 + 0x10),uVar5)" ( identifier , (pointer_expression "*(void **)(local_28 + 0x10)" * (cast_expression "(void **)(local_28 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00077c8e;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077c8e;" goto statement_identifier ;)) }))) (if_statement "if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n    *param_1 = local_28;\n    return param_1;\n  }" { (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_00077cb0:\n  *param_1 = iVar1;" statement_identifier : (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;)) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: iterator\n   find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n   * this, basic_string<char,_std::char_traits<char>,_std::allocator<char>_> * __k) */\n\niterator __thiscall\nstd::\n_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n::find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)\n\n{\n  size_type *psVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  size_type *psVar4;\n  difference_type __d;\n  int iVar5;\n  uint uVar6;\n  size_type *psVar7;\n  undefined4 *in_stack_0000000c;\n  size_type *local_28;\n  \n  psVar1 = &__k->_M_string_length;\n  if ((size_type *)(__k->field_2)._M_allocated_capacity == (size_type *)0x0) goto LAB_00077cb0;\n  __s2 = (void *)*in_stack_0000000c;\n  uVar2 = in_stack_0000000c[1];\n  psVar4 = (size_type *)(__k->field_2)._M_allocated_capacity;\n  local_28 = psVar1;\nLAB_00077c2b:\n  do {\n    psVar7 = psVar4;\n    uVar3 = psVar7[5];\n    uVar6 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar6 = uVar3;\n    }\n    if (uVar6 == 0) {\nLAB_00077c50:\n      iVar5 = uVar3 - uVar2;\n    }\n    else {\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }\n    if (iVar5 < 0) {\n      psVar4 = (size_type *)psVar7[3];\n      if ((size_type *)psVar7[3] == (size_type *)0x0) break;\n      goto LAB_00077c2b;\n    }\n    psVar4 = (size_type *)psVar7[2];\n    local_28 = psVar7;\n  } while ((size_type *)psVar7[2] != (size_type *)0x0);\n  if (psVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = local_28[5];\n  uVar6 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar6 = uVar2;\n  }\n  if (uVar6 == 0) {\nLAB_00077c8e:\n    iVar5 = uVar2 - uVar3;\n  }\n  else {\n    iVar5 = memcmp(__s2,(void *)local_28[4],uVar6);\n    if (iVar5 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar5) {\n    *(size_type **)&this->_M_impl = local_28;\n    return (iterator)(_Base_ptr)this;\n  }\nLAB_00077cb0:\n  *(size_type **)&this->_M_impl = psVar1;\n  return (iterator)(_Base_ptr)this;\n}\n\n" comment comment (declaration "iterator __thiscall\nstd::\n_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n::find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)\n\n{\n  size_type *psVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Rb_tree<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::unordered_set<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">" >) , (ERROR "_gold::" identifier : :) identifier , (ERROR "_std::equal_to<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">_>" > identifier >) , (ERROR "_std::allocator<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) , (ERROR "_std::_Select1st<std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::unordered_set<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">" >) , (ERROR "_gold::" identifier : :) identifier , (ERROR "_std::equal_to<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">_>" > identifier >) , (ERROR "_std::allocator<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">_>_>_>_>" > identifier > identifier > identifier > identifier >) , (ERROR "_std::less<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>" identifier : : identifier < primitive_type > identifier >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::unordered_set<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">" >) , (ERROR "_gold::" identifier : :) identifier , (ERROR "_std::equal_to<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR ">_>" > identifier >) , (ERROR "_std::allocator<std::pair<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "*" *) , (ERROR "_unsigned_int>_>_>_>_>_>\n::find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)\n\n{\n  size_type" identifier > identifier > identifier > identifier > identifier > identifier > : : (function_declarator "find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)" identifier (parameter_list "(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>\n       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)" ( (parameter_declaration "_Rb_tree<std::__cxx11::basic_string" type_identifier (ERROR "<std::__cxx11::" < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::pair<const_std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::unordered_set<std::pair<gold::Relobj*" type_identifier (ERROR "::unordered_set<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Section_id_hash" type_identifier (ERROR "::" : :) identifier) , (parameter_declaration "_std::equal_to<std::pair<gold::Relobj*" type_identifier (ERROR "::equal_to<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_>_>_" type_identifier (ERROR ">_>_>" > identifier > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::_Select1st<std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::_Select1st<std::pair<const_std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::unordered_set<std::pair<gold::Relobj*" type_identifier (ERROR "::unordered_set<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Section_id_hash" type_identifier (ERROR "::" : :) identifier) , (parameter_declaration "_std::equal_to<std::pair<gold::Relobj*" type_identifier (ERROR "::equal_to<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_>_>_>_" type_identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::less<std::__cxx11::basic_string" type_identifier (ERROR "::less<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_" type_identifier (ERROR "::allocator<char>_>" : : identifier < primitive_type > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::pair<const_std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::unordered_set<std::pair<gold::Relobj*" type_identifier (ERROR "::unordered_set<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_gold::Section_id_hash" type_identifier (ERROR "::" : :) identifier) , (parameter_declaration "_std::equal_to<std::pair<gold::Relobj*" type_identifier (ERROR "::equal_to<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<gold::Relobj*" type_identifier (ERROR "::allocator<std::pair<gold::Relobj" : : identifier < identifier : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_unsigned_int>_>_>_>_>_>\n       *this" type_identifier (ERROR ">_>_>_>_>_>" > identifier > identifier > identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "basic_string" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_> *__k" type_identifier (ERROR "::allocator<char>_>" : : identifier < primitive_type > identifier >) (pointer_declarator "*__k" * identifier)) ))) { identifier) (pointer_declarator "*psVar1" * identifier) ;) (declaration "void *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_type *psVar4;" type_identifier (pointer_declarator "*psVar4" * identifier) ;) (declaration "difference_type __d;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "size_type *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "undefined4 *in_stack_0000000c;" type_identifier (pointer_declarator "*in_stack_0000000c" * identifier) ;) (declaration "size_type *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "psVar1 = &__k->_M_string_length;" (assignment_expression "psVar1 = &__k->_M_string_length" identifier = (pointer_expression "&__k->_M_string_length" & (field_expression "__k->_M_string_length" identifier -> field_identifier))) ;) (if_statement "if ((size_type *)(__k->field_2)._M_allocated_capacity == (size_type *)0x0) goto LAB_00077cb0;" if (parenthesized_expression "((size_type *)(__k->field_2)._M_allocated_capacity == (size_type *)0x0)" ( (binary_expression "(size_type *)(__k->field_2)._M_allocated_capacity == (size_type *)0x0" (cast_expression "(size_type *)(__k->field_2)._M_allocated_capacity" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(__k->field_2)._M_allocated_capacity" (parenthesized_expression "(__k->field_2)" ( (field_expression "__k->field_2" identifier -> field_identifier) )) . field_identifier)) == (cast_expression "(size_type *)0x0" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00077cb0;" goto statement_identifier ;)) (expression_statement "__s2 = (void *)*in_stack_0000000c;" (assignment_expression "__s2 = (void *)*in_stack_0000000c" identifier = (cast_expression "(void *)*in_stack_0000000c" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*in_stack_0000000c" * identifier))) ;) (expression_statement "uVar2 = in_stack_0000000c[1];" (assignment_expression "uVar2 = in_stack_0000000c[1]" identifier = (subscript_expression "in_stack_0000000c[1]" identifier [ number_literal ])) ;) (expression_statement "psVar4 = (size_type *)(__k->field_2)._M_allocated_capacity;" (assignment_expression "psVar4 = (size_type *)(__k->field_2)._M_allocated_capacity" identifier = (cast_expression "(size_type *)(__k->field_2)._M_allocated_capacity" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(__k->field_2)._M_allocated_capacity" (parenthesized_expression "(__k->field_2)" ( (field_expression "__k->field_2" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "local_28 = psVar1;" (assignment_expression "local_28 = psVar1" identifier = identifier) ;) (labeled_statement "LAB_00077c2b:\n  do {\n    psVar7 = psVar4;\n    uVar3 = psVar7[5];\n    uVar6 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar6 = uVar3;\n    }\n    if (uVar6 == 0) {\nLAB_00077c50:\n      iVar5 = uVar3 - uVar2;\n    }\n    else {\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }\n    if (iVar5 < 0) {\n      psVar4 = (size_type *)psVar7[3];\n      if ((size_type *)psVar7[3] == (size_type *)0x0) break;\n      goto LAB_00077c2b;\n    }\n    psVar4 = (size_type *)psVar7[2];\n    local_28 = psVar7;\n  } while ((size_type *)psVar7[2] != (size_type *)0x0);" statement_identifier : (do_statement "do {\n    psVar7 = psVar4;\n    uVar3 = psVar7[5];\n    uVar6 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar6 = uVar3;\n    }\n    if (uVar6 == 0) {\nLAB_00077c50:\n      iVar5 = uVar3 - uVar2;\n    }\n    else {\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }\n    if (iVar5 < 0) {\n      psVar4 = (size_type *)psVar7[3];\n      if ((size_type *)psVar7[3] == (size_type *)0x0) break;\n      goto LAB_00077c2b;\n    }\n    psVar4 = (size_type *)psVar7[2];\n    local_28 = psVar7;\n  } while ((size_type *)psVar7[2] != (size_type *)0x0);" do (compound_statement "{\n    psVar7 = psVar4;\n    uVar3 = psVar7[5];\n    uVar6 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar6 = uVar3;\n    }\n    if (uVar6 == 0) {\nLAB_00077c50:\n      iVar5 = uVar3 - uVar2;\n    }\n    else {\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }\n    if (iVar5 < 0) {\n      psVar4 = (size_type *)psVar7[3];\n      if ((size_type *)psVar7[3] == (size_type *)0x0) break;\n      goto LAB_00077c2b;\n    }\n    psVar4 = (size_type *)psVar7[2];\n    local_28 = psVar7;\n  }" { (expression_statement "psVar7 = psVar4;" (assignment_expression "psVar7 = psVar4" identifier = identifier) ;) (expression_statement "uVar3 = psVar7[5];" (assignment_expression "uVar3 = psVar7[5]" identifier = (subscript_expression "psVar7[5]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) (if_statement "if (uVar3 <= uVar2) {\n      uVar6 = uVar3;\n    }" if (parenthesized_expression "(uVar3 <= uVar2)" ( (binary_expression "uVar3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n      uVar6 = uVar3;\n    }" { (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) })) (if_statement "if (uVar6 == 0) {\nLAB_00077c50:\n      iVar5 = uVar3 - uVar2;\n    }\n    else {\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00077c50:\n      iVar5 = uVar3 - uVar2;\n    }" { (labeled_statement "LAB_00077c50:\n      iVar5 = uVar3 - uVar2;" statement_identifier : (expression_statement "iVar5 = uVar3 - uVar2;" (assignment_expression "iVar5 = uVar3 - uVar2" identifier = (binary_expression "uVar3 - uVar2" identifier - identifier)) ;)) }) (else_clause "else {\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }" else (compound_statement "{\n      iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);\n      if (iVar5 == 0) goto LAB_00077c50;\n    }" { (expression_statement "iVar5 = memcmp((void *)psVar7[4],__s2,uVar6);" (assignment_expression "iVar5 = memcmp((void *)psVar7[4],__s2,uVar6)" identifier = (call_expression "memcmp((void *)psVar7[4],__s2,uVar6)" identifier (argument_list "((void *)psVar7[4],__s2,uVar6)" ( (cast_expression "(void *)psVar7[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar7[4]" identifier [ number_literal ])) , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_00077c50;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077c50;" goto statement_identifier ;)) }))) (if_statement "if (iVar5 < 0) {\n      psVar4 = (size_type *)psVar7[3];\n      if ((size_type *)psVar7[3] == (size_type *)0x0) break;\n      goto LAB_00077c2b;\n    }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n      psVar4 = (size_type *)psVar7[3];\n      if ((size_type *)psVar7[3] == (size_type *)0x0) break;\n      goto LAB_00077c2b;\n    }" { (expression_statement "psVar4 = (size_type *)psVar7[3];" (assignment_expression "psVar4 = (size_type *)psVar7[3]" identifier = (cast_expression "(size_type *)psVar7[3]" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar7[3]" identifier [ number_literal ]))) ;) (if_statement "if ((size_type *)psVar7[3] == (size_type *)0x0) break;" if (parenthesized_expression "((size_type *)psVar7[3] == (size_type *)0x0)" ( (binary_expression "(size_type *)psVar7[3] == (size_type *)0x0" (cast_expression "(size_type *)psVar7[3]" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar7[3]" identifier [ number_literal ])) == (cast_expression "(size_type *)0x0" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00077c2b;" goto statement_identifier ;) })) (expression_statement "psVar4 = (size_type *)psVar7[2];" (assignment_expression "psVar4 = (size_type *)psVar7[2]" identifier = (cast_expression "(size_type *)psVar7[2]" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar7[2]" identifier [ number_literal ]))) ;) (expression_statement "local_28 = psVar7;" (assignment_expression "local_28 = psVar7" identifier = identifier) ;) }) while (parenthesized_expression "((size_type *)psVar7[2] != (size_type *)0x0)" ( (binary_expression "(size_type *)psVar7[2] != (size_type *)0x0" (cast_expression "(size_type *)psVar7[2]" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "psVar7[2]" identifier [ number_literal ])) != (cast_expression "(size_type *)0x0" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) (if_statement "if (psVar1 == local_28) goto LAB_00077cb0;" if (parenthesized_expression "(psVar1 == local_28)" ( (binary_expression "psVar1 == local_28" identifier == identifier) )) (goto_statement "goto LAB_00077cb0;" goto statement_identifier ;)) (expression_statement "uVar3 = local_28[5];" (assignment_expression "uVar3 = local_28[5]" identifier = (subscript_expression "local_28[5]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar3) {\n    uVar6 = uVar2;\n  }" if (parenthesized_expression "(uVar2 <= uVar3)" ( (binary_expression "uVar2 <= uVar3" identifier <= identifier) )) (compound_statement "{\n    uVar6 = uVar2;\n  }" { (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) })) (if_statement "if (uVar6 == 0) {\nLAB_00077c8e:\n    iVar5 = uVar2 - uVar3;\n  }\n  else {\n    iVar5 = memcmp(__s2,(void *)local_28[4],uVar6);\n    if (iVar5 == 0) goto LAB_00077c8e;\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00077c8e:\n    iVar5 = uVar2 - uVar3;\n  }" { (labeled_statement "LAB_00077c8e:\n    iVar5 = uVar2 - uVar3;" statement_identifier : (expression_statement "iVar5 = uVar2 - uVar3;" (assignment_expression "iVar5 = uVar2 - uVar3" identifier = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;)) }) (else_clause "else {\n    iVar5 = memcmp(__s2,(void *)local_28[4],uVar6);\n    if (iVar5 == 0) goto LAB_00077c8e;\n  }" else (compound_statement "{\n    iVar5 = memcmp(__s2,(void *)local_28[4],uVar6);\n    if (iVar5 == 0) goto LAB_00077c8e;\n  }" { (expression_statement "iVar5 = memcmp(__s2,(void *)local_28[4],uVar6);" (assignment_expression "iVar5 = memcmp(__s2,(void *)local_28[4],uVar6)" identifier = (call_expression "memcmp(__s2,(void *)local_28[4],uVar6)" identifier (argument_list "(__s2,(void *)local_28[4],uVar6)" ( identifier , (cast_expression "(void *)local_28[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[4]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_00077c8e;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077c8e;" goto statement_identifier ;)) }))) (if_statement "if (-1 < iVar5) {\n    *(size_type **)&this->_M_impl = local_28;\n    return (iterator)(_Base_ptr)this;\n  }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n    *(size_type **)&this->_M_impl = local_28;\n    return (iterator)(_Base_ptr)this;\n  }" { (expression_statement "*(size_type **)&this->_M_impl = local_28;" (assignment_expression "*(size_type **)&this->_M_impl = local_28" (pointer_expression "*(size_type **)&this->_M_impl" * (cast_expression "(size_type **)&this->_M_impl" ( (type_descriptor "size_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&this->_M_impl" & (field_expression "this->_M_impl" identifier -> field_identifier)))) = identifier) ;) (return_statement "return (iterator)(_Base_ptr)this;" return (cast_expression "(iterator)(_Base_ptr)this" ( (type_descriptor "iterator" type_identifier) ) (cast_expression "(_Base_ptr)this" ( (type_descriptor "_Base_ptr" type_identifier) ) identifier)) ;) })) (labeled_statement "LAB_00077cb0:\n  *(size_type **)&this->_M_impl = psVar1;" statement_identifier : (expression_statement "*(size_type **)&this->_M_impl = psVar1;" (assignment_expression "*(size_type **)&this->_M_impl = psVar1" (pointer_expression "*(size_type **)&this->_M_impl" * (cast_expression "(size_type **)&this->_M_impl" ( (type_descriptor "size_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&this->_M_impl" & (field_expression "this->_M_impl" identifier -> field_identifier)))) = identifier) ;)) (return_statement "return (iterator)(_Base_ptr)this;" return (cast_expression "(iterator)(_Base_ptr)this" ( (type_descriptor "iterator" type_identifier) ) (cast_expression "(_Base_ptr)this" ( (type_descriptor "_Base_ptr" type_identifier) ) identifier)) ;) (ERROR "}" }))
(translation_unit "int * FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}\n\n" (function_definition "int * FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)" * (function_declarator "FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "iVar1 = param_2 + 4;" (assignment_expression "iVar1 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00077cb0;" goto statement_identifier ;)) (expression_statement "__s2 = (void *)*param_3;" (assignment_expression "__s2 = (void *)*param_3" identifier = (cast_expression "(void *)*param_3" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "uVar2 = param_3[1];" (assignment_expression "uVar2 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (labeled_statement "LAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);" statement_identifier : (do_statement "do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);" do (compound_statement "{\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  }" { (expression_statement "iVar6 = iVar4;" (assignment_expression "iVar6 = iVar4" identifier = identifier) ;) (expression_statement "uVar3 = *(uint *)(iVar6 + 0x14);" (assignment_expression "uVar3 = *(uint *)(iVar6 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x14)" * (cast_expression "(uint *)(iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) (if_statement "if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }" if (parenthesized_expression "(uVar3 <= uVar2)" ( (binary_expression "uVar3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n      uVar5 = uVar3;\n    }" { (expression_statement "uVar5 = uVar3;" (assignment_expression "uVar5 = uVar3" identifier = identifier) ;) })) (if_statement "if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }" { (labeled_statement "LAB_00077c50:\n      iVar4 = uVar3 - uVar2;" statement_identifier : (expression_statement "iVar4 = uVar3 - uVar2;" (assignment_expression "iVar4 = uVar3 - uVar2" identifier = (binary_expression "uVar3 - uVar2" identifier - identifier)) ;)) }) (else_clause "else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" else (compound_statement "{\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" { (expression_statement "iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);" (assignment_expression "iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5)" identifier = (call_expression "memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5)" identifier (argument_list "(*(void **)(iVar6 + 0x10),__s2,uVar5)" ( (pointer_expression "*(void **)(iVar6 + 0x10)" * (cast_expression "(void **)(iVar6 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00077c50;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077c50;" goto statement_identifier ;)) }))) (if_statement "if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }" { (expression_statement "iVar4 = *(int *)(iVar6 + 0xc);" (assignment_expression "iVar4 = *(int *)(iVar6 + 0xc)" identifier = (pointer_expression "*(int *)(iVar6 + 0xc)" * (cast_expression "(int *)(iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + 0xc) == 0) break;" if (parenthesized_expression "(*(int *)(iVar6 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar6 + 0xc) == 0" (pointer_expression "*(int *)(iVar6 + 0xc)" * (cast_expression "(int *)(iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00077c2b;" goto statement_identifier ;) })) (expression_statement "iVar4 = *(int *)(iVar6 + 8);" (assignment_expression "iVar4 = *(int *)(iVar6 + 8)" identifier = (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_28 = iVar6;" (assignment_expression "local_28 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(*(int *)(iVar6 + 8) != 0)" ( (binary_expression "*(int *)(iVar6 + 8) != 0" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) != number_literal) )) ;)) (if_statement "if (iVar1 == local_28) goto LAB_00077cb0;" if (parenthesized_expression "(iVar1 == local_28)" ( (binary_expression "iVar1 == local_28" identifier == identifier) )) (goto_statement "goto LAB_00077cb0;" goto statement_identifier ;)) (expression_statement "uVar3 = *(uint *)(local_28 + 0x14);" (assignment_expression "uVar3 = *(uint *)(local_28 + 0x14)" identifier = (pointer_expression "*(uint *)(local_28 + 0x14)" * (cast_expression "(uint *)(local_28 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x14)" ( (binary_expression "local_28 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar3;" (assignment_expression "uVar5 = uVar3" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }" if (parenthesized_expression "(uVar2 <= uVar3)" ( (binary_expression "uVar2 <= uVar3" identifier <= identifier) )) (compound_statement "{\n    uVar5 = uVar2;\n  }" { (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) })) (if_statement "if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }" { (labeled_statement "LAB_00077c8e:\n    iVar4 = uVar2 - uVar3;" statement_identifier : (expression_statement "iVar4 = uVar2 - uVar3;" (assignment_expression "iVar4 = uVar2 - uVar3" identifier = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;)) }) (else_clause "else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" else (compound_statement "{\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" { (expression_statement "iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);" (assignment_expression "iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5)" identifier = (call_expression "memcmp(__s2,*(void **)(local_28 + 0x10),uVar5)" identifier (argument_list "(__s2,*(void **)(local_28 + 0x10),uVar5)" ( identifier , (pointer_expression "*(void **)(local_28 + 0x10)" * (cast_expression "(void **)(local_28 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00077c8e;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077c8e;" goto statement_identifier ;)) }))) (if_statement "if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n    *param_1 = local_28;\n    return param_1;\n  }" { (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_00077cb0:\n  *param_1 = iVar1;" statement_identifier : (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;)) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (break_statement break ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_00077be0(int *param_1,int param_2,undefined4 *param_3)" (identifier "FUN_00077be0") (parameter_list "(int *param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int iVar1;\n  void *__s2;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int local_28;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;\n  __s2 = (void *)*param_3;\n  uVar2 = param_3[1];\n  iVar4 = *(int *)(param_2 + 8);\n  local_28 = iVar1;\nLAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);\n  if (iVar1 == local_28) goto LAB_00077cb0;\n  uVar3 = *(uint *)(local_28 + 0x14);\n  uVar5 = uVar3;\n  if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }\n  if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }\n  if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }\nLAB_00077cb0:\n  *param_1 = iVar1;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "void *__s2;" (primitive_type "void") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "iVar1 = param_2 + 4;" (assignment_expression "iVar1 = param_2 + 4" (identifier "iVar1") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;" (if "if") (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00077cb0;" (goto "goto") (statement_identifier "LAB_00077cb0") (; ";"))) (expression_statement "__s2 = (void *)*param_3;" (assignment_expression "__s2 = (void *)*param_3" (identifier "__s2") (= "=") (cast_expression "(void *)*param_3" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "uVar2 = param_3[1];" (assignment_expression "uVar2 = param_3[1]" (identifier "uVar2") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" (identifier "local_28") (= "=") (identifier "iVar1")) (; ";")) (labeled_statement "LAB_00077c2b:\n  do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);" (statement_identifier "LAB_00077c2b") (: ":") (do_statement "do {\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  } while (*(int *)(iVar6 + 8) != 0);" (do "do") (compound_statement "{\n    iVar6 = iVar4;\n    uVar3 = *(uint *)(iVar6 + 0x14);\n    uVar5 = uVar2;\n    if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }\n    if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }\n    if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }\n    iVar4 = *(int *)(iVar6 + 8);\n    local_28 = iVar6;\n  }" ({ "{") (expression_statement "iVar6 = iVar4;" (assignment_expression "iVar6 = iVar4" (identifier "iVar6") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "uVar3 = *(uint *)(iVar6 + 0x14);" (assignment_expression "uVar3 = *(uint *)(iVar6 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x14)" (* "*") (cast_expression "(uint *)(iVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" (identifier "uVar5") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar3 <= uVar2) {\n      uVar5 = uVar3;\n    }" (if "if") (parenthesized_expression "(uVar3 <= uVar2)" (( "(") (binary_expression "uVar3 <= uVar2" (identifier "uVar3") (<= "<=") (identifier "uVar2")) () ")")) (compound_statement "{\n      uVar5 = uVar3;\n    }" ({ "{") (expression_statement "uVar5 = uVar3;" (assignment_expression "uVar5 = uVar3" (identifier "uVar5") (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (uVar5 == 0) {\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }\n    else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00077c50:\n      iVar4 = uVar3 - uVar2;\n    }" ({ "{") (labeled_statement "LAB_00077c50:\n      iVar4 = uVar3 - uVar2;" (statement_identifier "LAB_00077c50") (: ":") (expression_statement "iVar4 = uVar3 - uVar2;" (assignment_expression "iVar4 = uVar3 - uVar2" (identifier "iVar4") (= "=") (binary_expression "uVar3 - uVar2" (identifier "uVar3") (- "-") (identifier "uVar2"))) (; ";"))) (} "}")) (else_clause "else {\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" (else "else") (compound_statement "{\n      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);\n      if (iVar4 == 0) goto LAB_00077c50;\n    }" ({ "{") (expression_statement "iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);" (assignment_expression "iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5)" (identifier "iVar4") (= "=") (call_expression "memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5)" (identifier "memcmp") (argument_list "(*(void **)(iVar6 + 0x10),__s2,uVar5)" (( "(") (pointer_expression "*(void **)(iVar6 + 0x10)" (* "*") (cast_expression "(void **)(iVar6 + 0x10)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "__s2") (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_00077c50;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00077c50;" (goto "goto") (statement_identifier "LAB_00077c50") (; ";"))) (} "}")))) (if_statement "if (iVar4 < 0) {\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = *(int *)(iVar6 + 0xc);\n      if (*(int *)(iVar6 + 0xc) == 0) break;\n      goto LAB_00077c2b;\n    }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar6 + 0xc);" (assignment_expression "iVar4 = *(int *)(iVar6 + 0xc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar6 + 0xc)" (* "*") (cast_expression "(int *)(iVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar6 + 0xc) == 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar6 + 0xc) == 0" (pointer_expression "*(int *)(iVar6 + 0xc)" (* "*") (cast_expression "(int *)(iVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (goto_statement "goto LAB_00077c2b;" (goto "goto") (statement_identifier "LAB_00077c2b") (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(iVar6 + 8);" (assignment_expression "iVar4 = *(int *)(iVar6 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_28 = iVar6;" (assignment_expression "local_28 = iVar6" (identifier "local_28") (= "=") (identifier "iVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int *)(iVar6 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar6 + 8) != 0" (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (; ";"))) (if_statement "if (iVar1 == local_28) goto LAB_00077cb0;" (if "if") (parenthesized_expression "(iVar1 == local_28)" (( "(") (binary_expression "iVar1 == local_28" (identifier "iVar1") (== "==") (identifier "local_28")) () ")")) (goto_statement "goto LAB_00077cb0;" (goto "goto") (statement_identifier "LAB_00077cb0") (; ";"))) (expression_statement "uVar3 = *(uint *)(local_28 + 0x14);" (assignment_expression "uVar3 = *(uint *)(local_28 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(local_28 + 0x14)" (* "*") (cast_expression "(uint *)(local_28 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x14)" (( "(") (binary_expression "local_28 + 0x14" (identifier "local_28") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar3;" (assignment_expression "uVar5 = uVar3" (identifier "uVar5") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (uVar2 <= uVar3) {\n    uVar5 = uVar2;\n  }" (if "if") (parenthesized_expression "(uVar2 <= uVar3)" (( "(") (binary_expression "uVar2 <= uVar3" (identifier "uVar2") (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n    uVar5 = uVar2;\n  }" ({ "{") (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" (identifier "uVar5") (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (if_statement "if (uVar5 == 0) {\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }\n  else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00077c8e:\n    iVar4 = uVar2 - uVar3;\n  }" ({ "{") (labeled_statement "LAB_00077c8e:\n    iVar4 = uVar2 - uVar3;" (statement_identifier "LAB_00077c8e") (: ":") (expression_statement "iVar4 = uVar2 - uVar3;" (assignment_expression "iVar4 = uVar2 - uVar3" (identifier "iVar4") (= "=") (binary_expression "uVar2 - uVar3" (identifier "uVar2") (- "-") (identifier "uVar3"))) (; ";"))) (} "}")) (else_clause "else {\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" (else "else") (compound_statement "{\n    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);\n    if (iVar4 == 0) goto LAB_00077c8e;\n  }" ({ "{") (expression_statement "iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);" (assignment_expression "iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5)" (identifier "iVar4") (= "=") (call_expression "memcmp(__s2,*(void **)(local_28 + 0x10),uVar5)" (identifier "memcmp") (argument_list "(__s2,*(void **)(local_28 + 0x10),uVar5)" (( "(") (identifier "__s2") (, ",") (pointer_expression "*(void **)(local_28 + 0x10)" (* "*") (cast_expression "(void **)(local_28 + 0x10)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_28 + 0x10)" (( "(") (binary_expression "local_28 + 0x10" (identifier "local_28") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_00077c8e;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00077c8e;" (goto "goto") (statement_identifier "LAB_00077c8e") (; ";"))) (} "}")))) (if_statement "if (-1 < iVar4) {\n    *param_1 = local_28;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n    *param_1 = local_28;\n    return param_1;\n  }" ({ "{") (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_28")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (labeled_statement "LAB_00077cb0:\n  *param_1 = iVar1;" (statement_identifier "LAB_00077cb0") (: ":") (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: iterator
   find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
   * this, basic_string<char,_std::char_traits<char>,_std::allocator<char>_> * __k) */

type_1 __thiscall
std::
_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
::find(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::unordered_set<std::pair<gold::Relobj*,_unsigned_int>,_gold::Section_id_hash,_std::equal_to<std::pair<gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<gold::Relobj*,_unsigned_int>_>_>_>_>_>
       *this,basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *__k)

{
  type_3 *var_6;
  void *__s2;
  type_2 var_2;
  type_2 var_1;
  type_3 *psVar4;
  type_4 __d;
  int var_5;
  type_2 var_3;
  type_3 *psVar7;
  type_5 *in_stack_0000000c;
  type_3 *var_7;
  
  var_6 = &__k->_M_string_length;
  if ((type_3 *)(__k->field_2)._M_allocated_capacity == (type_3 *)0x0) goto LAB_00077cb0;
  __s2 = (void *)*in_stack_0000000c;
  var_2 = in_stack_0000000c[1];
  psVar4 = (type_3 *)(__k->field_2)._M_allocated_capacity;
  var_7 = var_6;
LAB_00077c2b:
  do {
    psVar7 = psVar4;
    var_1 = psVar7[5];
    var_3 = var_2;
    if (var_1 <= var_2) {
      var_3 = var_1;
    }
    if (var_3 == 0) {
LAB_00077c50:
      var_5 = var_1 - var_2;
    }
    else {
      var_5 = var_4((void *)psVar7[4],__s2,var_3);
      if (var_5 == 0) goto LAB_00077c50;
    }
    if (var_5 < 0) {
      psVar4 = (type_3 *)psVar7[3];
      if ((type_3 *)psVar7[3] == (type_3 *)0x0) break;
      goto LAB_00077c2b;
    }
    psVar4 = (type_3 *)psVar7[2];
    var_7 = psVar7;
  } while ((type_3 *)psVar7[2] != (type_3 *)0x0);
  if (var_6 == var_7) goto LAB_00077cb0;
  var_1 = var_7[5];
  var_3 = var_1;
  if (var_2 <= var_1) {
    var_3 = var_2;
  }
  if (var_3 == 0) {
LAB_00077c8e:
    var_5 = var_2 - var_1;
  }
  else {
    var_5 = var_4(__s2,(void *)var_7[4],var_3);
    if (var_5 == 0) goto LAB_00077c8e;
  }
  if (-1 < var_5) {
    *(type_3 **)&this->_M_impl = var_7;
    return (type_1)(type_6)this;
  }
LAB_00077cb0:
  *(type_3 **)&this->_M_impl = var_6;
  return (type_1)(type_6)this;
}


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

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

int * MASKED(int *param_1,int param_2,undefined4 *param_3)

{
  int iVar1;
  void *__s2;
  uint uVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int local_28;
  
  iVar1 = param_2 + 4;
  if (*(int *)(param_2 + 8) == 0) goto LAB_00077cb0;
  __s2 = (void *)*param_3;
  uVar2 = param_3[1];
  iVar4 = *(int *)(param_2 + 8);
  local_28 = iVar1;
LAB_00077c2b:
  do {
    iVar6 = iVar4;
    uVar3 = *(uint *)(iVar6 + 0x14);
    uVar5 = uVar2;
    if (uVar3 <= uVar2) {
      uVar5 = uVar3;
    }
    if (uVar5 == 0) {
LAB_00077c50:
      iVar4 = uVar3 - uVar2;
    }
    else {
      iVar4 = memcmp(*(void **)(iVar6 + 0x10),__s2,uVar5);
      if (iVar4 == 0) goto LAB_00077c50;
    }
    if (iVar4 < 0) {
      iVar4 = *(int *)(iVar6 + 0xc);
      if (*(int *)(iVar6 + 0xc) == 0) break;
      goto LAB_00077c2b;
    }
    iVar4 = *(int *)(iVar6 + 8);
    local_28 = iVar6;
  } while (*(int *)(iVar6 + 8) != 0);
  if (iVar1 == local_28) goto LAB_00077cb0;
  uVar3 = *(uint *)(local_28 + 0x14);
  uVar5 = uVar3;
  if (uVar2 <= uVar3) {
    uVar5 = uVar2;
  }
  if (uVar5 == 0) {
LAB_00077c8e:
    iVar4 = uVar2 - uVar3;
  }
  else {
    iVar4 = memcmp(__s2,*(void **)(local_28 + 0x10),uVar5);
    if (iVar4 == 0) goto LAB_00077c8e;
  }
  if (-1 < iVar4) {
    *param_1 = local_28;
    return param_1;
  }
LAB_00077cb0:
  *param_1 = iVar1;
  return param_1;
}

