
symbolS * local_symbol_convert(local_symbol *locsym)

{
  undefined *puVar1;
  ushort uVar2;
  char *name;
  segT paVar3;
  fragS *frag;
  symbolS *symbolP;
  undefined4 in_stack_ffffffe4;
  
  puVar1 = PTR_reg_section_000b5da4;
  if (-1 < *(short *)&locsym->lsy_flags) {
                    /* WARNING: Subroutine does not return */
    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);
  }
  paVar3 = locsym->lsy_section;
  symbolP = (symbolS *)(locsym->u).lsy_frag;
  if (paVar3 != *(segT *)PTR_reg_section_000b5da4) {
    frag = *(fragS **)&locsym->lsy_value;
    name = locsym->lsy_name;
    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;
    symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);
    uVar2 = *(ushort *)&symbolP->sy_flags;
    if (((uint)locsym->lsy_flags & 0x20000000) != 0) {
      uVar2 = uVar2 & 0xdfff | 0x2000;
      *(ushort *)&symbolP->sy_flags = uVar2;
    }
    *(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;
    symbol_table_insert(symbolP);
    paVar3 = *(segT *)puVar1;
    (locsym->u).lsy_sym = symbolP;
    puVar1 = PTR_mips_opcodes_000b5cd0;
    locsym->lsy_section = paVar3;
    hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);
  }
  return symbolP;
}



ushort * FUN_0004e6c0(ushort *param_1)

{
  undefined *puVar1;
  ushort uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  ushort *puVar7;
  
  puVar1 = PTR_reg_section_000b5da4;
  if (-1 < (short)*param_1) {
                    /* WARNING: Subroutine does not return */
    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);
  }
  iVar4 = *(int *)(param_1 + 2);
  puVar7 = *(ushort **)(param_1 + 6);
  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {
    uVar6 = *(undefined4 *)(param_1 + 10);
    uVar5 = *(undefined4 *)(param_1 + 8);
    uVar3 = *(undefined4 *)(param_1 + 4);
    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;
    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);
    uVar2 = *puVar7;
    if ((*param_1 & 0x2000) != 0) {
      uVar2 = uVar2 & 0xdfff | 0x2000;
      *puVar7 = uVar2;
    }
    *puVar7 = uVar2 & 0xfbff | 0x400;
    symbol_table_insert(puVar7);
    uVar3 = *(undefined4 *)puVar1;
    *(ushort **)(param_1 + 6) = puVar7;
    puVar1 = PTR_mips_opcodes_000b5cd0;
    *(undefined4 *)(param_1 + 2) = uVar3;
    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);
  }
  return puVar7;
}


