
/* DWARF original prototype: iterator
   find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>
   * this, Cie * * __k) */

iterator __thiscall
std::
_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>
::find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>
       *this,Cie **__k)

{
  _Rb_tree_header *p_Var1;
  _Base_ptr *pp_Var2;
  _Base_ptr p_Var3;
  Cie *cie2;
  bool bVar4;
  _Base_ptr p_Var5;
  _Base_ptr p_Var6;
  _Base_ptr in_stack_00000004;
  
  p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  p_Var1 = &(this->_M_impl).super__Rb_tree_header;
  if (p_Var3 != (_Base_ptr)0x0) {
    cie2 = *__k;
    p_Var5 = &p_Var1->_M_header;
    do {
      while( true ) {
        p_Var6 = p_Var3;
        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);
        if (!bVar4) break;
        pp_Var2 = &p_Var6->_M_right;
        p_Var3 = *pp_Var2;
        p_Var6 = p_Var5;
        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;
      }
      p_Var3 = p_Var6->_M_left;
      p_Var5 = p_Var6;
    } while (p_Var6->_M_left != (_Base_ptr)0x0);
LAB_001b1a03:
    if ((_Rb_tree_header *)p_Var6 != p_Var1) {
      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);
      if (!bVar4) {
        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;
        return (iterator)in_stack_00000004;
      }
    }
  }
  in_stack_00000004->_M_color = (_Rb_tree_color)p_Var1;
  return (iterator)in_stack_00000004;
}



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

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  char cVar5;
  int iVar6;
  int iVar7;
  
  iVar1 = param_2 + 4;
  if (*(int *)(param_2 + 8) != 0) {
    uVar3 = *param_3;
    iVar4 = *(int *)(param_2 + 8);
    iVar6 = iVar1;
    do {
      while( true ) {
        iVar7 = iVar4;
        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);
        if (cVar5 == '\0') break;
        piVar2 = (int *)(iVar7 + 0xc);
        iVar4 = *piVar2;
        iVar7 = iVar6;
        if (*piVar2 == 0) goto LAB_001b1a03;
      }
      iVar4 = *(int *)(iVar7 + 8);
      iVar6 = iVar7;
    } while (*(int *)(iVar7 + 8) != 0);
LAB_001b1a03:
    if (iVar7 != iVar1) {
      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));
      if (cVar5 == '\0') {
        *param_1 = iVar7;
        return param_1;
      }
    }
  }
  *param_1 = iVar1;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [EAX + 0x8]
