
/* DWARF original prototype: void set_output_symtab_index(Symbol_value<32> * this, uint i) */

void __thiscall gold::Symbol_value<32>::set_output_symtab_index(Symbol_value<32> *this,uint i)

{
  uint uVar1;
  
  if (this->output_symtab_index_ == 0) goto LAB_0027e028;
  uVar1 = i - 1;
  if (this->output_symtab_index_ == 0xfffffffe) goto LAB_0027e02c;
  i = 0x70c;
  while( true ) {
    this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);
    (*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);
LAB_0027e028:
    uVar1 = i - 1;
LAB_0027e02c:
    if (uVar1 < 0xfffffffd) break;
    i = 0x70d;
  }
  this->output_symtab_index_ = i;
  return;
}



void FUN_0027dfe0(int *param_1,int param_2)

{
  uint uVar1;
  
  if (*param_1 == 0) goto LAB_0027e028;
  uVar1 = param_2 - 1;
  if (*param_1 == -2) goto LAB_0027e02c;
  param_2 = 0x70c;
  while( true ) {
    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);
LAB_0027e028:
    uVar1 = param_2 - 1;
LAB_0027e02c:
    if (uVar1 < 0xfffffffd) break;
    param_2 = 0x70d;
  }
  *param_1 = param_2;
  return;
}


