
int gold::Layout::special_ordering_of_input_section(char *name)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  
  uVar2 = 0xe;
  iVar3 = 0;
  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);
  puVar5 = PTR_s__s_004c1a50 + 0x33bc;
  while( true ) {
    puVar4 = puVar4 + 1;
    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);
    if (iVar1 == 0) {
      return iVar3;
    }
    iVar3 = iVar3 + 1;
    if (iVar3 == 4) break;
    puVar5 = (undefined *)*puVar4;
    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);
  }
  return -1;
}



/* gold::Layout::special_ordering_of_input_section(char const*) */

int gold::Layout::special_ordering_of_input_section(char *param_1)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  
  uVar2 = 0xe;
  iVar3 = 0;
  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);
  puVar5 = PTR_s__s_004c1a50 + 0x33bc;
  while( true ) {
    puVar4 = puVar4 + 1;
    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);
    if (iVar1 == 0) {
      return iVar3;
    }
    iVar3 = iVar3 + 1;
    if (iVar3 == 4) break;
    puVar5 = (undefined *)*puVar4;
    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);
  }
  return -1;
}


lui gp,0x32
addiu gp,gp,-0x7394
addu gp,gp,t9
addiu sp,sp,-0x30
li a2,0xe
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s3,0x24(sp)
li s3,0x4
sw s0,0x18(sp)
or s0,zero,zero
sw s4,0x28(sp)
or s4,a0,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
lw s1,-0x7fcc(gp)
lw s2,-0x77f0(gp)
addiu s1,s1,0x41c8
addiu s2,s2,0x33bc
lw t9,-0x3780(gp)
or a0,s2,zero
or a1,s4,zero
jalr t9
_addiu s1,s1,0x4
lw gp,0x10(sp)
beq v0,zero,0x001b0684
_lw t9,-0x36a4(gp)
addiu s0,s0,0x1
beq s0,s3,0x001b0664
_lw ra,0x2c(sp)
lw s2,0x0(s1)
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
b 0x001b0620
_or a2,v0,zero
li v0,-0x1
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
or v0,s0,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "/* gold::Layout::special_ordering_of_input_section(char const*) */\n\nint gold::Layout::special_ordering_of_input_section(char *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}\n\n" comment (function_definition "int gold::Layout::special_ordering_of_input_section(char *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" primitive_type (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "special_ordering_of_input_section(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);" (assignment_expression "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" identifier = (cast_expression "(undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" ( (binary_expression "PTR_uleb128_004affff_1_004c1274 + 0x41c8" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_s__s_004c1a50 + 0x33bc;" (assignment_expression "puVar5 = PTR_s__s_004c1a50 + 0x33bc" identifier = (binary_expression "PTR_s__s_004c1a50 + 0x33bc" identifier + number_literal)) ;) (while_statement "while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" { (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2)" identifier = (call_expression "(*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2)" (parenthesized_expression "(*(code *)PTR_strncmp_004c5ac0)" ( (pointer_expression "*(code *)PTR_strncmp_004c5ac0" * (cast_expression "(code *)PTR_strncmp_004c5ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,param_1,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return iVar3;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 4) break;" if (parenthesized_expression "(iVar3 == 4)" ( (binary_expression "iVar3 == 4" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (undefined *)*puVar4;" (assignment_expression "puVar5 = (undefined *)*puVar4" identifier = (cast_expression "(undefined *)*puVar4" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "int gold::Layout::special_ordering_of_input_section(char *name)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}\n\n" (function_definition "int gold::Layout::special_ordering_of_input_section(char *name)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" primitive_type (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "special_ordering_of_input_section(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);" (assignment_expression "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" identifier = (cast_expression "(undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" ( (binary_expression "PTR_uleb128_004affff_1_004c1274 + 0x41c8" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_s__s_004c1a50 + 0x33bc;" (assignment_expression "puVar5 = PTR_s__s_004c1a50 + 0x33bc" identifier = (binary_expression "PTR_s__s_004c1a50 + 0x33bc" identifier + number_literal)) ;) (while_statement "while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" { (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2)" identifier = (call_expression "(*(code *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2)" (parenthesized_expression "(*(code *)PTR_strncmp_004c5ac0)" ( (pointer_expression "*(code *)PTR_strncmp_004c5ac0" * (cast_expression "(code *)PTR_strncmp_004c5ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,name,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return iVar3;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 4) break;" if (parenthesized_expression "(iVar3 == 4)" ( (binary_expression "iVar3 == 4" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (undefined *)*puVar4;" (assignment_expression "puVar5 = (undefined *)*puVar4" identifier = (cast_expression "(undefined *)*puVar4" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "int gold::Layout::special_ordering_of_input_section(char *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}\n\n" (function_definition "int gold::Layout::special_ordering_of_input_section(char *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" primitive_type (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "special_ordering_of_input_section(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);" (assignment_expression "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" identifier = (cast_expression "(undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" ( (binary_expression "PTR_uleb128_004affff_1_004c1274 + 0x41c8" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_s__s_004c1a50 + 0x33bc;" (assignment_expression "puVar5 = PTR_s__s_004c1a50 + 0x33bc" identifier = (binary_expression "PTR_s__s_004c1a50 + 0x33bc" identifier + number_literal)) ;) (while_statement "while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" { (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2)" identifier = (call_expression "(*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2)" (parenthesized_expression "(*(code *)PTR_strncmp_004c5ac0)" ( (pointer_expression "*(code *)PTR_strncmp_004c5ac0" * (cast_expression "(code *)PTR_strncmp_004c5ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,param_1,uVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return iVar3;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 4) break;" if (parenthesized_expression "(iVar3 == 4)" ( (binary_expression "iVar3 == 4" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = (undefined *)*puVar4;" (assignment_expression "puVar5 = (undefined *)*puVar4" identifier = (cast_expression "(undefined *)*puVar4" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (return_statement return LIT ;) })))
(function_definition "int gold::Layout::special_ordering_of_input_section(char *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" (primitive_type "int") (ERROR "gold::Layout::" (identifier "gold") (: ":") (: ":") (identifier "Layout") (: ":") (: ":")) (function_declarator "special_ordering_of_input_section(char *param_1)" (identifier "special_ordering_of_input_section") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  uVar2 = 0xe;\n  iVar3 = 0;\n  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);\n  puVar5 = PTR_s__s_004c1a50 + 0x33bc;\n  while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }\n  return -1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "uVar2 = 0xe;" (assignment_expression "uVar2 = 0xe" (identifier "uVar2") (= "=") (number_literal "0xe")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);" (assignment_expression "puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_uleb128_004affff_1_004c1274 + 0x41c8)" (( "(") (binary_expression "PTR_uleb128_004affff_1_004c1274 + 0x41c8" (identifier "PTR_uleb128_004affff_1_004c1274") (+ "+") (number_literal "0x41c8")) () ")")))) (; ";")) (expression_statement "puVar5 = PTR_s__s_004c1a50 + 0x33bc;" (assignment_expression "puVar5 = PTR_s__s_004c1a50 + 0x33bc" (identifier "puVar5") (= "=") (binary_expression "PTR_s__s_004c1a50 + 0x33bc" (identifier "PTR_s__s_004c1a50") (+ "+") (number_literal "0x33bc"))) (; ";")) (while_statement "while( true ) {\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    puVar4 = puVar4 + 1;\n    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);\n    if (iVar1 == 0) {\n      return iVar3;\n    }\n    iVar3 = iVar3 + 1;\n    if (iVar3 == 4) break;\n    puVar5 = (undefined *)*puVar4;\n    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);\n  }" ({ "{") (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2)" (parenthesized_expression "(*(code *)PTR_strncmp_004c5ac0)" (( "(") (pointer_expression "*(code *)PTR_strncmp_004c5ac0" (* "*") (cast_expression "(code *)PTR_strncmp_004c5ac0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_004c5ac0"))) () ")")) (argument_list "(puVar5,param_1,uVar2)" (( "(") (identifier "puVar5") (, ",") (identifier "param_1") (, ",") (identifier "uVar2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      return iVar3;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar3;\n    }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar3 == 4) break;" (if "if") (parenthesized_expression "(iVar3 == 4)" (( "(") (binary_expression "iVar3 == 4" (identifier "iVar3") (== "==") (number_literal "4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar5 = (undefined *)*puVar4;" (assignment_expression "puVar5 = (undefined *)*puVar4" (identifier "puVar5") (= "=") (cast_expression "(undefined *)*puVar4" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_004c5b9c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" (( "(") (pointer_expression "*(code *)PTR_strlen_004c5b9c" (* "*") (cast_expression "(code *)PTR_strlen_004c5b9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_004c5b9c"))) () ")")) (argument_list "(puVar5)" (( "(") (identifier "puVar5") () ")")))) (; ";")) (} "}"))) (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}")))

int gold::Layout::function_1(char *name)

{
  int var_4;
  type_1 uVar2;
  int var_5;
  type_1 *var_3;
  type_2 *puVar5;
  
  uVar2 = 0xe;
  var_5 = 0;
  var_3 = (type_1 *)(var_1 + 0x41c8);
  puVar5 = var_2 + 0x33bc;
  while( true ) {
    var_3 = var_3 + 1;
    var_4 = (*(type_3 *)PTR_strncmp_004c5ac0)(puVar5,name,uVar2);
    if (var_4 == 0) {
      return var_5;
    }
    var_5 = var_5 + 1;
    if (var_5 == 4) break;
    puVar5 = (type_2 *)*var_3;
    uVar2 = (*(type_3 *)PTR_strlen_004c5b9c)(puVar5);
  }
  return -1;
}


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

/* gold::Layout::MASKED(char const*) */

int gold::Layout::MASKED(char *param_1)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  
  uVar2 = 0xe;
  iVar3 = 0;
  puVar4 = (undefined4 *)(PTR_uleb128_004affff_1_004c1274 + 0x41c8);
  puVar5 = PTR_s__s_004c1a50 + 0x33bc;
  while( true ) {
    puVar4 = puVar4 + 1;
    iVar1 = (*(code *)PTR_strncmp_004c5ac0)(puVar5,param_1,uVar2);
    if (iVar1 == 0) {
      return iVar3;
    }
    iVar3 = iVar3 + 1;
    if (iVar3 == 4) break;
    puVar5 = (undefined *)*puVar4;
    uVar2 = (*(code *)PTR_strlen_004c5b9c)(puVar5);
  }
  return -1;
}