LEA EDI,[EAX + 0x4]
TEST EBP,EBP
JZ 0x001b1a1a
MOV EAX,dword ptr [ESP + 0x28]
MOV ESI,EDI
MOV EBX,dword ptr [EAX]
JMP 0x001b19e9
MOV ESI,EBP
MOV EBP,dword ptr [EBP + 0x8]
TEST EBP,EBP
JZ 0x001b1a03
SUB ESP,0x8
PUSH EBX
PUSH dword ptr [EBP + 0x10]
CALL 0x001b0bf0
ADD ESP,0x10
TEST AL,AL
JZ 0x001b19e0
MOV EBP,dword ptr [EBP + 0xc]
TEST EBP,EBP
JNZ 0x001b19e9
CMP ESI,EDI
JZ 0x001b1a1a
SUB ESP,0x8
PUSH dword ptr [ESI + 0x10]
PUSH EBX
CALL 0x001b0bf0
ADD ESP,0x10
TEST AL,AL
JZ 0x001b1a30
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX],EDI
MOV EAX,dword ptr [ESP + 0x20]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX],ESI
MOV EAX,dword ptr [ESP + 0x20]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "int * FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}\n\n" (function_definition "int * FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)" * (function_declarator "FUN_001b19c0(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  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" 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) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }" 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) )) (compound_statement "{\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }" { (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (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 "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);" do (compound_statement "{\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    }" { (while_statement "while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }" { (expression_statement "iVar7 = iVar4;" (assignment_expression "iVar7 = iVar4" identifier = identifier) ;) (expression_statement "cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);" (assignment_expression "cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3)" identifier = (call_expression "FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3)" identifier (argument_list "(*(undefined4 *)(iVar7 + 0x10),uVar3)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (cVar5 == '\0') break;" if (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "piVar2 = (int *)(iVar7 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar7 + 0xc)" identifier = (cast_expression "(int *)(iVar7 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (*piVar2 == 0) goto LAB_001b1a03;" if (parenthesized_expression "(*piVar2 == 0)" ( (binary_expression "*piVar2 == 0" (pointer_expression "*piVar2" * identifier) == number_literal) )) (goto_statement "goto LAB_001b1a03;" goto statement_identifier ;)) })) (expression_statement "iVar4 = *(int *)(iVar7 + 8);" (assignment_expression "iVar4 = *(int *)(iVar7 + 8)" identifier = (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) }) while (parenthesized_expression "(*(int *)(iVar7 + 8) != 0)" ( (binary_expression "*(int *)(iVar7 + 8) != 0" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) != number_literal) )) ;) (labeled_statement "LAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" statement_identifier : (if_statement "if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" if (parenthesized_expression "(iVar7 != iVar1)" ( (binary_expression "iVar7 != iVar1" identifier != identifier) )) (compound_statement "{\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" { (expression_statement "cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));" (assignment_expression "cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10))" identifier = (call_expression "FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10))" identifier (argument_list "(uVar3,*(undefined4 *)(iVar7 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) )))) ;) (if_statement "if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }" if (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *param_1 = iVar7;\n        return param_1;\n      }" { (expression_statement "*param_1 = iVar7;" (assignment_expression "*param_1 = iVar7" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return 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 "/* DWARF original prototype: iterator\n   find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n   * this, Cie * * __k) */\n\niterator __thiscall\nstd::\n_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n::find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n       *this,Cie **__k)\n\n{\n  _Rb_tree_header *p_Var1;\n  _Base_ptr *pp_Var2;\n  _Base_ptr p_Var3;\n  Cie *cie2;\n  bool bVar4;\n  _Base_ptr p_Var5;\n  _Base_ptr p_Var6;\n  _Base_ptr in_stack_00000004;\n  \n  p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  p_Var1 = &(this->_M_impl).super__Rb_tree_header;\n  if (p_Var3 != (_Base_ptr)0x0) {\n    cie2 = *__k;\n    p_Var5 = &p_Var1->_M_header;\n    do {\n      while( true ) {\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }\n      p_Var3 = p_Var6->_M_left;\n      p_Var5 = p_Var6;\n    } while (p_Var6->_M_left != (_Base_ptr)0x0);\nLAB_001b1a03:\n    if ((_Rb_tree_header *)p_Var6 != p_Var1) {\n      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);\n      if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }\n    }\n  }\n  in_stack_00000004->_M_color = (_Rb_tree_color)p_Var1;\n  return (iterator)in_stack_00000004;\n}\n\n" comment (declaration "iterator __thiscall\nstd::\n_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n::find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n       *this,Cie **__k)\n\n{\n  _Rb_tree_header *p_Var1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Rb_tree<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*" *) , identifier (ERROR "::Cie*" : : identifier *) , (ERROR "_std::_Identity<gold::" identifier : : identifier < identifier : :) identifier (ERROR "*>" * >) , (ERROR "_gold::Eh_frame::" identifier : : identifier : :) identifier , (ERROR "_std::allocator<gold::Cie*>_>\n::find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n       *this,Cie **__k)\n\n{\n  _Rb_tree_header" identifier : : identifier < identifier : : identifier * > identifier > : : (function_declarator "find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n       *this,Cie **__k)" identifier (parameter_list "(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>\n       *this,Cie **__k)" ( (parameter_declaration "_Rb_tree<gold::Cie*" type_identifier (ERROR "<gold::Cie" < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_gold::Cie*" type_identifier (ERROR "::Cie" : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::_Identity<gold::Cie" type_identifier (ERROR "::_Identity<gold::" : : identifier < identifier : :) identifier) (ERROR "*>" * >) , (parameter_declaration "_gold::Eh_frame::Cie_less" type_identifier (ERROR "::Eh_frame::" : : identifier : :) identifier) , (parameter_declaration "_std::allocator<gold::Cie*>_>\n       *this" type_identifier (ERROR "::allocator<gold::Cie*>_>" : : identifier < identifier : : identifier * > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Cie **__k" type_identifier (pointer_declarator "**__k" * (pointer_declarator "*__k" * identifier))) ))) { identifier) (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_Base_ptr *pp_Var2;" type_identifier (pointer_declarator "*pp_Var2" * identifier) ;) (declaration "_Base_ptr p_Var3;" type_identifier identifier ;) (declaration "Cie *cie2;" type_identifier (pointer_declarator "*cie2" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "_Base_ptr p_Var5;" type_identifier identifier ;) (declaration "_Base_ptr p_Var6;" type_identifier identifier ;) (declaration "_Base_ptr in_stack_00000004;" type_identifier identifier ;) (expression_statement "p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;" (assignment_expression "p_Var3 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent" identifier = (field_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_parent" (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "p_Var1 = &(this->_M_impl).super__Rb_tree_header;" (assignment_expression "p_Var1 = &(this->_M_impl).super__Rb_tree_header" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header" & (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if (p_Var3 != (_Base_ptr)0x0) {\n    cie2 = *__k;\n    p_Var5 = &p_Var1->_M_header;\n    do {\n      while( true ) {\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }\n      p_Var3 = p_Var6->_M_left;\n      p_Var5 = p_Var6;\n    } while (p_Var6->_M_left != (_Base_ptr)0x0);\nLAB_001b1a03:\n    if ((_Rb_tree_header *)p_Var6 != p_Var1) {\n      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);\n      if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }\n    }\n  }" if (parenthesized_expression "(p_Var3 != (_Base_ptr)0x0)" ( (binary_expression "p_Var3 != (_Base_ptr)0x0" identifier != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) (compound_statement "{\n    cie2 = *__k;\n    p_Var5 = &p_Var1->_M_header;\n    do {\n      while( true ) {\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }\n      p_Var3 = p_Var6->_M_left;\n      p_Var5 = p_Var6;\n    } while (p_Var6->_M_left != (_Base_ptr)0x0);\nLAB_001b1a03:\n    if ((_Rb_tree_header *)p_Var6 != p_Var1) {\n      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);\n      if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }\n    }\n  }" { (expression_statement "cie2 = *__k;" (assignment_expression "cie2 = *__k" identifier = (pointer_expression "*__k" * identifier)) ;) (expression_statement "p_Var5 = &p_Var1->_M_header;" (assignment_expression "p_Var5 = &p_Var1->_M_header" identifier = (pointer_expression "&p_Var1->_M_header" & (field_expression "p_Var1->_M_header" identifier -> field_identifier))) ;) (do_statement "do {\n      while( true ) {\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }\n      p_Var3 = p_Var6->_M_left;\n      p_Var5 = p_Var6;\n    } while (p_Var6->_M_left != (_Base_ptr)0x0);" do (compound_statement "{\n      while( true ) {\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }\n      p_Var3 = p_Var6->_M_left;\n      p_Var5 = p_Var6;\n    }" { (while_statement "while( true ) {\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        p_Var6 = p_Var3;\n        bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);\n        if (!bVar4) break;\n        pp_Var2 = &p_Var6->_M_right;\n        p_Var3 = *pp_Var2;\n        p_Var6 = p_Var5;\n        if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;\n      }" { (expression_statement "p_Var6 = p_Var3;" (assignment_expression "p_Var6 = p_Var3" identifier = identifier) ;) (expression_statement "bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2);" (binary_expression "bVar4 = gold::operator<((Cie *)p_Var6[1]._M_color,cie2)" (assignment_expression "bVar4 = gold" identifier = identifier) (ERROR "::operator" : : identifier) < (parenthesized_expression "((Cie *)p_Var6[1]._M_color,cie2)" ( (comma_expression "(Cie *)p_Var6[1]._M_color,cie2" (cast_expression "(Cie *)p_Var6[1]._M_color" ( (type_descriptor "Cie *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) , identifier) ))) ;) (if_statement "if (!bVar4) break;" if (parenthesized_expression "(!bVar4)" ( (unary_expression "!bVar4" ! identifier) )) (break_statement "break;" break ;)) (expression_statement "pp_Var2 = &p_Var6->_M_right;" (assignment_expression "pp_Var2 = &p_Var6->_M_right" identifier = (pointer_expression "&p_Var6->_M_right" & (field_expression "p_Var6->_M_right" identifier -> field_identifier))) ;) (expression_statement "p_Var3 = *pp_Var2;" (assignment_expression "p_Var3 = *pp_Var2" identifier = (pointer_expression "*pp_Var2" * identifier)) ;) (expression_statement "p_Var6 = p_Var5;" (assignment_expression "p_Var6 = p_Var5" identifier = identifier) ;) (if_statement "if (*pp_Var2 == (_Base_ptr)0x0) goto LAB_001b1a03;" if (parenthesized_expression "(*pp_Var2 == (_Base_ptr)0x0)" ( (binary_expression "*pp_Var2 == (_Base_ptr)0x0" (pointer_expression "*pp_Var2" * identifier) == (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_001b1a03;" goto statement_identifier ;)) })) (expression_statement "p_Var3 = p_Var6->_M_left;" (assignment_expression "p_Var3 = p_Var6->_M_left" identifier = (field_expression "p_Var6->_M_left" identifier -> field_identifier)) ;) (expression_statement "p_Var5 = p_Var6;" (assignment_expression "p_Var5 = p_Var6" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var6->_M_left != (_Base_ptr)0x0)" ( (binary_expression "p_Var6->_M_left != (_Base_ptr)0x0" (field_expression "p_Var6->_M_left" identifier -> field_identifier) != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (labeled_statement "LAB_001b1a03:\n    if ((_Rb_tree_header *)p_Var6 != p_Var1) {\n      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);\n      if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }\n    }" statement_identifier : (if_statement "if ((_Rb_tree_header *)p_Var6 != p_Var1) {\n      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);\n      if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }\n    }" if (parenthesized_expression "((_Rb_tree_header *)p_Var6 != p_Var1)" ( (binary_expression "(_Rb_tree_header *)p_Var6 != p_Var1" (cast_expression "(_Rb_tree_header *)p_Var6" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != identifier) )) (compound_statement "{\n      bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);\n      if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }\n    }" { (expression_statement "bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color);" (binary_expression "bVar4 = gold::operator<(cie2,(Cie *)p_Var6[1]._M_color)" (assignment_expression "bVar4 = gold" identifier = identifier) (ERROR "::operator" : : identifier) < (parenthesized_expression "(cie2,(Cie *)p_Var6[1]._M_color)" ( (comma_expression "cie2,(Cie *)p_Var6[1]._M_color" identifier , (cast_expression "(Cie *)p_Var6[1]._M_color" ( (type_descriptor "Cie *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier))) ))) ;) (if_statement "if (!bVar4) {\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }" if (parenthesized_expression "(!bVar4)" ( (unary_expression "!bVar4" ! identifier) )) (compound_statement "{\n        in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n        return (iterator)in_stack_00000004;\n      }" { (expression_statement "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;" (assignment_expression "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var6" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (return_statement "return (iterator)in_stack_00000004;" return (cast_expression "(iterator)in_stack_00000004" ( (type_descriptor "iterator" type_identifier) ) identifier) ;) })) }))) })) (expression_statement "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var1;" (assignment_expression "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var1" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var1" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (return_statement "return (iterator)in_stack_00000004;" return (cast_expression "(iterator)in_stack_00000004" ( (type_descriptor "iterator" type_identifier) ) identifier) ;) (ERROR "}" }))
(translation_unit "int * FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}\n\n" (function_definition "int * FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)" * (function_declarator "FUN_001b19c0(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  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" 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) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }" 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) )) (compound_statement "{\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }" { (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (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 "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);" do (compound_statement "{\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    }" { (while_statement "while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }" { (expression_statement "iVar7 = iVar4;" (assignment_expression "iVar7 = iVar4" identifier = identifier) ;) (expression_statement "cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);" (assignment_expression "cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3)" identifier = (call_expression "FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3)" identifier (argument_list "(*(undefined4 *)(iVar7 + 0x10),uVar3)" ( (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (cVar5 == '\0') break;" if (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "piVar2 = (int *)(iVar7 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar7 + 0xc)" identifier = (cast_expression "(int *)(iVar7 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (*piVar2 == 0) goto LAB_001b1a03;" if (parenthesized_expression "(*piVar2 == 0)" ( (binary_expression "*piVar2 == 0" (pointer_expression "*piVar2" * identifier) == number_literal) )) (goto_statement "goto LAB_001b1a03;" goto statement_identifier ;)) })) (expression_statement "iVar4 = *(int *)(iVar7 + 8);" (assignment_expression "iVar4 = *(int *)(iVar7 + 8)" identifier = (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) }) while (parenthesized_expression "(*(int *)(iVar7 + 8) != 0)" ( (binary_expression "*(int *)(iVar7 + 8) != 0" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) != number_literal) )) ;) (labeled_statement "LAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" statement_identifier : (if_statement "if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" if (parenthesized_expression "(iVar7 != iVar1)" ( (binary_expression "iVar7 != iVar1" identifier != identifier) )) (compound_statement "{\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" { (expression_statement "cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));" (assignment_expression "cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10))" identifier = (call_expression "FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10))" identifier (argument_list "(uVar3,*(undefined4 *)(iVar7 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) )))) ;) (if_statement "if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }" if (parenthesized_expression "(cVar5 == '\0')" ( (binary_expression "cVar5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *param_1 = iVar7;\n        return param_1;\n      }" { (expression_statement "*param_1 = iVar7;" (assignment_expression "*param_1 = iVar7" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return 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 ;) (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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (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) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })) }))) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_001b19c0(int *param_1,int param_2,undefined4 *param_3)" (identifier "FUN_001b19c0") (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  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char cVar5;\n  int iVar6;\n  int iVar7;\n  \n  iVar1 = param_2 + 4;\n  if (*(int *)(param_2 + 8) != 0) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }\n  *param_1 = iVar1;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (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) {\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }" (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")) () ")")) (compound_statement "{\n    uVar3 = *param_3;\n    iVar4 = *(int *)(param_2 + 8);\n    iVar6 = iVar1;\n    do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);\nLAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }\n  }" ({ "{") (expression_statement "uVar3 = *param_3;" (assignment_expression "uVar3 = *param_3" (identifier "uVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (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 "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" (identifier "iVar6") (= "=") (identifier "iVar1")) (; ";")) (do_statement "do {\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    } while (*(int *)(iVar7 + 8) != 0);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }\n      iVar4 = *(int *)(iVar7 + 8);\n      iVar6 = iVar7;\n    }" ({ "{") (while_statement "while( true ) {\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar7 = iVar4;\n        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);\n        if (cVar5 == '\0') break;\n        piVar2 = (int *)(iVar7 + 0xc);\n        iVar4 = *piVar2;\n        iVar7 = iVar6;\n        if (*piVar2 == 0) goto LAB_001b1a03;\n      }" ({ "{") (expression_statement "iVar7 = iVar4;" (assignment_expression "iVar7 = iVar4" (identifier "iVar7") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);" (assignment_expression "cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3)" (identifier "cVar5") (= "=") (call_expression "FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3)" (identifier "FUN_001b0bf0") (argument_list "(*(undefined4 *)(iVar7 + 0x10),uVar3)" (( "(") (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (cVar5 == '\0') break;" (if "if") (parenthesized_expression "(cVar5 == '\0')" (( "(") (binary_expression "cVar5 == '\0'" (identifier "cVar5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar2 = (int *)(iVar7 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar7 + 0xc)" (identifier "piVar2") (= "=") (cast_expression "(int *)(iVar7 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xc)" (( "(") (binary_expression "iVar7 + 0xc" (identifier "iVar7") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" (identifier "iVar4") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" (identifier "iVar7") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (*piVar2 == 0) goto LAB_001b1a03;" (if "if") (parenthesized_expression "(*piVar2 == 0)" (( "(") (binary_expression "*piVar2 == 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001b1a03;" (goto "goto") (statement_identifier "LAB_001b1a03") (; ";"))) (} "}"))) (expression_statement "iVar4 = *(int *)(iVar7 + 8);" (assignment_expression "iVar4 = *(int *)(iVar7 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" (identifier "iVar6") (= "=") (identifier "iVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int *)(iVar7 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar7 + 8) != 0" (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_001b1a03:\n    if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" (statement_identifier "LAB_001b1a03") (: ":") (if_statement "if (iVar7 != iVar1) {\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" (if "if") (parenthesized_expression "(iVar7 != iVar1)" (( "(") (binary_expression "iVar7 != iVar1" (identifier "iVar7") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));\n      if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }\n    }" ({ "{") (expression_statement "cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));" (assignment_expression "cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10))" (identifier "cVar5") (= "=") (call_expression "FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10))" (identifier "FUN_001b0bf0") (argument_list "(uVar3,*(undefined4 *)(iVar7 + 0x10))" (( "(") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (if_statement "if (cVar5 == '\0') {\n        *param_1 = iVar7;\n        return param_1;\n      }" (if "if") (parenthesized_expression "(cVar5 == '\0')" (( "(") (binary_expression "cVar5 == '\0'" (identifier "cVar5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *param_1 = iVar7;\n        return param_1;\n      }" ({ "{") (expression_statement "*param_1 = iVar7;" (assignment_expression "*param_1 = iVar7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar7")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}")))) (} "}"))) (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") (; ";")) (} "}")))

/* DWARF original prototype: iterator
   find(_Rb_tree<gold::Cie*,_gold::Cie*,_std::_Identity<gold::Cie*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::Cie*>_>
   * this, Cie * * __k) */

type_1 __thiscall
std::
_Rb_tree<gold::type_3*,_gold::type_3*,_std::_Identity<gold::type_3*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::type_3*>_>
::find(_Rb_tree<gold::type_3*,_gold::type_3*,_std::_Identity<gold::type_3*>,_gold::Eh_frame::Cie_less,_std::allocator<gold::type_3*>_>
       *this,type_3 **__k)

{
  type_4 *var_2;
  type_2 *pp_Var2;
  type_2 var_1;
  type_3 *cie2;
  bool bVar4;
  type_2 p_Var5;
  type_2 p_Var6;
  type_2 in_stack_00000004;
  
  var_1 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  var_2 = &(this->_M_impl).super__Rb_tree_header;
  if (var_1 != (type_2)0x0) {
    cie2 = *__k;
    p_Var5 = &var_2->_M_header;
    do {
      while( true ) {
        p_Var6 = var_1;
        bVar4 = gold::operator<((type_3 *)p_Var6[1]._M_color,cie2);
        if (!bVar4) break;
        pp_Var2 = &p_Var6->_M_right;
        var_1 = *pp_Var2;
        p_Var6 = p_Var5;
        if (*pp_Var2 == (type_2)0x0) goto LAB_001b1a03;
      }
      var_1 = p_Var6->_M_left;
      p_Var5 = p_Var6;
    } while (p_Var6->_M_left != (type_2)0x0);
LAB_001b1a03:
    if ((type_4 *)p_Var6 != var_2) {
      bVar4 = gold::operator<(cie2,(type_3 *)p_Var6[1]._M_color);
      if (!bVar4) {
        in_stack_00000004->_M_color = (type_5)p_Var6;
        return (type_1)in_stack_00000004;
      }
    }
  }
  in_stack_00000004->_M_color = (type_5)var_2;
  return (type_1)in_stack_00000004;
}


(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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (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)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))))

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

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  char cVar5;
  int iVar6;
  int iVar7;
  
  iVar1 = param_2 + 4;
  if (*(int *)(param_2 + 8) != 0) {
    uVar3 = *param_3;
    iVar4 = *(int *)(param_2 + 8);
    iVar6 = iVar1;
    do {
      while( true ) {
        iVar7 = iVar4;
        cVar5 = FUN_001b0bf0(*(undefined4 *)(iVar7 + 0x10),uVar3);
        if (cVar5 == '\0') break;
        piVar2 = (int *)(iVar7 + 0xc);
        iVar4 = *piVar2;
        iVar7 = iVar6;
        if (*piVar2 == 0) goto LAB_001b1a03;
      }
      iVar4 = *(int *)(iVar7 + 8);
      iVar6 = iVar7;
    } while (*(int *)(iVar7 + 8) != 0);
LAB_001b1a03:
    if (iVar7 != iVar1) {
      cVar5 = FUN_001b0bf0(uVar3,*(undefined4 *)(iVar7 + 0x10));
      if (cVar5 == '\0') {
        *param_1 = iVar7;
        return param_1;
      }
    }
  }
  *param_1 = iVar1;
  return param_1;
}

