
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_output_section(Symbol * this, Output_section * os) */

void __thiscall gold::Symbol::set_output_section(Symbol *this,Output_section *os)

{
  Output_section *pOVar1;
  byte bVar2;
  
  bVar2 = this->field_0x2a & 7;
  if (bVar2 < 2) {
    pOVar1 = output_section(this);
    if (pOVar1 != os) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");
    }
  }
  else {
    if (bVar2 != 3) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");
    }
    (this->u2_).offset_is_from_end = false;
    this->field_0x2a = this->field_0x2a & 0xf8 | 1;
    (this->u1_).object = (Object *)os;
  }
  return;
}



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

void FUN_00177760(int param_1,int param_2)

{
  byte bVar1;
  undefined8 uVar2;
  
  bVar1 = *(byte *)(param_1 + 0x2a);
  if ((bVar1 & 7) < 2) {
    uVar2 = FUN_00177640(param_1);
    if ((int)uVar2 != param_2) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)
                  );
    }
  }
  else {
    if ((bVar1 & 7) != 3) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);
    }
    *(undefined1 *)(param_1 + 0xc) = 0;
    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;
    *(int *)(param_1 + 8) = param_2;
  }
  return;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x21789a
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOVZX EAX,byte ptr [EDX + 0x2a]
MOV ECX,EAX
AND ECX,0x7
CMP CL,0x1
JBE 0x001777a0
CMP CL,0x3
JNZ 0x001777cb
AND EAX,0xfffffff8
MOV byte ptr [EDX + 0xc],0x0
OR EAX,0x1
MOV byte ptr [EDX + 0x2a],AL
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDX + 0x8],EAX
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
PUSH EDX
CALL 0x00177640
ADD ESP,0x10
CMP EAX,dword ptr [ESP + 0x14]
JZ 0x0017779a
LEA EAX,[EBX + 0xfff0b3e8]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff0a871]
PUSH 0x20e
PUSH EAX
CALL 0x00069d00
PUSH EAX
LEA EAX,[EBX + 0xfff0b3e8]
PUSH EAX
LEA EAX,[EBX + 0xfff0a871]
PUSH 0x218
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00177760(int param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00177760(int param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00177760(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x2a);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x2a)" identifier = (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" if (parenthesized_expression "((bVar1 & 7) < 2)" ( (binary_expression "(bVar1 & 7) < 2" (parenthesized_expression "(bVar1 & 7)" ( (binary_expression "bVar1 & 7" identifier & number_literal) )) < number_literal) )) (compound_statement "{\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }" { (expression_statement "uVar2 = FUN_00177640(param_1);" (assignment_expression "uVar2 = FUN_00177640(param_1)" identifier = (call_expression "FUN_00177640(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((int)uVar2 != param_2) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }" if (parenthesized_expression "((int)uVar2 != param_2)" ( (binary_expression "(int)uVar2 != param_2" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }" { comment (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  )" identifier (argument_list "("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  )" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_section"" " string_content ") , (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" ( (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) })) }) (else_clause "else {\n    if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" else (compound_statement "{\n    if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" { (if_statement "if ((bVar1 & 7) != 3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }" if (parenthesized_expression "((bVar1 & 7) != 3)" ( (binary_expression "(bVar1 & 7) != 3" (parenthesized_expression "(bVar1 & 7)" ( (binary_expression "bVar1 & 7" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1)" identifier (argument_list "("../../gold/symtab.cc",0x218,"set_output_section",bVar1)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_section"" " string_content ") , identifier ))) ;) })) (expression_statement "*(undefined1 *)(param_1 + 0xc) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xc) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xc)" * (cast_expression "(undefined1 *)(param_1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;" (assignment_expression "*(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1" (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xf8 | 1" (binary_expression "bVar1 & 0xf8" identifier & number_literal) | number_literal)) ;) (expression_statement "*(int *)(param_1 + 8) = param_2;" (assignment_expression "*(int *)(param_1 + 8) = param_2" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_output_section(Symbol * this, Output_section * os) */\n\nvoid __thiscall gold::Symbol::set_output_section(Symbol *this,Output_section *os)\n\n{\n  Output_section *pOVar1;\n  byte bVar2;\n  \n  bVar2 = this->field_0x2a & 7;\n  if (bVar2 < 2) {\n    pOVar1 = output_section(this);\n    if (pOVar1 != os) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }\n  }\n  else {\n    if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }\n    (this->u2_).offset_is_from_end = false;\n    this->field_0x2a = this->field_0x2a & 0xf8 | 1;\n    (this->u1_).object = (Object *)os;\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Symbol::set_output_section(Symbol *this,Output_section *os)\n\n{\n  Output_section *pOVar1;\n  byte bVar2;\n  \n  bVar2 = this->field_0x2a & 7;\n  if (bVar2 < 2) {\n    pOVar1 = output_section(this);\n    if (pOVar1 != os) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }\n  }\n  else {\n    if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }\n    (this->u2_).offset_is_from_end = false;\n    this->field_0x2a = this->field_0x2a & 0xf8 | 1;\n    (this->u1_).object = (Object *)os;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol::" identifier : : identifier : :) (function_declarator "set_output_section(Symbol *this,Output_section *os)" identifier (parameter_list "(Symbol *this,Output_section *os)" ( (parameter_declaration "Symbol *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_section *os" type_identifier (pointer_declarator "*os" * identifier)) ))) (compound_statement "{\n  Output_section *pOVar1;\n  byte bVar2;\n  \n  bVar2 = this->field_0x2a & 7;\n  if (bVar2 < 2) {\n    pOVar1 = output_section(this);\n    if (pOVar1 != os) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }\n  }\n  else {\n    if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }\n    (this->u2_).offset_is_from_end = false;\n    this->field_0x2a = this->field_0x2a & 0xf8 | 1;\n    (this->u1_).object = (Object *)os;\n  }\n  return;\n}" { (declaration "Output_section *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "bVar2 = this->field_0x2a & 7;" (assignment_expression "bVar2 = this->field_0x2a & 7" identifier = (binary_expression "this->field_0x2a & 7" (field_expression "this->field_0x2a" identifier -> field_identifier) & number_literal)) ;) (if_statement "if (bVar2 < 2) {\n    pOVar1 = output_section(this);\n    if (pOVar1 != os) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }\n  }\n  else {\n    if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }\n    (this->u2_).offset_is_from_end = false;\n    this->field_0x2a = this->field_0x2a & 0xf8 | 1;\n    (this->u1_).object = (Object *)os;\n  }" if (parenthesized_expression "(bVar2 < 2)" ( (binary_expression "bVar2 < 2" identifier < number_literal) )) (compound_statement "{\n    pOVar1 = output_section(this);\n    if (pOVar1 != os) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }\n  }" { (expression_statement "pOVar1 = output_section(this);" (assignment_expression "pOVar1 = output_section(this)" identifier = (call_expression "output_section(this)" identifier (argument_list "(this)" ( identifier )))) ;) (if_statement "if (pOVar1 != os) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }" if (parenthesized_expression "(pOVar1 != os)" ( (binary_expression "pOVar1 != os" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x20e,"set_output_section")" identifier (argument_list "("../../gold/symtab.cc",0x20e,"set_output_section")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_section"" " string_content ") ))) ;) })) }) (else_clause "else {\n    if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }\n    (this->u2_).offset_is_from_end = false;\n    this->field_0x2a = this->field_0x2a & 0xf8 | 1;\n    (this->u1_).object = (Object *)os;\n  }" else (compound_statement "{\n    if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }\n    (this->u2_).offset_is_from_end = false;\n    this->field_0x2a = this->field_0x2a & 0xf8 | 1;\n    (this->u1_).object = (Object *)os;\n  }" { (if_statement "if (bVar2 != 3) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }" if (parenthesized_expression "(bVar2 != 3)" ( (binary_expression "bVar2 != 3" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x218,"set_output_section")" identifier (argument_list "("../../gold/symtab.cc",0x218,"set_output_section")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_section"" " string_content ") ))) ;) })) (expression_statement "(this->u2_).offset_is_from_end = false;" (assignment_expression "(this->u2_).offset_is_from_end = false" (field_expression "(this->u2_).offset_is_from_end" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) = false) ;) (expression_statement "this->field_0x2a = this->field_0x2a & 0xf8 | 1;" (assignment_expression "this->field_0x2a = this->field_0x2a & 0xf8 | 1" (field_expression "this->field_0x2a" identifier -> field_identifier) = (binary_expression "this->field_0x2a & 0xf8 | 1" (binary_expression "this->field_0x2a & 0xf8" (field_expression "this->field_0x2a" identifier -> field_identifier) & number_literal) | number_literal)) ;) (expression_statement "(this->u1_).object = (Object *)os;" (assignment_expression "(this->u1_).object = (Object *)os" (field_expression "(this->u1_).object" (parenthesized_expression "(this->u1_)" ( (field_expression "this->u1_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(Object *)os" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00177760(int param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00177760(int param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00177760(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x2a);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x2a)" identifier = (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" if (parenthesized_expression "((bVar1 & 7) < 2)" ( (binary_expression "(bVar1 & 7) < 2" (parenthesized_expression "(bVar1 & 7)" ( (binary_expression "bVar1 & 7" identifier & number_literal) )) < number_literal) )) (compound_statement "{\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }" { (expression_statement "uVar2 = FUN_00177640(param_1);" (assignment_expression "uVar2 = FUN_00177640(param_1)" identifier = (call_expression "FUN_00177640(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }" if (parenthesized_expression "((int)uVar2 != param_2)" ( (binary_expression "(int)uVar2 != param_2" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) != identifier) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }" { (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  )" identifier (argument_list "("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  )" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_section"" " string_content ") , (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" ( (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) })) }) (else_clause "else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" else (compound_statement "{\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" { (if_statement "if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }" if (parenthesized_expression "((bVar1 & 7) != 3)" ( (binary_expression "(bVar1 & 7) != 3" (parenthesized_expression "(bVar1 & 7)" ( (binary_expression "bVar1 & 7" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }" { (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1)" identifier (argument_list "("../../gold/symtab.cc",0x218,"set_output_section",bVar1)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_section"" " string_content ") , identifier ))) ;) })) (expression_statement "*(undefined1 *)(param_1 + 0xc) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xc) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xc)" * (cast_expression "(undefined1 *)(param_1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;" (assignment_expression "*(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1" (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xf8 | 1" (binary_expression "bVar1 & 0xf8" identifier & number_literal) | number_literal)) ;) (expression_statement "*(int *)(param_1 + 8) = param_2;" (assignment_expression "*(int *)(param_1 + 8) = param_2" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00177760(int param_1,int param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00177760(int param_1,int param_2)" (identifier "FUN_00177760") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  bVar1 = *(byte *)(param_1 + 0x2a);\n  if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 0x2a);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x2a)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x2a)" (* "*") (cast_expression "(byte *)(param_1 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2a)" (( "(") (binary_expression "param_1 + 0x2a" (identifier "param_1") (+ "+") (number_literal "0x2a")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 7) < 2) {\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }\n  else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" (if "if") (parenthesized_expression "((bVar1 & 7) < 2)" (( "(") (binary_expression "(bVar1 & 7) < 2" (parenthesized_expression "(bVar1 & 7)" (( "(") (binary_expression "bVar1 & 7" (identifier "bVar1") (& "&") (number_literal "7")) () ")")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    uVar2 = FUN_00177640(param_1);\n    if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }\n  }" ({ "{") (expression_statement "uVar2 = FUN_00177640(param_1);" (assignment_expression "uVar2 = FUN_00177640(param_1)" (identifier "uVar2") (= "=") (call_expression "FUN_00177640(param_1)" (identifier "FUN_00177640") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((int)uVar2 != param_2) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }" (if "if") (parenthesized_expression "((int)uVar2 != param_2)" (( "(") (binary_expression "(int)uVar2 != param_2" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  );" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  )" (identifier "FUN_00069d00") (argument_list "("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)\n                  )" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x20e") (, ",") (string_literal ""set_output_section"" (" """) (string_content "set_output_section") (" """)) (, ",") (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x20")) () ")"))) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" (else "else") (compound_statement "{\n    if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }\n    *(undefined1 *)(param_1 + 0xc) = 0;\n    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;\n    *(int *)(param_1 + 8) = param_2;\n  }" ({ "{") (if_statement "if ((bVar1 & 7) != 3) {\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }" (if "if") (parenthesized_expression "((bVar1 & 7) != 3)" (( "(") (binary_expression "(bVar1 & 7) != 3" (parenthesized_expression "(bVar1 & 7)" (( "(") (binary_expression "bVar1 & 7" (identifier "bVar1") (& "&") (number_literal "7")) () ")")) (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/symtab.cc",0x218,"set_output_section",bVar1)" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""set_output_section"" (" """) (string_content "set_output_section") (" """)) (, ",") (identifier "bVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1 + 0xc) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xc) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;" (assignment_expression "*(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1" (pointer_expression "*(byte *)(param_1 + 0x2a)" (* "*") (cast_expression "(byte *)(param_1 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2a)" (( "(") (binary_expression "param_1 + 0x2a" (identifier "param_1") (+ "+") (number_literal "0x2a")) () ")")))) (= "=") (binary_expression "bVar1 & 0xf8 | 1" (binary_expression "bVar1 & 0xf8" (identifier "bVar1") (& "&") (number_literal "0xf8")) (| "|") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 8) = param_2;" (assignment_expression "*(int *)(param_1 + 8) = param_2" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_output_section(Symbol * this, Output_section * os) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *var_4)

{
  type_2 *var_3;
  type_3 var_1;
  
  var_1 = this->field_0x2a & 7;
  if (var_1 < 2) {
    var_3 = var_2(this);
    if (var_3 != var_4) {
                    /* WARNING: Subroutine does not return */
      var_5("../../gold/symtab.cc",0x20e,"set_output_section");
    }
  }
  else {
    if (var_1 != 3) {
                    /* WARNING: Subroutine does not return */
      var_5("../../gold/symtab.cc",0x218,"set_output_section");
    }
    (this->u2_).offset_is_from_end = false;
    this->field_0x2a = this->field_0x2a & 0xf8 | 1;
    (this->u1_).object = (type_4 *)var_4;
  }
  return;
}


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

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

void MASKED(int param_1,int param_2)

{
  byte bVar1;
  undefined8 uVar2;
  
  bVar1 = *(byte *)(param_1 + 0x2a);
  if ((bVar1 & 7) < 2) {
    uVar2 = FUN_00177640(param_1);
    if ((int)uVar2 != param_2) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/symtab.cc",0x20e,"set_output_section",(int)((ulonglong)uVar2 >> 0x20)
                  );
    }
  }
  else {
    if ((bVar1 & 7) != 3) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/symtab.cc",0x218,"set_output_section",bVar1);
    }
    *(undefined1 *)(param_1 + 0xc) = 0;
    *(byte *)(param_1 + 0x2a) = bVar1 & 0xf8 | 1;
    *(int *)(param_1 + 8) = param_2;
  }
  return;
}