lui gp,0x7
addiu gp,gp,-0xa40
addu gp,gp,t9
addiu sp,sp,-0x30
lh v0,0x0(a0)
sw gp,0x18(sp)
sw ra,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
bgez v0,0x0004e7b0
_sw s0,0x20(sp)
lw s2,-0x7edc(gp)
or s0,a0,zero
lw a1,0x4(a0)
lw v0,0x0(s2)
beq a1,v0,0x0004e784
_lw s1,0xc(a0)
lw v1,-0x7fb0(gp)
lw a3,0x14(a0)
lw a2,0x10(a0)
lw t9,-0x7efc(gp)
lw v0,-0xc64(v1)
lw a0,0x8(a0)
sw s1,0x10(sp)
addiu v0,v0,0x1
bal 0x0004e640
_sw v0,-0xc64(v1)
lhu v1,0x0(s0)
or s1,v0,zero
lw gp,0x18(sp)
andi v1,v1,0x2000
bne v1,zero,0x0004e7a0
_lhu v0,0x0(v0)
li v1,0x1
lw t9,-0x7ef4(gp)
or a0,s1,zero
ins v0,v1,0xa,0x1
bal 0x0004c7d8
_sh v0,0x0(s1)
or a2,zero,zero
lw gp,0x18(sp)
lw v0,0x0(s2)
lw a1,0x8(s0)
sw s1,0xc(s0)
lw v1,-0x7fb0(gp)
lw t9,-0x7ca8(gp)
sw v0,0x4(s0)
bal 0x00035d80
_lw a0,-0xc5c(v1)
lw ra,0x2c(sp)
or v0,s1,zero
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
li v1,0x1
ins v0,v1,0xd,0x1
b 0x0004e748
_sh v0,0x0(s1)
lw a2,-0x7e34(gp)
li a1,0xdf
lw a0,-0x7e34(gp)
lw t9,-0x7f94(gp)
addiu a2,a2,-0x69c4
bal 0x0003e54c
_addiu a0,a0,-0x71f0
(translation_unit "ushort * FUN_0004e6c0(ushort *param_1)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}\n\n" (function_definition "ushort * FUN_0004e6c0(ushort *param_1)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}" type_identifier (pointer_declarator "* FUN_0004e6c0(ushort *param_1)" * (function_declarator "FUN_0004e6c0(ushort *param_1)" identifier (parameter_list "(ushort *param_1)" ( (parameter_declaration "ushort *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "puVar1 = PTR_reg_section_000b5da4;" (assignment_expression "puVar1 = PTR_reg_section_000b5da4" identifier = identifier) ;) (if_statement "if (-1 < (short)*param_1) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" if (parenthesized_expression "(-1 < (short)*param_1)" ( (binary_expression "-1 < (short)*param_1" number_literal < (cast_expression "(short)*param_1" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (pointer_expression "*param_1" * identifier))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" { comment (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" identifier (argument_list "(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" ( (binary_expression "PTR_s_operand_000b5e4c + -0x71f0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_operand_000b5e4c + -0x69c4" identifier + number_literal) ))) ;) })) (expression_statement "iVar4 = *(int *)(param_1 + 2);" (assignment_expression "iVar4 = *(int *)(param_1 + 2)" identifier = (pointer_expression "*(int *)(param_1 + 2)" * (cast_expression "(int *)(param_1 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = *(ushort **)(param_1 + 6);" (assignment_expression "puVar7 = *(ushort **)(param_1 + 6)" identifier = (pointer_expression "*(ushort **)(param_1 + 6)" * (cast_expression "(ushort **)(param_1 + 6)" ( (type_descriptor "ushort **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }" if (parenthesized_expression "(iVar4 != *(int *)PTR_reg_section_000b5da4)" ( (binary_expression "iVar4 != *(int *)PTR_reg_section_000b5da4" identifier != (pointer_expression "*(int *)PTR_reg_section_000b5da4" * (cast_expression "(int *)PTR_reg_section_000b5da4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }" { (expression_statement "uVar6 = *(undefined4 *)(param_1 + 10);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 10)" * (cast_expression "(undefined4 *)(param_1 + 10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;" (assignment_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" identifier + number_literal) )))) = (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);" (assignment_expression "puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" identifier = (cast_expression "(ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" identifier (argument_list "(uVar3,iVar4,uVar5,uVar6,puVar7)" ( identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (if_statement "if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }" if (parenthesized_expression "((*param_1 & 0x2000) != 0)" ( (binary_expression "(*param_1 & 0x2000) != 0" (parenthesized_expression "(*param_1 & 0x2000)" ( (binary_expression "*param_1 & 0x2000" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }" { (expression_statement "uVar2 = uVar2 & 0xdfff | 0x2000;" (assignment_expression "uVar2 = uVar2 & 0xdfff | 0x2000" identifier = (binary_expression "uVar2 & 0xdfff | 0x2000" (binary_expression "uVar2 & 0xdfff" identifier & number_literal) | number_literal)) ;) (expression_statement "*puVar7 = uVar2;" (assignment_expression "*puVar7 = uVar2" (pointer_expression "*puVar7" * identifier) = identifier) ;) })) (expression_statement "*puVar7 = uVar2 & 0xfbff | 0x400;" (assignment_expression "*puVar7 = uVar2 & 0xfbff | 0x400" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar2 & 0xfbff | 0x400" (binary_expression "uVar2 & 0xfbff" identifier & number_literal) | number_literal)) ;) (expression_statement "symbol_table_insert(puVar7);" (call_expression "symbol_table_insert(puVar7)" identifier (argument_list "(puVar7)" ( identifier ))) ;) (expression_statement "uVar3 = *(undefined4 *)puVar1;" (assignment_expression "uVar3 = *(undefined4 *)puVar1" identifier = (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(ushort **)(param_1 + 6) = puVar7;" (assignment_expression "*(ushort **)(param_1 + 6) = puVar7" (pointer_expression "*(ushort **)(param_1 + 6)" * (cast_expression "(ushort **)(param_1 + 6)" ( (type_descriptor "ushort **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 2) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 2) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);" (call_expression "hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0)" identifier (argument_list "(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0)" ( (pointer_expression "*(undefined4 *)(puVar1 + -0xc5c)" * (cast_expression "(undefined4 *)(puVar1 + -0xc5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xc5c)" ( (binary_expression "puVar1 + -0xc5c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , number_literal ))) ;) })) (return_statement "return puVar7;" return identifier ;) })))
(translation_unit "symbolS * local_symbol_convert(local_symbol *locsym)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  char *name;\n  segT paVar3;\n  fragS *frag;\n  symbolS *symbolP;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < *(short *)&locsym->lsy_flags) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  paVar3 = locsym->lsy_section;\n  symbolP = (symbolS *)(locsym->u).lsy_frag;\n  if (paVar3 != *(segT *)PTR_reg_section_000b5da4) {\n    frag = *(fragS **)&locsym->lsy_value;\n    name = locsym->lsy_name;\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);\n    uVar2 = *(ushort *)&symbolP->sy_flags;\n    if (((uint)locsym->lsy_flags & 0x20000000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }\n    *(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(symbolP);\n    paVar3 = *(segT *)puVar1;\n    (locsym->u).lsy_sym = symbolP;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    locsym->lsy_section = paVar3;\n    hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);\n  }\n  return symbolP;\n}\n\n" (function_definition "symbolS * local_symbol_convert(local_symbol *locsym)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  char *name;\n  segT paVar3;\n  fragS *frag;\n  symbolS *symbolP;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < *(short *)&locsym->lsy_flags) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  paVar3 = locsym->lsy_section;\n  symbolP = (symbolS *)(locsym->u).lsy_frag;\n  if (paVar3 != *(segT *)PTR_reg_section_000b5da4) {\n    frag = *(fragS **)&locsym->lsy_value;\n    name = locsym->lsy_name;\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);\n    uVar2 = *(ushort *)&symbolP->sy_flags;\n    if (((uint)locsym->lsy_flags & 0x20000000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }\n    *(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(symbolP);\n    paVar3 = *(segT *)puVar1;\n    (locsym->u).lsy_sym = symbolP;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    locsym->lsy_section = paVar3;\n    hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);\n  }\n  return symbolP;\n}" type_identifier (pointer_declarator "* local_symbol_convert(local_symbol *locsym)" * (function_declarator "local_symbol_convert(local_symbol *locsym)" identifier (parameter_list "(local_symbol *locsym)" ( (parameter_declaration "local_symbol *locsym" type_identifier (pointer_declarator "*locsym" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  ushort uVar2;\n  char *name;\n  segT paVar3;\n  fragS *frag;\n  symbolS *symbolP;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < *(short *)&locsym->lsy_flags) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  paVar3 = locsym->lsy_section;\n  symbolP = (symbolS *)(locsym->u).lsy_frag;\n  if (paVar3 != *(segT *)PTR_reg_section_000b5da4) {\n    frag = *(fragS **)&locsym->lsy_value;\n    name = locsym->lsy_name;\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);\n    uVar2 = *(ushort *)&symbolP->sy_flags;\n    if (((uint)locsym->lsy_flags & 0x20000000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }\n    *(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(symbolP);\n    paVar3 = *(segT *)puVar1;\n    (locsym->u).lsy_sym = symbolP;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    locsym->lsy_section = paVar3;\n    hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);\n  }\n  return symbolP;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "segT paVar3;" type_identifier identifier ;) (declaration "fragS *frag;" type_identifier (pointer_declarator "*frag" * identifier) ;) (declaration "symbolS *symbolP;" type_identifier (pointer_declarator "*symbolP" * identifier) ;) (declaration "undefined4 in_stack_ffffffe4;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_reg_section_000b5da4;" (assignment_expression "puVar1 = PTR_reg_section_000b5da4" identifier = identifier) ;) (if_statement "if (-1 < *(short *)&locsym->lsy_flags) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" if (parenthesized_expression "(-1 < *(short *)&locsym->lsy_flags)" ( (binary_expression "-1 < *(short *)&locsym->lsy_flags" number_literal < (pointer_expression "*(short *)&locsym->lsy_flags" * (cast_expression "(short *)&locsym->lsy_flags" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&locsym->lsy_flags" & (field_expression "locsym->lsy_flags" identifier -> field_identifier))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" { comment (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" identifier (argument_list "(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" ( (binary_expression "PTR_s_operand_000b5e4c + -0x71f0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_operand_000b5e4c + -0x69c4" identifier + number_literal) ))) ;) })) (expression_statement "paVar3 = locsym->lsy_section;" (assignment_expression "paVar3 = locsym->lsy_section" identifier = (field_expression "locsym->lsy_section" identifier -> field_identifier)) ;) (expression_statement "symbolP = (symbolS *)(locsym->u).lsy_frag;" (assignment_expression "symbolP = (symbolS *)(locsym->u).lsy_frag" identifier = (cast_expression "(symbolS *)(locsym->u).lsy_frag" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(locsym->u).lsy_frag" (parenthesized_expression "(locsym->u)" ( (field_expression "locsym->u" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if (paVar3 != *(segT *)PTR_reg_section_000b5da4) {\n    frag = *(fragS **)&locsym->lsy_value;\n    name = locsym->lsy_name;\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);\n    uVar2 = *(ushort *)&symbolP->sy_flags;\n    if (((uint)locsym->lsy_flags & 0x20000000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }\n    *(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(symbolP);\n    paVar3 = *(segT *)puVar1;\n    (locsym->u).lsy_sym = symbolP;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    locsym->lsy_section = paVar3;\n    hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);\n  }" if (parenthesized_expression "(paVar3 != *(segT *)PTR_reg_section_000b5da4)" ( (binary_expression "paVar3 != *(segT *)PTR_reg_section_000b5da4" identifier != (pointer_expression "*(segT *)PTR_reg_section_000b5da4" * (cast_expression "(segT *)PTR_reg_section_000b5da4" ( (type_descriptor "segT *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    frag = *(fragS **)&locsym->lsy_value;\n    name = locsym->lsy_name;\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);\n    uVar2 = *(ushort *)&symbolP->sy_flags;\n    if (((uint)locsym->lsy_flags & 0x20000000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }\n    *(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(symbolP);\n    paVar3 = *(segT *)puVar1;\n    (locsym->u).lsy_sym = symbolP;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    locsym->lsy_section = paVar3;\n    hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);\n  }" { (expression_statement "frag = *(fragS **)&locsym->lsy_value;" (assignment_expression "frag = *(fragS **)&locsym->lsy_value" identifier = (pointer_expression "*(fragS **)&locsym->lsy_value" * (cast_expression "(fragS **)&locsym->lsy_value" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&locsym->lsy_value" & (field_expression "locsym->lsy_value" identifier -> field_identifier))))) ;) (expression_statement "name = locsym->lsy_name;" (assignment_expression "name = locsym->lsy_name" identifier = (field_expression "locsym->lsy_name" identifier -> field_identifier)) ;) (expression_statement "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;" (assignment_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" identifier + number_literal) )))) = (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag);" (assignment_expression "symbolP = symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag)" identifier = (call_expression "symbol_new(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag)" identifier (argument_list "(name,paVar3,CONCAT44(symbolP,in_stack_ffffffe4),frag)" ( identifier , identifier , (call_expression "CONCAT44(symbolP,in_stack_ffffffe4)" identifier (argument_list "(symbolP,in_stack_ffffffe4)" ( identifier , identifier ))) , identifier )))) ;) (expression_statement "uVar2 = *(ushort *)&symbolP->sy_flags;" (assignment_expression "uVar2 = *(ushort *)&symbolP->sy_flags" identifier = (pointer_expression "*(ushort *)&symbolP->sy_flags" * (cast_expression "(ushort *)&symbolP->sy_flags" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&symbolP->sy_flags" & (field_expression "symbolP->sy_flags" identifier -> field_identifier))))) ;) (if_statement "if (((uint)locsym->lsy_flags & 0x20000000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }" if (parenthesized_expression "(((uint)locsym->lsy_flags & 0x20000000) != 0)" ( (binary_expression "((uint)locsym->lsy_flags & 0x20000000) != 0" (parenthesized_expression "((uint)locsym->lsy_flags & 0x20000000)" ( (binary_expression "(uint)locsym->lsy_flags & 0x20000000" (cast_expression "(uint)locsym->lsy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "locsym->lsy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *(ushort *)&symbolP->sy_flags = uVar2;\n    }" { (expression_statement "uVar2 = uVar2 & 0xdfff | 0x2000;" (assignment_expression "uVar2 = uVar2 & 0xdfff | 0x2000" identifier = (binary_expression "uVar2 & 0xdfff | 0x2000" (binary_expression "uVar2 & 0xdfff" identifier & number_literal) | number_literal)) ;) (expression_statement "*(ushort *)&symbolP->sy_flags = uVar2;" (assignment_expression "*(ushort *)&symbolP->sy_flags = uVar2" (pointer_expression "*(ushort *)&symbolP->sy_flags" * (cast_expression "(ushort *)&symbolP->sy_flags" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&symbolP->sy_flags" & (field_expression "symbolP->sy_flags" identifier -> field_identifier)))) = identifier) ;) })) (expression_statement "*(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400;" (assignment_expression "*(ushort *)&symbolP->sy_flags = uVar2 & 0xfbff | 0x400" (pointer_expression "*(ushort *)&symbolP->sy_flags" * (cast_expression "(ushort *)&symbolP->sy_flags" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&symbolP->sy_flags" & (field_expression "symbolP->sy_flags" identifier -> field_identifier)))) = (binary_expression "uVar2 & 0xfbff | 0x400" (binary_expression "uVar2 & 0xfbff" identifier & number_literal) | number_literal)) ;) (expression_statement "symbol_table_insert(symbolP);" (call_expression "symbol_table_insert(symbolP)" identifier (argument_list "(symbolP)" ( identifier ))) ;) (expression_statement "paVar3 = *(segT *)puVar1;" (assignment_expression "paVar3 = *(segT *)puVar1" identifier = (pointer_expression "*(segT *)puVar1" * (cast_expression "(segT *)puVar1" ( (type_descriptor "segT *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(locsym->u).lsy_sym = symbolP;" (assignment_expression "(locsym->u).lsy_sym = symbolP" (field_expression "(locsym->u).lsy_sym" (parenthesized_expression "(locsym->u)" ( (field_expression "locsym->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (expression_statement "locsym->lsy_section = paVar3;" (assignment_expression "locsym->lsy_section = paVar3" (field_expression "locsym->lsy_section" identifier -> field_identifier) = identifier) ;) (expression_statement "hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0);" (call_expression "hash_jam(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0)" identifier (argument_list "(*(hash_control **)(puVar1 + -0xc5c),locsym->lsy_name,(void *)0x0)" ( (pointer_expression "*(hash_control **)(puVar1 + -0xc5c)" * (cast_expression "(hash_control **)(puVar1 + -0xc5c)" ( (type_descriptor "hash_control **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + -0xc5c)" ( (binary_expression "puVar1 + -0xc5c" identifier + number_literal) )))) , (field_expression "locsym->lsy_name" identifier -> field_identifier) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) (return_statement "return symbolP;" return identifier ;) })))
(translation_unit "ushort * FUN_0004e6c0(ushort *param_1)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}\n\n" (function_definition "ushort * FUN_0004e6c0(ushort *param_1)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}" type_identifier (pointer_declarator "* FUN_0004e6c0(ushort *param_1)" * (function_declarator "FUN_0004e6c0(ushort *param_1)" identifier (parameter_list "(ushort *param_1)" ( (parameter_declaration "ushort *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "puVar1 = PTR_reg_section_000b5da4;" (assignment_expression "puVar1 = PTR_reg_section_000b5da4" identifier = identifier) ;) (if_statement "if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" if (parenthesized_expression "(-1 < (short)*param_1)" ( (binary_expression "-1 < (short)*param_1" number_literal < (cast_expression "(short)*param_1" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (pointer_expression "*param_1" * identifier))) )) (compound_statement "{\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" { (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" identifier (argument_list "(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" ( (binary_expression "PTR_s_operand_000b5e4c + -0x71f0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_operand_000b5e4c + -0x69c4" identifier + number_literal) ))) ;) })) (expression_statement "iVar4 = *(int *)(param_1 + 2);" (assignment_expression "iVar4 = *(int *)(param_1 + 2)" identifier = (pointer_expression "*(int *)(param_1 + 2)" * (cast_expression "(int *)(param_1 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = *(ushort **)(param_1 + 6);" (assignment_expression "puVar7 = *(ushort **)(param_1 + 6)" identifier = (pointer_expression "*(ushort **)(param_1 + 6)" * (cast_expression "(ushort **)(param_1 + 6)" ( (type_descriptor "ushort **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }" if (parenthesized_expression "(iVar4 != *(int *)PTR_reg_section_000b5da4)" ( (binary_expression "iVar4 != *(int *)PTR_reg_section_000b5da4" identifier != (pointer_expression "*(int *)PTR_reg_section_000b5da4" * (cast_expression "(int *)PTR_reg_section_000b5da4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }" { (expression_statement "uVar6 = *(undefined4 *)(param_1 + 10);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 10)" * (cast_expression "(undefined4 *)(param_1 + 10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;" (assignment_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" identifier + number_literal) )))) = (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);" (assignment_expression "puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" identifier = (cast_expression "(ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" identifier (argument_list "(uVar3,iVar4,uVar5,uVar6,puVar7)" ( identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (if_statement "if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }" if (parenthesized_expression "((*param_1 & 0x2000) != 0)" ( (binary_expression "(*param_1 & 0x2000) != 0" (parenthesized_expression "(*param_1 & 0x2000)" ( (binary_expression "*param_1 & 0x2000" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }" { (expression_statement "uVar2 = uVar2 & 0xdfff | 0x2000;" (assignment_expression "uVar2 = uVar2 & 0xdfff | 0x2000" identifier = (binary_expression "uVar2 & 0xdfff | 0x2000" (binary_expression "uVar2 & 0xdfff" identifier & number_literal) | number_literal)) ;) (expression_statement "*puVar7 = uVar2;" (assignment_expression "*puVar7 = uVar2" (pointer_expression "*puVar7" * identifier) = identifier) ;) })) (expression_statement "*puVar7 = uVar2 & 0xfbff | 0x400;" (assignment_expression "*puVar7 = uVar2 & 0xfbff | 0x400" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar2 & 0xfbff | 0x400" (binary_expression "uVar2 & 0xfbff" identifier & number_literal) | number_literal)) ;) (expression_statement "symbol_table_insert(puVar7);" (call_expression "symbol_table_insert(puVar7)" identifier (argument_list "(puVar7)" ( identifier ))) ;) (expression_statement "uVar3 = *(undefined4 *)puVar1;" (assignment_expression "uVar3 = *(undefined4 *)puVar1" identifier = (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(ushort **)(param_1 + 6) = puVar7;" (assignment_expression "*(ushort **)(param_1 + 6) = puVar7" (pointer_expression "*(ushort **)(param_1 + 6)" * (cast_expression "(ushort **)(param_1 + 6)" ( (type_descriptor "ushort **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 2) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 2) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);" (call_expression "hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0)" identifier (argument_list "(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0)" ( (pointer_expression "*(undefined4 *)(puVar1 + -0xc5c)" * (cast_expression "(undefined4 *)(puVar1 + -0xc5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xc5c)" ( (binary_expression "puVar1 + -0xc5c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , number_literal ))) ;) })) (return_statement "return puVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (pointer_expression * IDENT))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "ushort * FUN_0004e6c0(ushort *param_1)\n\n{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}" (type_identifier "ushort") (pointer_declarator "* FUN_0004e6c0(ushort *param_1)" (* "*") (function_declarator "FUN_0004e6c0(ushort *param_1)" (identifier "FUN_0004e6c0") (parameter_list "(ushort *param_1)" (( "(") (parameter_declaration "ushort *param_1" (type_identifier "ushort") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  ushort uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  ushort *puVar7;\n  \n  puVar1 = PTR_reg_section_000b5da4;\n  if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }\n  iVar4 = *(int *)(param_1 + 2);\n  puVar7 = *(ushort **)(param_1 + 6);\n  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }\n  return puVar7;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "ushort *puVar7;" (type_identifier "ushort") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (expression_statement "puVar1 = PTR_reg_section_000b5da4;" (assignment_expression "puVar1 = PTR_reg_section_000b5da4" (identifier "puVar1") (= "=") (identifier "PTR_reg_section_000b5da4")) (; ";")) (if_statement "if (-1 < (short)*param_1) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" (if "if") (parenthesized_expression "(-1 < (short)*param_1)" (( "(") (binary_expression "-1 < (short)*param_1" (number_literal "-1") (< "<") (cast_expression "(short)*param_1" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (compound_statement "{\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);\n  }" ({ "{") (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" (identifier "as_abort") (argument_list "(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4)" (( "(") (binary_expression "PTR_s_operand_000b5e4c + -0x71f0" (identifier "PTR_s_operand_000b5e4c") (+ "+") (number_literal "-0x71f0")) (, ",") (number_literal "0xdf") (, ",") (binary_expression "PTR_s_operand_000b5e4c + -0x69c4" (identifier "PTR_s_operand_000b5e4c") (+ "+") (number_literal "-0x69c4")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(param_1 + 2);" (assignment_expression "iVar4 = *(int *)(param_1 + 2)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 2)" (* "*") (cast_expression "(int *)(param_1 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "puVar7 = *(ushort **)(param_1 + 6);" (assignment_expression "puVar7 = *(ushort **)(param_1 + 6)" (identifier "puVar7") (= "=") (pointer_expression "*(ushort **)(param_1 + 6)" (* "*") (cast_expression "(ushort **)(param_1 + 6)" (( "(") (type_descriptor "ushort **" (type_identifier "ushort") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (if_statement "if (iVar4 != *(int *)PTR_reg_section_000b5da4) {\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }" (if "if") (parenthesized_expression "(iVar4 != *(int *)PTR_reg_section_000b5da4)" (( "(") (binary_expression "iVar4 != *(int *)PTR_reg_section_000b5da4" (identifier "iVar4") (!= "!=") (pointer_expression "*(int *)PTR_reg_section_000b5da4" (* "*") (cast_expression "(int *)PTR_reg_section_000b5da4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_reg_section_000b5da4")))) () ")")) (compound_statement "{\n    uVar6 = *(undefined4 *)(param_1 + 10);\n    uVar5 = *(undefined4 *)(param_1 + 8);\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;\n    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);\n    uVar2 = *puVar7;\n    if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }\n    *puVar7 = uVar2 & 0xfbff | 0x400;\n    symbol_table_insert(puVar7);\n    uVar3 = *(undefined4 *)puVar1;\n    *(ushort **)(param_1 + 6) = puVar7;\n    puVar1 = PTR_mips_opcodes_000b5cd0;\n    *(undefined4 *)(param_1 + 2) = uVar3;\n    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);\n  }" ({ "{") (expression_statement "uVar6 = *(undefined4 *)(param_1 + 10);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 10)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 8)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;" (assignment_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" (* "*") (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xc64")) () ")")))) (= "=") (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" (* "*") (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc64)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc64" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xc64")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);" (assignment_expression "puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" (identifier "puVar7") (= "=") (cast_expression "(ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7)" (identifier "symbol_new") (argument_list "(uVar3,iVar4,uVar5,uVar6,puVar7)" (( "(") (identifier "uVar3") (, ",") (identifier "iVar4") (, ",") (identifier "uVar5") (, ",") (identifier "uVar6") (, ",") (identifier "puVar7") () ")"))))) (; ";")) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" (identifier "uVar2") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (if_statement "if ((*param_1 & 0x2000) != 0) {\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }" (if "if") (parenthesized_expression "((*param_1 & 0x2000) != 0)" (( "(") (binary_expression "(*param_1 & 0x2000) != 0" (parenthesized_expression "(*param_1 & 0x2000)" (( "(") (binary_expression "*param_1 & 0x2000" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "0x2000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = uVar2 & 0xdfff | 0x2000;\n      *puVar7 = uVar2;\n    }" ({ "{") (expression_statement "uVar2 = uVar2 & 0xdfff | 0x2000;" (assignment_expression "uVar2 = uVar2 & 0xdfff | 0x2000" (identifier "uVar2") (= "=") (binary_expression "uVar2 & 0xdfff | 0x2000" (binary_expression "uVar2 & 0xdfff" (identifier "uVar2") (& "&") (number_literal "0xdfff")) (| "|") (number_literal "0x2000"))) (; ";")) (expression_statement "*puVar7 = uVar2;" (assignment_expression "*puVar7 = uVar2" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (expression_statement "*puVar7 = uVar2 & 0xfbff | 0x400;" (assignment_expression "*puVar7 = uVar2 & 0xfbff | 0x400" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (binary_expression "uVar2 & 0xfbff | 0x400" (binary_expression "uVar2 & 0xfbff" (identifier "uVar2") (& "&") (number_literal "0xfbff")) (| "|") (number_literal "0x400"))) (; ";")) (expression_statement "symbol_table_insert(puVar7);" (call_expression "symbol_table_insert(puVar7)" (identifier "symbol_table_insert") (argument_list "(puVar7)" (( "(") (identifier "puVar7") () ")"))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)puVar1;" (assignment_expression "uVar3 = *(undefined4 *)puVar1" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*(ushort **)(param_1 + 6) = puVar7;" (assignment_expression "*(ushort **)(param_1 + 6) = puVar7" (pointer_expression "*(ushort **)(param_1 + 6)" (* "*") (cast_expression "(ushort **)(param_1 + 6)" (( "(") (type_descriptor "ushort **" (type_identifier "ushort") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" (identifier "puVar1") (= "=") (identifier "PTR_mips_opcodes_000b5cd0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 2) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 2) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 2)" (* "*") (cast_expression "(undefined4 *)(param_1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);" (call_expression "hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0)" (identifier "hash_jam") (argument_list "(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0)" (( "(") (pointer_expression "*(undefined4 *)(puVar1 + -0xc5c)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xc5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xc5c)" (( "(") (binary_expression "puVar1 + -0xc5c" (identifier "puVar1") (+ "+") (number_literal "-0xc5c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (return_statement "return puVar7;" (return "return") (identifier "puVar7") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (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)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (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))))) (number_literal)))))) (return_statement (identifier)))))

ushort * MASKED(ushort *param_1)

{
  undefined *puVar1;
  ushort uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  ushort *puVar7;
  
  puVar1 = PTR_reg_section_000b5da4;
  if (-1 < (short)*param_1) {
                    /* WARNING: Subroutine does not return */
    as_abort(PTR_s_operand_000b5e4c + -0x71f0,0xdf,PTR_s_operand_000b5e4c + -0x69c4);
  }
  iVar4 = *(int *)(param_1 + 2);
  puVar7 = *(ushort **)(param_1 + 6);
  if (iVar4 != *(int *)PTR_reg_section_000b5da4) {
    uVar6 = *(undefined4 *)(param_1 + 10);
    uVar5 = *(undefined4 *)(param_1 + 8);
    uVar3 = *(undefined4 *)(param_1 + 4);
    *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) = *(int *)(PTR_mips_opcodes_000b5cd0 + -0xc64) + 1;
    puVar7 = (ushort *)symbol_new(uVar3,iVar4,uVar5,uVar6,puVar7);
    uVar2 = *puVar7;
    if ((*param_1 & 0x2000) != 0) {
      uVar2 = uVar2 & 0xdfff | 0x2000;
      *puVar7 = uVar2;
    }
    *puVar7 = uVar2 & 0xfbff | 0x400;
    symbol_table_insert(puVar7);
    uVar3 = *(undefined4 *)puVar1;
    *(ushort **)(param_1 + 6) = puVar7;
    puVar1 = PTR_mips_opcodes_000b5cd0;
    *(undefined4 *)(param_1 + 2) = uVar3;
    hash_jam(*(undefined4 *)(puVar1 + -0xc5c),*(undefined4 *)(param_1 + 4),0);
  }
  return puVar7;
}