lui gp,0x25
addiu gp,gp,-0x4da0
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,0x0(a0)
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq v0,zero,0x0027e028
_li v1,-0x2
beq v0,v1,0x0027e02c
_addiu v0,a1,-0x1
li a1,0x70c
lw a2,-0x7924(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x7810(gp)
addiu a2,a2,-0xa98
jalr t9
_addiu a0,a0,0x4570
addiu v0,a1,-0x1
sltiu v0,v0,-0x3
beq v0,zero,0x0027e044
_lw ra,0x1c(sp)
sw a1,0x0(a0)
jr ra
_addiu sp,sp,0x20
b 0x0027e010
_li a1,0x70d
(translation_unit "void FUN_0027dfe0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void FUN_0027dfe0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_0027dfe0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*param_1 == 0) goto LAB_0027e028;" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (goto_statement "goto LAB_0027e028;" goto statement_identifier ;)) (expression_statement "uVar1 = param_2 - 1;" (assignment_expression "uVar1 = param_2 - 1" identifier = (binary_expression "param_2 - 1" identifier - number_literal)) ;) (if_statement "if (*param_1 == -2) goto LAB_0027e02c;" if (parenthesized_expression "(*param_1 == -2)" ( (binary_expression "*param_1 == -2" (pointer_expression "*param_1" * identifier) == number_literal) )) (goto_statement "goto LAB_0027e02c;" goto statement_identifier ;)) (expression_statement "param_2 = 0x70c;" (assignment_expression "param_2 = 0x70c" identifier = number_literal) ;) (while_statement "while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }" { (expression_statement "param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);" (assignment_expression "param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" identifier = (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98)" ( identifier , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0xa98" identifier + number_literal) ))) ;) (labeled_statement "LAB_0027e028:\n    uVar1 = param_2 - 1;" statement_identifier : (expression_statement "uVar1 = param_2 - 1;" (assignment_expression "uVar1 = param_2 - 1" identifier = (binary_expression "param_2 - 1" identifier - number_literal)) ;)) (labeled_statement "LAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;" statement_identifier : (if_statement "if (uVar1 < 0xfffffffd) break;" if (parenthesized_expression "(uVar1 < 0xfffffffd)" ( (binary_expression "uVar1 < 0xfffffffd" identifier < number_literal) )) (break_statement "break;" break ;))) (expression_statement "param_2 = 0x70d;" (assignment_expression "param_2 = 0x70d" identifier = number_literal) ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void set_output_symtab_index(Symbol_value<32> * this, uint i) */\n\nvoid __thiscall gold::Symbol_value<32>::set_output_symtab_index(Symbol_value<32> *this,uint i)\n\n{\n  uint uVar1;\n  \n  if (this->output_symtab_index_ == 0) goto LAB_0027e028;\n  uVar1 = i - 1;\n  if (this->output_symtab_index_ == 0xfffffffe) goto LAB_0027e02c;\n  i = 0x70c;\n  while( true ) {\n    this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = i - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    i = 0x70d;\n  }\n  this->output_symtab_index_ = i;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Symbol_value<32>::set_output_symtab_index(Symbol_value<32> *this,uint i)\n\n{\n  uint uVar1;\n  \n  if (this->output_symtab_index_ == 0) goto LAB_0027e028;\n  uVar1 = i - 1;\n  if (this->output_symtab_index_ == 0xfffffffe) goto LAB_0027e02c;\n  i = 0x70c;\n  while( true ) {\n    this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = i - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    i = 0x70d;\n  }\n  this->output_symtab_index_ = i;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol_value<32>::" identifier : : identifier < number_literal > : :) (function_declarator "set_output_symtab_index(Symbol_value<32> *this,uint i)" identifier (parameter_list "(Symbol_value<32> *this,uint i)" ( (parameter_declaration "Symbol_value<32> *this" type_identifier (ERROR "<32>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint i" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (this->output_symtab_index_ == 0) goto LAB_0027e028;\n  uVar1 = i - 1;\n  if (this->output_symtab_index_ == 0xfffffffe) goto LAB_0027e02c;\n  i = 0x70c;\n  while( true ) {\n    this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = i - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    i = 0x70d;\n  }\n  this->output_symtab_index_ = i;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (this->output_symtab_index_ == 0) goto LAB_0027e028;" if (parenthesized_expression "(this->output_symtab_index_ == 0)" ( (binary_expression "this->output_symtab_index_ == 0" (field_expression "this->output_symtab_index_" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_0027e028;" goto statement_identifier ;)) (expression_statement "uVar1 = i - 1;" (assignment_expression "uVar1 = i - 1" identifier = (binary_expression "i - 1" identifier - number_literal)) ;) (if_statement "if (this->output_symtab_index_ == 0xfffffffe) goto LAB_0027e02c;" if (parenthesized_expression "(this->output_symtab_index_ == 0xfffffffe)" ( (binary_expression "this->output_symtab_index_ == 0xfffffffe" (field_expression "this->output_symtab_index_" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_0027e02c;" goto statement_identifier ;)) (expression_statement "i = 0x70c;" (assignment_expression "i = 0x70c" identifier = number_literal) ;) (while_statement "while( true ) {\n    this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = i - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    i = 0x70d;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = i - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    i = 0x70d;\n  }" { (expression_statement "this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);" (assignment_expression "this = (Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" identifier = (call_expression "(Symbol_value<32> *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" (parenthesized_expression "(Symbol_value<32> *)" ( (binary_expression "Symbol_value<32> *" (binary_expression "Symbol_value<32" identifier < number_literal) > (pointer_expression "*" * identifier)) )) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,i,PTR_s_in_a_linker_script_004c191c + -0xa98)" ( identifier , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0xa98" identifier + number_literal) ))) ;) (labeled_statement "LAB_0027e028:\n    uVar1 = i - 1;" statement_identifier : (expression_statement "uVar1 = i - 1;" (assignment_expression "uVar1 = i - 1" identifier = (binary_expression "i - 1" identifier - number_literal)) ;)) (labeled_statement "LAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;" statement_identifier : (if_statement "if (uVar1 < 0xfffffffd) break;" if (parenthesized_expression "(uVar1 < 0xfffffffd)" ( (binary_expression "uVar1 < 0xfffffffd" identifier < number_literal) )) (break_statement "break;" break ;))) (expression_statement "i = 0x70d;" (assignment_expression "i = 0x70d" identifier = number_literal) ;) })) (expression_statement "this->output_symtab_index_ = i;" (assignment_expression "this->output_symtab_index_ = i" (field_expression "this->output_symtab_index_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0027dfe0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void FUN_0027dfe0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_0027dfe0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*param_1 == 0) goto LAB_0027e028;" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (goto_statement "goto LAB_0027e028;" goto statement_identifier ;)) (expression_statement "uVar1 = param_2 - 1;" (assignment_expression "uVar1 = param_2 - 1" identifier = (binary_expression "param_2 - 1" identifier - number_literal)) ;) (if_statement "if (*param_1 == -2) goto LAB_0027e02c;" if (parenthesized_expression "(*param_1 == -2)" ( (binary_expression "*param_1 == -2" (pointer_expression "*param_1" * identifier) == number_literal) )) (goto_statement "goto LAB_0027e02c;" goto statement_identifier ;)) (expression_statement "param_2 = 0x70c;" (assignment_expression "param_2 = 0x70c" identifier = number_literal) ;) (while_statement "while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }" { (expression_statement "param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);" (assignment_expression "param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" identifier = (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98)" ( identifier , identifier , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0xa98" identifier + number_literal) ))) ;) (labeled_statement "LAB_0027e028:\n    uVar1 = param_2 - 1;" statement_identifier : (expression_statement "uVar1 = param_2 - 1;" (assignment_expression "uVar1 = param_2 - 1" identifier = (binary_expression "param_2 - 1" identifier - number_literal)) ;)) (labeled_statement "LAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;" statement_identifier : (if_statement "if (uVar1 < 0xfffffffd) break;" if (parenthesized_expression "(uVar1 < 0xfffffffd)" ( (binary_expression "uVar1 < 0xfffffffd" identifier < number_literal) )) (break_statement "break;" break ;))) (expression_statement "param_2 = 0x70d;" (assignment_expression "param_2 = 0x70d" identifier = number_literal) ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;))) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0027dfe0(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0027dfe0(int *param_1,int param_2)" (identifier "FUN_0027dfe0") (parameter_list "(int *param_1,int param_2)" (( "(") (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")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (*param_1 == 0) goto LAB_0027e028;\n  uVar1 = param_2 - 1;\n  if (*param_1 == -2) goto LAB_0027e02c;\n  param_2 = 0x70c;\n  while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }\n  *param_1 = param_2;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (*param_1 == 0) goto LAB_0027e028;" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0027e028;" (goto "goto") (statement_identifier "LAB_0027e028") (; ";"))) (expression_statement "uVar1 = param_2 - 1;" (assignment_expression "uVar1 = param_2 - 1" (identifier "uVar1") (= "=") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (*param_1 == -2) goto LAB_0027e02c;" (if "if") (parenthesized_expression "(*param_1 == -2)" (( "(") (binary_expression "*param_1 == -2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "-2")) () ")")) (goto_statement "goto LAB_0027e02c;" (goto "goto") (statement_identifier "LAB_0027e02c") (; ";"))) (expression_statement "param_2 = 0x70c;" (assignment_expression "param_2 = 0x70c" (identifier "param_2") (= "=") (number_literal "0x70c")) (; ";")) (while_statement "while( true ) {\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);\nLAB_0027e028:\n    uVar1 = param_2 - 1;\nLAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;\n    param_2 = 0x70d;\n  }" ({ "{") (expression_statement "param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);" (assignment_expression "param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" (identifier "param_1") (= "=") (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "0x4570")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" (( "(") (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" (* "*") (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_gold_unreachable_004c1a30"))) () ")")) (argument_list "(param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0xa98" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0xa98")) () ")"))) (; ";")) (labeled_statement "LAB_0027e028:\n    uVar1 = param_2 - 1;" (statement_identifier "LAB_0027e028") (: ":") (expression_statement "uVar1 = param_2 - 1;" (assignment_expression "uVar1 = param_2 - 1" (identifier "uVar1") (= "=") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1"))) (; ";"))) (labeled_statement "LAB_0027e02c:\n    if (uVar1 < 0xfffffffd) break;" (statement_identifier "LAB_0027e02c") (: ":") (if_statement "if (uVar1 < 0xfffffffd) break;" (if "if") (parenthesized_expression "(uVar1 < 0xfffffffd)" (( "(") (binary_expression "uVar1 < 0xfffffffd" (identifier "uVar1") (< "<") (number_literal "0xfffffffd")) () ")")) (break_statement "break;" (break "break") (; ";")))) (expression_statement "param_2 = 0x70d;" (assignment_expression "param_2 = 0x70d" (identifier "param_2") (= "=") (number_literal "0x70d")) (; ";")) (} "}"))) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void set_output_symtab_index(Symbol_value<32> * this, uint i) */

void __thiscall gold::type_1<32>::function_1(type_1<32> *this,type_2 var_1)

{
  type_2 var_4;
  
  if (this->output_symtab_index_ == 0) goto LAB_0027e028;
  var_4 = var_1 - 1;
  if (this->output_symtab_index_ == 0xfffffffe) goto LAB_0027e02c;
  var_1 = 0x70c;
  while( true ) {
    this = (type_1<32> *)(var_2 + 0x4570);
    (*(type_3 *)PTR_do_gold_unreachable_004c1a30)(this,var_1,var_3 + -0xa98);
LAB_0027e028:
    var_4 = var_1 - 1;
LAB_0027e02c:
    if (var_4 < 0xfffffffd) break;
    var_1 = 0x70d;
  }
  this->output_symtab_index_ = var_1;
  return;
}


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

void MASKED(int *param_1,int param_2)

{
  uint uVar1;
  
  if (*param_1 == 0) goto LAB_0027e028;
  uVar1 = param_2 - 1;
  if (*param_1 == -2) goto LAB_0027e02c;
  param_2 = 0x70c;
  while( true ) {
    param_1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x4570);
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (param_1,param_2,PTR_s_in_a_linker_script_004c191c + -0xa98);
LAB_0027e028:
    uVar1 = param_2 - 1;
LAB_0027e02c:
    if (uVar1 < 0xfffffffd) break;
    param_2 = 0x70d;
  }
  *param_1 = param_2;
  return;
}

