
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void layout_eh_frame_section(Sized_relobj_file<32,_true> * this, Layout
   * layout, uchar * symbols_data, section_size_type symbols_size, uchar * symbol_names_data,
   section_size_type symbol_names_size, uint shndx, Shdr * shdr, uint reloc_shndx, uint reloc_type)
    */

void __thiscall
gold::Sized_relobj_file<32,_true>::layout_eh_frame_section
          (Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,
          section_size_type symbols_size,uchar *symbol_names_data,
          section_size_type symbol_names_size,uint shndx,Shdr *shdr,uint reloc_shndx,uint reloc_type
          )

{
  Output_section *pOVar1;
  pointer puVar2;
  ulong uVar3;
  off_t offset;
  
  uVar3 = (ulong)shndx;
  if (this->has_eh_frame_ == false) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.cc",0x4ed,"layout_eh_frame_section");
  }
  pOVar1 = Layout::layout_eh_frame<32,_true>
                     (layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,
                      shndx,shdr,reloc_shndx,reloc_type,&offset);
  (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.
  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start
  [uVar3] = pOVar1;
  if (pOVar1 != (Output_section *)0x0) {
    puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.
             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +
             uVar3;
    if (offset == -1) {
      *puVar2 = (uint)offset;
      if (reloc_shndx != 0) {
        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;
        return;
      }
    }
    else {
      if (offset != (offset & 0xffffffffU)) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");
      }
      *puVar2 = (uint)offset;
    }
    return;
  }
  (this->super_Sized_relobj<32,_true>).section_offsets_.
  super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[uVar3] =
       0xffffffff;
  return;
}



void FUN_001c2f20(long param_1,undefined8 param_2)

{
  long lVar1;
  undefined4 *puVar2;
  ulong uVar3;
  uint in_stack_00000008;
  int in_stack_00000018;
  ulong local_20;
  
  uVar3 = (ulong)in_stack_00000008;
  if (*(char *)(param_1 + 0x1e0) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");
  }
  lVar1 = FUN_001b6fc0(param_2,param_1);
  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;
  if (lVar1 != 0) {
    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));
    if (local_20 == 0xffffffffffffffff) {
      *puVar2 = (int)local_20;
      if (in_stack_00000018 != 0) {
        *(undefined1 *)(param_1 + 0x78) = 1;
        return;
      }
    }
    else {
      if (local_20 != (local_20 & 0xffffffff)) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");
      }
      *puVar2 = (int)local_20;
    }
    return;
  }
  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;
  return;
}


PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x10
CMP byte ptr [RDI + 0x1e0],0x0
MOV EBX,dword ptr [RSP + 0x30]
MOV R12D,dword ptr [RSP + 0x40]
JZ 0x001c2fd7
SUB RSP,0x8
MOV RDI,RSI
MOV RSI,RBP
LEA RAX,[RSP + 0x10]
PUSH RAX
MOV EAX,dword ptr [RSP + 0x58]
PUSH RAX
PUSH R12
PUSH qword ptr [RSP + 0x58]
PUSH RBX
CALL 0x001b6fc0
MOV RCX,qword ptr [RBP + 0x50]
MOV EDX,EBX
ADD RSP,0x30
MOV qword ptr [RCX + RDX*0x8],RAX
LEA RCX,[RDX*0x4]
TEST RAX,RAX
JZ 0x001c2fc0
MOV RAX,qword ptr [RSP + 0x8]
ADD RCX,qword ptr [RBP + 0xe0]
CMP RAX,-0x1
JZ 0x001c2fa8
MOV EDX,EAX
CMP RAX,RDX
JNZ 0x001c2fef
MOV dword ptr [RCX],EAX
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
MOV dword ptr [RCX],EAX
TEST R12D,R12D
JZ 0x001c2f98
MOV byte ptr [RBP + 0x78],0x1
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
MOV RAX,qword ptr [RBP + 0xe0]
MOV dword ptr [RAX + RDX*0x4],0xffffffff
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
LEA RDX,[0x378ed0]
MOV ESI,0x4ed
LEA RDI,[0x377f68]
CALL 0x0017c650
LEA RDX,[0x379288]
MOV ESI,0xc0
LEA RDI,[0x3734af]
CALL 0x0017c650
(translation_unit "void FUN_001c2f20(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_001c2f20(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_001c2f20(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "uint in_stack_00000008;" type_identifier identifier ;) (declaration "int in_stack_00000018;" primitive_type identifier ;) (declaration "ulong local_20;" type_identifier identifier ;) (expression_statement "uVar3 = (ulong)in_stack_00000008;" (assignment_expression "uVar3 = (ulong)in_stack_00000008" identifier = (cast_expression "(ulong)in_stack_00000008" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x1e0) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1e0) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1e0)" * (cast_expression "(char *)(param_1 + 0x1e0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e0)" ( (binary_expression "param_1 + 0x1e0" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");" (call_expression "FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" identifier (argument_list "("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""layout_eh_frame_section"" " string_content ") ))) ;) })) (expression_statement "lVar1 = FUN_001b6fc0(param_2,param_1);" (assignment_expression "lVar1 = FUN_001b6fc0(param_2,param_1)" identifier = (call_expression "FUN_001b6fc0(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;" (assignment_expression "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + uVar3 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + uVar3 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) = identifier) ;) (if_statement "if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }" { (expression_statement "puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));" (assignment_expression "puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0))" identifier = (cast_expression "(undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 * 4 + *(long *)(param_1 + 0xe0))" ( (binary_expression "uVar3 * 4 + *(long *)(param_1 + 0xe0)" (binary_expression "uVar3 * 4" identifier * number_literal) + (pointer_expression "*(long *)(param_1 + 0xe0)" * (cast_expression "(long *)(param_1 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) ))))) )))) ;) (if_statement "if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" if (parenthesized_expression "(local_20 == 0xffffffffffffffff)" ( (binary_expression "local_20 == 0xffffffffffffffff" identifier == number_literal) )) (compound_statement "{\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }" { (expression_statement "*puVar2 = (int)local_20;" (assignment_expression "*puVar2 = (int)local_20" (pointer_expression "*puVar2" * identifier) = (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }" if (parenthesized_expression "(in_stack_00000018 != 0)" ( (binary_expression "in_stack_00000018 != 0" identifier != number_literal) )) (compound_statement "{\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }" { (expression_statement "*(undefined1 *)(param_1 + 0x78) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x78) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x78)" * (cast_expression "(undefined1 *)(param_1 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" else (compound_statement "{\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" { (if_statement "if (local_20 != (local_20 & 0xffffffff)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }" if (parenthesized_expression "(local_20 != (local_20 & 0xffffffff))" ( (binary_expression "local_20 != (local_20 & 0xffffffff)" identifier != (parenthesized_expression "(local_20 & 0xffffffff)" ( (binary_expression "local_20 & 0xffffffff" identifier & number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }" { comment (expression_statement "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");" (call_expression "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })) (expression_statement "*puVar2 = (int)local_20;" (assignment_expression "*puVar2 = (int)local_20" (pointer_expression "*puVar2" * identifier) = (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4)" * (cast_expression "(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xe0) + uVar3 * 4)" ( (binary_expression "*(long *)(param_1 + 0xe0) + uVar3 * 4" (pointer_expression "*(long *)(param_1 + 0xe0)" * (cast_expression "(long *)(param_1 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void layout_eh_frame_section(Sized_relobj_file<32,_true> * this, Layout\n   * layout, uchar * symbols_data, section_size_type symbols_size, uchar * symbol_names_data,\n   section_size_type symbol_names_size, uint shndx, Shdr * shdr, uint reloc_shndx, uint reloc_type)\n    */\n\nvoid __thiscall\ngold::Sized_relobj_file<32,_true>::layout_eh_frame_section\n          (Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,\n          section_size_type symbols_size,uchar *symbol_names_data,\n          section_size_type symbol_names_size,uint shndx,Shdr *shdr,uint reloc_shndx,uint reloc_type\n          )\n\n{\n  Output_section *pOVar1;\n  pointer puVar2;\n  ulong uVar3;\n  off_t offset;\n  \n  uVar3 = (ulong)shndx;\n  if (this->has_eh_frame_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  pOVar1 = Layout::layout_eh_frame<32,_true>\n                     (layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset);\n  (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [uVar3] = pOVar1;\n  if (pOVar1 != (Output_section *)0x0) {\n    puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar3;\n    if (offset == -1) {\n      *puVar2 = (uint)offset;\n      if (reloc_shndx != 0) {\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }\n    }\n    else {\n      if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (uint)offset;\n    }\n    return;\n  }\n  (this->super_Sized_relobj<32,_true>).section_offsets_.\n  super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[uVar3] =\n       0xffffffff;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\ngold::Sized_relobj_file<32,_true>::layout_eh_frame_section\n          (Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,\n          section_size_type symbols_size,uchar *symbol_names_data,\n          section_size_type symbol_names_size,uint shndx,Shdr *shdr,uint reloc_shndx,uint reloc_type\n          )\n\n{\n  Output_section *pOVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::layout_eh_frame_section\n          (Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,\n          section_size_type symbols_size,uchar *symbol_names_data,\n          section_size_type symbol_names_size,uint shndx,Shdr *shdr,uint reloc_shndx,uint reloc_type\n          )\n\n{\n  Output_section" identifier > : : (function_declarator "layout_eh_frame_section\n          (Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,\n          section_size_type symbols_size,uchar *symbol_names_data,\n          section_size_type symbol_names_size,uint shndx,Shdr *shdr,uint reloc_shndx,uint reloc_type\n          )" identifier (parameter_list "(Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,\n          section_size_type symbols_size,uchar *symbol_names_data,\n          section_size_type symbol_names_size,uint shndx,Shdr *shdr,uint reloc_shndx,uint reloc_type\n          )" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "uchar *symbols_data" type_identifier (pointer_declarator "*symbols_data" * identifier)) , (parameter_declaration "section_size_type symbols_size" type_identifier identifier) , (parameter_declaration "uchar *symbol_names_data" type_identifier (pointer_declarator "*symbol_names_data" * identifier)) , (parameter_declaration "section_size_type symbol_names_size" type_identifier identifier) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "Shdr *shdr" type_identifier (pointer_declarator "*shdr" * identifier)) , (parameter_declaration "uint reloc_shndx" type_identifier identifier) , (parameter_declaration "uint reloc_type" type_identifier identifier) ))) { identifier) (pointer_declarator "*pOVar1" * identifier) ;) (declaration "pointer puVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "off_t offset;" type_identifier identifier ;) (expression_statement "uVar3 = (ulong)shndx;" (assignment_expression "uVar3 = (ulong)shndx" identifier = (cast_expression "(ulong)shndx" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (this->has_eh_frame_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" if (parenthesized_expression "(this->has_eh_frame_ == false)" ( (binary_expression "this->has_eh_frame_ == false" (field_expression "this->has_eh_frame_" identifier -> field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x4ed,"layout_eh_frame_section");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" identifier (argument_list "("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""layout_eh_frame_section"" " string_content ") ))) ;) })) (ERROR "pOVar1 = Layout::layout_eh_frame<32,_true>\n                     (layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset)" (assignment_expression "pOVar1 = Layout" identifier = identifier) : : (binary_expression "layout_eh_frame<32" identifier < number_literal) , (binary_expression "_true>\n                     (layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset)" identifier > (parenthesized_expression "(layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset)" ( (comma_expression "layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "symbols_data,symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "symbols_size,symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "symbol_names_data,symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "symbol_names_size,\n                      shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "shndx,shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "shdr,reloc_shndx,reloc_type,&offset" identifier , (comma_expression "reloc_shndx,reloc_type,&offset" identifier , (comma_expression "reloc_type,&offset" identifier , (pointer_expression "&offset" & identifier))))))))))) )))) (expression_statement ";" ;) (expression_statement "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [uVar3] = pOVar1;" (assignment_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [uVar3] = pOVar1" (subscript_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start\n  [uVar3]" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl._M_start" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base<gold" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n  super__Vector_base" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_true>)" ( (comma_expression "this->super_Sized_relobj<32,_true" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) = identifier) ;) (if_statement "if (pOVar1 != (Output_section *)0x0) {\n    puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar3;\n    if (offset == -1) {\n      *puVar2 = (uint)offset;\n      if (reloc_shndx != 0) {\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }\n    }\n    else {\n      if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (uint)offset;\n    }\n    return;\n  }" if (parenthesized_expression "(pOVar1 != (Output_section *)0x0)" ( (binary_expression "pOVar1 != (Output_section *)0x0" identifier != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start +\n             uVar3;\n    if (offset == -1) {\n      *puVar2 = (uint)offset;\n      if (reloc_shndx != 0) {\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }\n    }\n    else {\n      if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (uint)offset;\n    }\n    return;\n  }" { (ERROR "puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int,_std::" (comma_expression "puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int,_std" (assignment_expression "puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int" identifier = (binary_expression "(this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base<unsigned_int" (field_expression "(this->super_Sized_relobj<32,_true>).section_offsets_.\n             super__Vector_base" (field_expression "(this->super_Sized_relobj<32,_true>).section_offsets_" (parenthesized_expression "(this->super_Sized_relobj<32,_true>)" ( (comma_expression "this->super_Sized_relobj<32,_true" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) < identifier)) , identifier) : :) (expression_statement "allocator<unsigned_int>_>._M_impl._M_start +\n             uVar3;" (binary_expression "allocator<unsigned_int>_>._M_impl._M_start +\n             uVar3" (field_expression "allocator<unsigned_int>_>._M_impl._M_start" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) + identifier) ;) (if_statement "if (offset == -1) {\n      *puVar2 = (uint)offset;\n      if (reloc_shndx != 0) {\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }\n    }\n    else {\n      if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (uint)offset;\n    }" if (parenthesized_expression "(offset == -1)" ( (binary_expression "offset == -1" identifier == number_literal) )) (compound_statement "{\n      *puVar2 = (uint)offset;\n      if (reloc_shndx != 0) {\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }\n    }" { (expression_statement "*puVar2 = (uint)offset;" (assignment_expression "*puVar2 = (uint)offset" (pointer_expression "*puVar2" * identifier) = (cast_expression "(uint)offset" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (reloc_shndx != 0) {\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }" if (parenthesized_expression "(reloc_shndx != 0)" ( (binary_expression "reloc_shndx != 0" identifier != number_literal) )) (compound_statement "{\n        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;\n        return;\n      }" { (expression_statement "(this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;" (assignment_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_true>)" ( (comma_expression "this->super_Sized_relobj<32,_true" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) = true) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n      if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (uint)offset;\n    }" else (compound_statement "{\n      if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (uint)offset;\n    }" { (if_statement "if (offset != (offset & 0xffffffffU)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }" if (parenthesized_expression "(offset != (offset & 0xffffffffU))" ( (binary_expression "offset != (offset & 0xffffffffU)" identifier != (parenthesized_expression "(offset & 0xffffffffU)" ( (binary_expression "offset & 0xffffffffU" identifier & number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");" (call_expression "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })) (expression_statement "*puVar2 = (uint)offset;" (assignment_expression "*puVar2 = (uint)offset" (pointer_expression "*puVar2" * identifier) = (cast_expression "(uint)offset" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (return_statement "return;" return ;) })) (expression_statement "(this->super_Sized_relobj<32,_true>).section_offsets_.\n  super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[uVar3] =\n       0xffffffff;" (parenthesized_expression "(this->super_Sized_relobj<32,_true>).section_offsets_.\n  super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start[uVar3] =\n       0xffffffff" ( (ERROR "this->super_Sized_relobj<32,_true>).section_offsets_.\n  super__Vector_base<unsigned_int,_std::" (comma_expression "this->super_Sized_relobj<32,_true>).section_offsets_.\n  super__Vector_base<unsigned_int,_std" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , (comma_expression "_true>).section_offsets_.\n  super__Vector_base<unsigned_int,_std" (binary_expression "_true>).section_offsets_.\n  super__Vector_base<unsigned_int" (field_expression "_true>).section_offsets_.\n  super__Vector_base" (field_expression "_true>).section_offsets_" identifier (ERROR ">)" > )) . field_identifier) . field_identifier) < identifier) , identifier)) : :) (assignment_expression "allocator<unsigned_int>_>._M_impl._M_start[uVar3] =\n       0xffffffff" (subscript_expression "allocator<unsigned_int>_>._M_impl._M_start[uVar3]" (field_expression "allocator<unsigned_int>_>._M_impl._M_start" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) = number_literal) )) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001c2f20(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_001c2f20(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_001c2f20(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "uint in_stack_00000008;" type_identifier identifier ;) (declaration "int in_stack_00000018;" primitive_type identifier ;) (declaration "ulong local_20;" type_identifier identifier ;) (expression_statement "uVar3 = (ulong)in_stack_00000008;" (assignment_expression "uVar3 = (ulong)in_stack_00000008" identifier = (cast_expression "(ulong)in_stack_00000008" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x1e0) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1e0) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1e0)" * (cast_expression "(char *)(param_1 + 0x1e0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e0)" ( (binary_expression "param_1 + 0x1e0" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");" (call_expression "FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" identifier (argument_list "("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""layout_eh_frame_section"" " string_content ") ))) ;) })) (expression_statement "lVar1 = FUN_001b6fc0(param_2,param_1);" (assignment_expression "lVar1 = FUN_001b6fc0(param_2,param_1)" identifier = (call_expression "FUN_001b6fc0(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;" (assignment_expression "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + uVar3 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + uVar3 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) = identifier) ;) (if_statement "if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }" { (expression_statement "puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));" (assignment_expression "puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0))" identifier = (cast_expression "(undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 * 4 + *(long *)(param_1 + 0xe0))" ( (binary_expression "uVar3 * 4 + *(long *)(param_1 + 0xe0)" (binary_expression "uVar3 * 4" identifier * number_literal) + (pointer_expression "*(long *)(param_1 + 0xe0)" * (cast_expression "(long *)(param_1 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) ))))) )))) ;) (if_statement "if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" if (parenthesized_expression "(local_20 == 0xffffffffffffffff)" ( (binary_expression "local_20 == 0xffffffffffffffff" identifier == number_literal) )) (compound_statement "{\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }" { (expression_statement "*puVar2 = (int)local_20;" (assignment_expression "*puVar2 = (int)local_20" (pointer_expression "*puVar2" * identifier) = (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }" if (parenthesized_expression "(in_stack_00000018 != 0)" ( (binary_expression "in_stack_00000018 != 0" identifier != number_literal) )) (compound_statement "{\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }" { (expression_statement "*(undefined1 *)(param_1 + 0x78) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x78) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x78)" * (cast_expression "(undefined1 *)(param_1 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" else (compound_statement "{\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" { (if_statement "if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }" if (parenthesized_expression "(local_20 != (local_20 & 0xffffffff))" ( (binary_expression "local_20 != (local_20 & 0xffffffff)" identifier != (parenthesized_expression "(local_20 & 0xffffffff)" ( (binary_expression "local_20 & 0xffffffff" identifier & number_literal) ))) )) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }" { (expression_statement "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");" (call_expression "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })) (expression_statement "*puVar2 = (int)local_20;" (assignment_expression "*puVar2 = (int)local_20" (pointer_expression "*puVar2" * identifier) = (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4)" * (cast_expression "(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xe0) + uVar3 * 4)" ( (binary_expression "*(long *)(param_1 + 0xe0) + uVar3 * 4" (pointer_expression "*(long *)(param_1 + 0xe0)" * (cast_expression "(long *)(param_1 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) 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 (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_001c2f20(long param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001c2f20(long param_1,undefined8 param_2)" (identifier "FUN_001c2f20") (parameter_list "(long param_1,undefined8 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined4 *puVar2;\n  ulong uVar3;\n  uint in_stack_00000008;\n  int in_stack_00000018;\n  ulong local_20;\n  \n  uVar3 = (ulong)in_stack_00000008;\n  if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }\n  lVar1 = FUN_001b6fc0(param_2,param_1);\n  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;\n  if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }\n  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "uint in_stack_00000008;" (type_identifier "uint") (identifier "in_stack_00000008") (; ";")) (declaration "int in_stack_00000018;" (primitive_type "int") (identifier "in_stack_00000018") (; ";")) (declaration "ulong local_20;" (type_identifier "ulong") (identifier "local_20") (; ";")) (expression_statement "uVar3 = (ulong)in_stack_00000008;" (assignment_expression "uVar3 = (ulong)in_stack_00000008" (identifier "uVar3") (= "=") (cast_expression "(ulong)in_stack_00000008" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "in_stack_00000008"))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x1e0) == '\0') {\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x1e0) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x1e0) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1e0)" (* "*") (cast_expression "(char *)(param_1 + 0x1e0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1e0)" (( "(") (binary_expression "param_1 + 0x1e0" (identifier "param_1") (+ "+") (number_literal "0x1e0")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");" (call_expression "FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.cc",0x4ed,"layout_eh_frame_section")" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x4ed") (, ",") (string_literal ""layout_eh_frame_section"" (" """) (string_content "layout_eh_frame_section") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar1 = FUN_001b6fc0(param_2,param_1);" (assignment_expression "lVar1 = FUN_001b6fc0(param_2,param_1)" (identifier "lVar1") (= "=") (call_expression "FUN_001b6fc0(param_2,param_1)" (identifier "FUN_001b6fc0") (argument_list "(param_2,param_1)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;" (assignment_expression "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + uVar3 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + uVar3 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "lVar1")) (; ";")) (if_statement "if (lVar1 != 0) {\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));\n    if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }\n    return;\n  }" ({ "{") (expression_statement "puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));" (assignment_expression "puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0))" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 * 4 + *(long *)(param_1 + 0xe0))" (( "(") (binary_expression "uVar3 * 4 + *(long *)(param_1 + 0xe0)" (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4")) (+ "+") (pointer_expression "*(long *)(param_1 + 0xe0)" (* "*") (cast_expression "(long *)(param_1 + 0xe0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe0)" (( "(") (binary_expression "param_1 + 0xe0" (identifier "param_1") (+ "+") (number_literal "0xe0")) () ")"))))) () ")")))) (; ";")) (if_statement "if (local_20 == 0xffffffffffffffff) {\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }\n    else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" (if "if") (parenthesized_expression "(local_20 == 0xffffffffffffffff)" (( "(") (binary_expression "local_20 == 0xffffffffffffffff" (identifier "local_20") (== "==") (number_literal "0xffffffffffffffff")) () ")")) (compound_statement "{\n      *puVar2 = (int)local_20;\n      if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }\n    }" ({ "{") (expression_statement "*puVar2 = (int)local_20;" (assignment_expression "*puVar2 = (int)local_20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (cast_expression "(int)local_20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_20"))) (; ";")) (if_statement "if (in_stack_00000018 != 0) {\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }" (if "if") (parenthesized_expression "(in_stack_00000018 != 0)" (( "(") (binary_expression "in_stack_00000018 != 0" (identifier "in_stack_00000018") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined1 *)(param_1 + 0x78) = 1;\n        return;\n      }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x78) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x78) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x78)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x78)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" (else "else") (compound_statement "{\n      if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }\n      *puVar2 = (int)local_20;\n    }" ({ "{") (if_statement "if (local_20 != (local_20 & 0xffffffff)) {\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }" (if "if") (parenthesized_expression "(local_20 != (local_20 & 0xffffffff))" (( "(") (binary_expression "local_20 != (local_20 & 0xffffffff)" (identifier "local_20") (!= "!=") (parenthesized_expression "(local_20 & 0xffffffff)" (( "(") (binary_expression "local_20 & 0xffffffff" (identifier "local_20") (& "&") (number_literal "0xffffffff")) () ")"))) () ")")) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n      }" ({ "{") (expression_statement "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");" (call_expression "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types")" (identifier "FUN_0017c650") (argument_list "("../../gold/gold.h",0xc0,"convert_types")" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*puVar2 = (int)local_20;" (assignment_expression "*puVar2 = (int)local_20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (cast_expression "(int)local_20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_20"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4)" (* "*") (cast_expression "(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xe0) + uVar3 * 4)" (( "(") (binary_expression "*(long *)(param_1 + 0xe0) + uVar3 * 4" (pointer_expression "*(long *)(param_1 + 0xe0)" (* "*") (cast_expression "(long *)(param_1 + 0xe0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe0)" (( "(") (binary_expression "param_1 + 0xe0" (identifier "param_1") (+ "+") (number_literal "0xe0")) () ")")))) (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void layout_eh_frame_section(Sized_relobj_file<32,_true> * this, Layout
   * layout, uchar * symbols_data, section_size_type symbols_size, uchar * symbol_names_data,
   section_size_type symbol_names_size, uint shndx, Shdr * shdr, uint reloc_shndx, uint reloc_type)
    */

void __thiscall
var_2::Sized_relobj_file<32,_true>::layout_eh_frame_section
          (Sized_relobj_file<32,_true> *this,Layout *layout,uchar *symbols_data,
          section_size_type symbols_size,uchar *symbol_names_data,
          section_size_type symbol_names_size,type_5 shndx,Shdr *shdr,type_5 var_10,type_5 reloc_type
          )

{
  type_4 *var_5;
  type_1 puVar2;
  type_2 var_8;
  type_3 var_9;
  
  var_8 = (type_2)shndx;
  if (this->has_eh_frame_ == false) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/object.cc",0x4ed,"layout_eh_frame_section");
  }
  var_5 = Layout::layout_eh_frame<32,_true>
                     (layout,this,symbols_data,symbols_size,symbol_names_data,symbol_names_size,
                      shndx,shdr,var_10,reloc_type,&var_9);
  (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.
  super__Vector_base<var_2::type_4*,var_3::var_6<var_2::type_4*>var_4>._M_impl._M_start
  [var_8] = var_5;
  if (var_5 != (type_4 *)0x0) {
    puVar2 = (this->super_Sized_relobj<32,_true>).section_offsets_.
             super__Vector_base<var_7,var_3::var_6<var_7>var_4>._M_impl._M_start +
             var_8;
    if (var_9 == -1) {
      *puVar2 = (type_5)var_9;
      if (var_10 != 0) {
        (this->super_Sized_relobj<32,_true>).super_Relobj.relocs_must_follow_section_writes_ = true;
        return;
      }
    }
    else {
      if (var_9 != (var_9 & 0xffffffffU)) {
                    /* WARNING: Subroutine does not return */
        var_1("../../gold/gold.h",0xc0,"convert_types");
      }
      *puVar2 = (type_5)var_9;
    }
    return;
  }
  (this->super_Sized_relobj<32,_true>).section_offsets_.
  super__Vector_base<var_7,var_3::var_6<var_7>var_4>._M_impl._M_start[var_8] =
       0xffffffff;
  return;
}


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

void MASKED(long param_1,undefined8 param_2)

{
  long lVar1;
  undefined4 *puVar2;
  ulong uVar3;
  uint in_stack_00000008;
  int in_stack_00000018;
  ulong local_20;
  
  uVar3 = (ulong)in_stack_00000008;
  if (*(char *)(param_1 + 0x1e0) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.cc",0x4ed,"layout_eh_frame_section");
  }
  lVar1 = FUN_001b6fc0(param_2,param_1);
  *(long *)(*(long *)(param_1 + 0x50) + uVar3 * 8) = lVar1;
  if (lVar1 != 0) {
    puVar2 = (undefined4 *)(uVar3 * 4 + *(long *)(param_1 + 0xe0));
    if (local_20 == 0xffffffffffffffff) {
      *puVar2 = (int)local_20;
      if (in_stack_00000018 != 0) {
        *(undefined1 *)(param_1 + 0x78) = 1;
        return;
      }
    }
    else {
      if (local_20 != (local_20 & 0xffffffff)) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");
      }
      *puVar2 = (int)local_20;
    }
    return;
  }
  *(undefined4 *)(*(long *)(param_1 + 0xe0) + uVar3 * 4) = 0xffffffff;
  return;
}

