
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void data_segment_relro_end(Script_sections * this) */

void __thiscall gold::Script_sections::data_segment_relro_end(Script_sections *this)

{
  char cVar1;
  char *pcVar2;
  _List_node_base *p_Var3;
  
  if (this->saw_relro_end_ == false) {
    cVar1 = this->saw_data_segment_align_;
    this->saw_relro_end_ = true;
  }
  else {
    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");
    gold_error(pcVar2);
    cVar1 = this->saw_data_segment_align_;
    this->saw_relro_end_ = true;
  }
  if (cVar1 != '\0') {
    p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;
    if (p_Var3 != (_List_node_base *)this->sections_elements_) {
      do {
        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);
        p_Var3 = p_Var3->_M_next;
      } while ((_List_node_base *)this->sections_elements_ != p_Var3);
    }
    return;
  }
  pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");
  gold_error(pcVar2);
  return;
}



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

void FUN_0015c4d0(int param_1)

{
  char cVar1;
  undefined4 uVar2;
  int *piVar3;
  
  if (*(char *)(param_1 + 0x1d) == '\0') {
    cVar1 = *(char *)(param_1 + 0x1c);
    *(undefined1 *)(param_1 + 0x1d) = 1;
  }
  else {
    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");
    FUN_000654b0(uVar2);
    cVar1 = *(char *)(param_1 + 0x1c);
    *(undefined1 *)(param_1 + 0x1d) = 1;
  }
  if (cVar1 != '\0') {
    piVar3 = (int *)**(int **)(param_1 + 0x18);
    if (piVar3 != *(int **)(param_1 + 4)) {
      do {
        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);
        piVar3 = (int *)*piVar3;
      } while ((int *)*(int *)(param_1 + 4) != piVar3);
    }
    return;
  }
  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");
  FUN_000654b0(uVar2);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x232b29
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CMP byte ptr [ESI + 0x1d],0x0
JNZ 0x0015c520
CMP byte ptr [ESI + 0x1c],0x0
MOV byte ptr [ESI + 0x1d],0x1
JZ 0x0015c544
MOV EAX,dword ptr [ESI + 0x18]
MOV EBX,dword ptr [EAX]
CMP EBX,dword ptr [ESI + 0x4]
JZ 0x0015c516
NOP
MOV EAX,dword ptr [EBX + 0x8]
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0xc]
MOV EBX,dword ptr [EBX]
ADD ESP,0x10
CMP dword ptr [ESI + 0x4],EBX
JNZ 0x0015c500
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfff0837c]
PUSH EAX
CALL 0x000293b0
MOV dword ptr [ESP],EAX
CALL 0x000654b0
ADD ESP,0x10
CMP byte ptr [ESI + 0x1c],0x0
MOV byte ptr [ESI + 0x1d],0x1
JNZ 0x0015c4f4
SUB ESP,0xc
LEA EAX,[EBX + 0xfff083bc]
PUSH EAX
CALL 0x000293b0
MOV dword ptr [ESP],EAX
CALL 0x000654b0
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0015c4d0(int param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}\n\n" comment (function_definition "void FUN_0015c4d0(int param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_0015c4d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x1d) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1d)" * (cast_expression "(char *)(param_1 + 0x1d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" { (expression_statement "cVar1 = *(char *)(param_1 + 0x1c);" (assignment_expression "cVar1 = *(char *)(param_1 + 0x1c)" identifier = (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" else (compound_statement "{\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" { (expression_statement "uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");" (assignment_expression "uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" identifier = (call_expression "gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" identifier (argument_list "("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" ( (string_literal ""DATA_SEGMENT_RELRO_END may only appear once in a linker script"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar2);" (call_expression "FUN_000654b0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "cVar1 = *(char *)(param_1 + 0x1c);" (assignment_expression "cVar1 = *(char *)(param_1 + 0x1c)" identifier = (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = number_literal) ;) }))) (if_statement "if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }" { (expression_statement "piVar3 = (int *)**(int **)(param_1 + 0x18);" (assignment_expression "piVar3 = (int *)**(int **)(param_1 + 0x18)" identifier = (cast_expression "(int *)**(int **)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_1 + 0x18)" * (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))))) ;) (if_statement "if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }" if (parenthesized_expression "(piVar3 != *(int **)(param_1 + 4))" ( (binary_expression "piVar3 != *(int **)(param_1 + 4)" identifier != (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }" { (do_statement "do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);" do (compound_statement "{\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      }" { (expression_statement "(**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);" (call_expression "(**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2])" (parenthesized_expression "(**(code **)(*(int *)piVar3[2] + 0xc))" ( (pointer_expression "**(code **)(*(int *)piVar3[2] + 0xc)" * (pointer_expression "*(code **)(*(int *)piVar3[2] + 0xc)" * (cast_expression "(code **)(*(int *)piVar3[2] + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)piVar3[2] + 0xc)" ( (binary_expression "*(int *)piVar3[2] + 0xc" (pointer_expression "*(int *)piVar3[2]" * (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)piVar3[2])" ( (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) ))) ;) (expression_statement "piVar3 = (int *)*piVar3;" (assignment_expression "piVar3 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }) while (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar3)" ( (binary_expression "(int *)*(int *)(param_1 + 4) != piVar3" (cast_expression "(int *)*(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) != identifier) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");" (assignment_expression "uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" identifier = (call_expression "gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" identifier (argument_list "("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" ( (string_literal ""DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar2);" (call_expression "FUN_000654b0(uVar2)" identifier (argument_list "(uVar2)" ( 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 data_segment_relro_end(Script_sections * this) */\n\nvoid __thiscall gold::Script_sections::data_segment_relro_end(Script_sections *this)\n\n{\n  char cVar1;\n  char *pcVar2;\n  _List_node_base *p_Var3;\n  \n  if (this->saw_relro_end_ == false) {\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  else {\n    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    gold_error(pcVar2);\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  if (cVar1 != '\0') {\n    p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;\n    if (p_Var3 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }\n    return;\n  }\n  pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  gold_error(pcVar2);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Script_sections::data_segment_relro_end(Script_sections *this)\n\n{\n  char cVar1;\n  char *pcVar2;\n  _List_node_base *p_Var3;\n  \n  if (this->saw_relro_end_ == false) {\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  else {\n    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    gold_error(pcVar2);\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  if (cVar1 != '\0') {\n    p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;\n    if (p_Var3 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }\n    return;\n  }\n  pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  gold_error(pcVar2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "data_segment_relro_end(Script_sections *this)" identifier (parameter_list "(Script_sections *this)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  _List_node_base *p_Var3;\n  \n  if (this->saw_relro_end_ == false) {\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  else {\n    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    gold_error(pcVar2);\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  if (cVar1 != '\0') {\n    p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;\n    if (p_Var3 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }\n    return;\n  }\n  pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  gold_error(pcVar2);\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "_List_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (if_statement "if (this->saw_relro_end_ == false) {\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }\n  else {\n    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    gold_error(pcVar2);\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }" if (parenthesized_expression "(this->saw_relro_end_ == false)" ( (binary_expression "this->saw_relro_end_ == false" (field_expression "this->saw_relro_end_" identifier -> field_identifier) == false) )) (compound_statement "{\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }" { (expression_statement "cVar1 = this->saw_data_segment_align_;" (assignment_expression "cVar1 = this->saw_data_segment_align_" identifier = (field_expression "this->saw_data_segment_align_" identifier -> field_identifier)) ;) (expression_statement "this->saw_relro_end_ = true;" (assignment_expression "this->saw_relro_end_ = true" (field_expression "this->saw_relro_end_" identifier -> field_identifier) = true) ;) }) (else_clause "else {\n    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    gold_error(pcVar2);\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }" else (compound_statement "{\n    pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    gold_error(pcVar2);\n    cVar1 = this->saw_data_segment_align_;\n    this->saw_relro_end_ = true;\n  }" { (expression_statement "pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");" (assignment_expression "pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" identifier = (cast_expression "(char *)gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" identifier (argument_list "("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" ( (string_literal ""DATA_SEGMENT_RELRO_END may only appear once in a linker script"" " string_content ") ))))) ;) (expression_statement "gold_error(pcVar2);" (call_expression "gold_error(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "cVar1 = this->saw_data_segment_align_;" (assignment_expression "cVar1 = this->saw_data_segment_align_" identifier = (field_expression "this->saw_data_segment_align_" identifier -> field_identifier)) ;) (expression_statement "this->saw_relro_end_ = true;" (assignment_expression "this->saw_relro_end_ = true" (field_expression "this->saw_relro_end_" identifier -> field_identifier) = true) ;) }))) (if_statement "if (cVar1 != '\0') {\n    p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;\n    if (p_Var3 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }\n    return;\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;\n    if (p_Var3 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }\n    return;\n  }" { (expression_statement "p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next;" (assignment_expression "p_Var3 = ((this->data_segment_align_start_)._M_node)->_M_next" identifier = (field_expression "((this->data_segment_align_start_)._M_node)->_M_next" (parenthesized_expression "((this->data_segment_align_start_)._M_node)" ( (field_expression "(this->data_segment_align_start_)._M_node" (parenthesized_expression "(this->data_segment_align_start_)" ( (field_expression "this->data_segment_align_start_" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) (if_statement "if (p_Var3 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }" if (parenthesized_expression "(p_Var3 != (_List_node_base *)this->sections_elements_)" ( (binary_expression "p_Var3 != (_List_node_base *)this->sections_elements_" identifier != (cast_expression "(_List_node_base *)this->sections_elements_" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->sections_elements_" identifier -> field_identifier))) )) (compound_statement "{\n      do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);\n    }" { (do_statement "do {\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var3);" do (compound_statement "{\n        (*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);\n        p_Var3 = p_Var3->_M_next;\n      }" { (expression_statement "(*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next);" (call_expression "(*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)(p_Var3[1]._M_next)" (parenthesized_expression "(*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev)" ( (pointer_expression "*(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev" * (cast_expression "(code *)(p_Var3[1]._M_next)->_M_next[1]._M_prev" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(p_Var3[1]._M_next)->_M_next[1]._M_prev" (subscript_expression "(p_Var3[1]._M_next)->_M_next[1]" (field_expression "(p_Var3[1]._M_next)->_M_next" (parenthesized_expression "(p_Var3[1]._M_next)" ( (field_expression "p_Var3[1]._M_next" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier) [ number_literal ]) . field_identifier))) )) (argument_list "(p_Var3[1]._M_next)" ( (field_expression "p_Var3[1]._M_next" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "p_Var3 = p_Var3->_M_next;" (assignment_expression "p_Var3 = p_Var3->_M_next" identifier = (field_expression "p_Var3->_M_next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "((_List_node_base *)this->sections_elements_ != p_Var3)" ( (binary_expression "(_List_node_base *)this->sections_elements_ != p_Var3" (cast_expression "(_List_node_base *)this->sections_elements_" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->sections_elements_" identifier -> field_identifier)) != identifier) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");" (assignment_expression "pcVar2 = (char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" identifier = (cast_expression "(char *)gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" identifier (argument_list "("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" ( (string_literal ""DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN"" " string_content ") ))))) ;) (expression_statement "gold_error(pcVar2);" (call_expression "gold_error(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0015c4d0(int param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}\n\n" (function_definition "void FUN_0015c4d0(int param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_0015c4d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x1d) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1d)" * (cast_expression "(char *)(param_1 + 0x1d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" { (expression_statement "cVar1 = *(char *)(param_1 + 0x1c);" (assignment_expression "cVar1 = *(char *)(param_1 + 0x1c)" identifier = (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" else (compound_statement "{\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" { (expression_statement "uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");" (assignment_expression "uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" identifier = (call_expression "gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" identifier (argument_list "("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" ( (string_literal ""DATA_SEGMENT_RELRO_END may only appear once in a linker script"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar2);" (call_expression "FUN_000654b0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "cVar1 = *(char *)(param_1 + 0x1c);" (assignment_expression "cVar1 = *(char *)(param_1 + 0x1c)" identifier = (pointer_expression "*(char *)(param_1 + 0x1c)" * (cast_expression "(char *)(param_1 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = number_literal) ;) }))) (if_statement "if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }" { (expression_statement "piVar3 = (int *)**(int **)(param_1 + 0x18);" (assignment_expression "piVar3 = (int *)**(int **)(param_1 + 0x18)" identifier = (cast_expression "(int *)**(int **)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_1 + 0x18)" * (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))))) ;) (if_statement "if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }" if (parenthesized_expression "(piVar3 != *(int **)(param_1 + 4))" ( (binary_expression "piVar3 != *(int **)(param_1 + 4)" identifier != (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }" { (do_statement "do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);" do (compound_statement "{\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      }" { (expression_statement "(**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);" (call_expression "(**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2])" (parenthesized_expression "(**(code **)(*(int *)piVar3[2] + 0xc))" ( (pointer_expression "**(code **)(*(int *)piVar3[2] + 0xc)" * (pointer_expression "*(code **)(*(int *)piVar3[2] + 0xc)" * (cast_expression "(code **)(*(int *)piVar3[2] + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)piVar3[2] + 0xc)" ( (binary_expression "*(int *)piVar3[2] + 0xc" (pointer_expression "*(int *)piVar3[2]" * (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)piVar3[2])" ( (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) ))) ;) (expression_statement "piVar3 = (int *)*piVar3;" (assignment_expression "piVar3 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) }) while (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar3)" ( (binary_expression "(int *)*(int *)(param_1 + 4) != piVar3" (cast_expression "(int *)*(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) != identifier) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");" (assignment_expression "uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" identifier = (call_expression "gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" identifier (argument_list "("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" ( (string_literal ""DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar2);" (call_expression "FUN_000654b0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != IDENT) )) ;) })) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0015c4d0(int param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0015c4d0(int param_1)" (identifier "FUN_0015c4d0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  \n  if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }\n  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");\n  FUN_000654b0(uVar2);\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (if_statement "if (*(char *)(param_1 + 0x1d) == '\0') {\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }\n  else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x1d) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x1d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1d)" (* "*") (cast_expression "(char *)(param_1 + 0x1d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" ({ "{") (expression_statement "cVar1 = *(char *)(param_1 + 0x1c);" (assignment_expression "cVar1 = *(char *)(param_1 + 0x1c)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + 0x1c)" (* "*") (cast_expression "(char *)(param_1 + 0x1c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1d)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" (else "else") (compound_statement "{\n    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");\n    FUN_000654b0(uVar2);\n    cVar1 = *(char *)(param_1 + 0x1c);\n    *(undefined1 *)(param_1 + 0x1d) = 1;\n  }" ({ "{") (expression_statement "uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");" (assignment_expression "uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" (identifier "uVar2") (= "=") (call_expression "gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" (identifier "gettext") (argument_list "("DATA_SEGMENT_RELRO_END may only appear once in a linker script")" (( "(") (string_literal ""DATA_SEGMENT_RELRO_END may only appear once in a linker script"" (" """) (string_content "DATA_SEGMENT_RELRO_END may only appear once in a linker script") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654b0(uVar2);" (call_expression "FUN_000654b0(uVar2)" (identifier "FUN_000654b0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "cVar1 = *(char *)(param_1 + 0x1c);" (assignment_expression "cVar1 = *(char *)(param_1 + 0x1c)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + 0x1c)" (* "*") (cast_expression "(char *)(param_1 + 0x1c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1d)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if (cVar1 != '\0') {\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar3 = (int *)**(int **)(param_1 + 0x18);\n    if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }\n    return;\n  }" ({ "{") (expression_statement "piVar3 = (int *)**(int **)(param_1 + 0x18);" (assignment_expression "piVar3 = (int *)**(int **)(param_1 + 0x18)" (identifier "piVar3") (= "=") (cast_expression "(int *)**(int **)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(param_1 + 0x18)" (* "*") (pointer_expression "*(int **)(param_1 + 0x18)" (* "*") (cast_expression "(int **)(param_1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))))) (; ";")) (if_statement "if (piVar3 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }" (if "if") (parenthesized_expression "(piVar3 != *(int **)(param_1 + 4))" (( "(") (binary_expression "piVar3 != *(int **)(param_1 + 4)" (identifier "piVar3") (!= "!=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n      do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);\n    }" ({ "{") (do_statement "do {\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      } while ((int *)*(int *)(param_1 + 4) != piVar3);" (do "do") (compound_statement "{\n        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);\n        piVar3 = (int *)*piVar3;\n      }" ({ "{") (expression_statement "(**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);" (call_expression "(**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2])" (parenthesized_expression "(**(code **)(*(int *)piVar3[2] + 0xc))" (( "(") (pointer_expression "**(code **)(*(int *)piVar3[2] + 0xc)" (* "*") (pointer_expression "*(code **)(*(int *)piVar3[2] + 0xc)" (* "*") (cast_expression "(code **)(*(int *)piVar3[2] + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)piVar3[2] + 0xc)" (( "(") (binary_expression "*(int *)piVar3[2] + 0xc" (pointer_expression "*(int *)piVar3[2]" (* "*") (cast_expression "(int *)piVar3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "((int *)piVar3[2])" (( "(") (cast_expression "(int *)piVar3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "piVar3 = (int *)*piVar3;" (assignment_expression "piVar3 = (int *)*piVar3" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar3)" (( "(") (binary_expression "(int *)*(int *)(param_1 + 4) != piVar3" (cast_expression "(int *)*(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");" (assignment_expression "uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" (identifier "uVar2") (= "=") (call_expression "gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" (identifier "gettext") (argument_list "("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN")" (( "(") (string_literal ""DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN"" (" """) (string_content "DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654b0(uVar2);" (call_expression "FUN_000654b0(uVar2)" (identifier "FUN_000654b0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void data_segment_relro_end(Script_sections * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  char var_3;
  char *pcVar2;
  type_2 *var_4;
  
  if (this->saw_relro_end_ == false) {
    var_3 = this->saw_data_segment_align_;
    this->saw_relro_end_ = true;
  }
  else {
    pcVar2 = (char *)var_1("DATA_SEGMENT_RELRO_END may only appear once in a linker script");
    var_2(pcVar2);
    var_3 = this->saw_data_segment_align_;
    this->saw_relro_end_ = true;
  }
  if (var_3 != '\0') {
    var_4 = ((this->data_segment_align_start_)._M_node)->_M_next;
    if (var_4 != (type_2 *)this->sections_elements_) {
      do {
        (*(type_3 *)(var_4[1]._M_next)->_M_next[1]._M_prev)(var_4[1]._M_next);
        var_4 = var_4->_M_next;
      } while ((type_2 *)this->sections_elements_ != var_4);
    }
    return;
  }
  pcVar2 = (char *)var_1("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");
  var_2(pcVar2);
  return;
}


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

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

void MASKED(int param_1)

{
  char cVar1;
  undefined4 uVar2;
  int *piVar3;
  
  if (*(char *)(param_1 + 0x1d) == '\0') {
    cVar1 = *(char *)(param_1 + 0x1c);
    *(undefined1 *)(param_1 + 0x1d) = 1;
  }
  else {
    uVar2 = gettext("DATA_SEGMENT_RELRO_END may only appear once in a linker script");
    FUN_000654b0(uVar2);
    cVar1 = *(char *)(param_1 + 0x1c);
    *(undefined1 *)(param_1 + 0x1d) = 1;
  }
  if (cVar1 != '\0') {
    piVar3 = (int *)**(int **)(param_1 + 0x18);
    if (piVar3 != *(int **)(param_1 + 4)) {
      do {
        (**(code **)(*(int *)piVar3[2] + 0xc))((int *)piVar3[2]);
        piVar3 = (int *)*piVar3;
      } while ((int *)*(int *)(param_1 + 4) != piVar3);
    }
    return;
  }
  uVar2 = gettext("DATA_SEGMENT_RELRO_END must follow DATA_SEGMENT_ALIGN");
  FUN_000654b0(uVar2);
  return;
}

