
symbolS * section_symbol(segT sec)

{
  symbolS *psVar1;
  segT paVar2;
  asymbol *paVar3;
  char *name;
  void *pvVar4;
  code *pcVar5;
  
  pvVar4 = sec->userdata;
  if (pvVar4 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);
  }
  if (*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0) {
    return *(symbolS **)((int)pvVar4 + 0x24);
  }
  name = sec->symbol->name;
  pcVar5 = (code *)PTR_symbol_create_000b6074;
  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {
    psVar1 = symbol_find(name);
    if (psVar1 != (symbolS *)0x0) {
      paVar2 = S_GET_SEGMENT(psVar1);
      if (sec == paVar2) {
        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;
        goto LAB_0004beb4;
      }
      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {
LAB_0004bf80:
        S_SET_SEGMENT(psVar1,sec);
        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);
        psVar1 = (symbolS *)FUN_0004beb0();
        return psVar1;
      }
    }
    name = sec->symbol->name;
    pcVar5 = (code *)PTR_symbol_new_000b5d84;
  }
  psVar1 = (symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70);
LAB_0004beb4:
  S_CLEAR_EXTERNAL(psVar1);
  if (sec->owner == (bfd *)0x0) {
    paVar3 = symbol_get_bfdsym(psVar1);
    paVar3->flags = paVar3->flags | 0x100;
    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;
  }
  else {
    symbol_set_bfdsym(psVar1,sec->symbol);
    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;
  }
  return psVar1;
}



int section_symbol(undefined *param_1)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  code *pcVar6;
  
  iVar5 = *(int *)(param_1 + 0x88);
  if (iVar5 == 0) {
                    /* WARNING: Subroutine does not return */
    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);
  }
  if (*(int *)(iVar5 + 0x24) != 0) {
    return *(int *)(iVar5 + 0x24);
  }
  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);
  pcVar6 = (code *)PTR_symbol_create_000b6074;
  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {
    iVar1 = symbol_find(uVar4);
    if (iVar1 != 0) {
      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);
      if (param_1 == puVar2) {
        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;
      }
      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;
      S_SET_SEGMENT(iVar1,param_1);
      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);
      goto LAB_0004beb4;
    }
LAB_0004bf34:
    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);
    pcVar6 = (code *)PTR_symbol_new_000b5d84;
  }
  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);
LAB_0004beb4:
  S_CLEAR_EXTERNAL(iVar1);
  if (*(int *)(param_1 + 0xb4) == 0) {
    iVar3 = symbol_get_bfdsym(iVar1);
    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;
    *(int *)(iVar5 + 0x24) = iVar1;
  }
  else {
    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));
    *(int *)(iVar5 + 0x24) = iVar1;
  }
  return iVar1;
}


lui gp,0x7
addiu gp,gp,0x1e60
addu gp,gp,t9
addiu sp,sp,-0x30
sw s2,0x28(sp)
sw gp,0x18(sp)
sw ra,0x2c(sp)
sw s1,0x24(sp)
sw s0,0x20(sp)
lw s2,0x88(a0)
beq s2,zero,0x0004bfac
_lw a2,-0x7e34(gp)
lw s0,0x24(s2)
beq s0,zero,0x0004be74
_lw ra,0x2c(sp)
or v0,s0,zero
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw v0,-0x7c70(gp)
or s1,a0,zero
lw v1,0xb8(a0)
lw v0,0x0(v0)
beq v0,zero,0x0004bef8
_lw a0,0x4(v1)
lw t9,-0x7c0c(gp)
or a3,zero,zero
or a2,zero,zero
or a1,s1,zero
lw v0,-0x7f10(gp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x18(sp)
or s0,v0,zero
lw t9,-0x79b8(gp)
bal 0x00050084
_or a0,s0,zero
lw v0,0xb4(s1)
beq v0,zero,0x0004bf50
_lw gp,0x18(sp)
lw t9,-0x79b4(gp)
or a0,s0,zero
bal 0x00052444
_lw a1,0xb8(s1)
sw s0,0x24(s2)
lw ra,0x2c(sp)
or v0,s0,zero
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7ddc(gp)
bal 0x0005078c
_nop
lw gp,0x18(sp)
beq v0,zero,0x0004bf34
_or s0,v0,zero
lw t9,-0x7dc4(gp)
bal 0x0004e33c
_or a0,v0,zero
beq s1,v0,0x0004bf70
_lw gp,0x18(sp)
lw v1,-0x7650(gp)
addiu v1,v1,0xc8
beq v0,v1,0x0004bf80
_nop
lw v0,0xb8(s1)
or a3,zero,zero
or a2,zero,zero
lw t9,-0x7efc(gp)
or a1,s1,zero
b 0x0004be9c
_lw a0,0x4(v0)
lw t9,-0x7c68(gp)
bal 0x000523d8
_or a0,s0,zero
lw v1,0x10(v0)
ori v1,v1,0x100
sw v1,0x10(v0)
b 0x0004bedc
_sw s0,0x24(s2)
lw v0,-0x7650(gp)
addiu v0,v0,0xc8
bne s1,v0,0x0004beb4
_lw t9,-0x79b8(gp)
lw t9,-0x7d70(gp)
or a1,s1,zero
bal 0x0004e380
_or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x7d6c(gp)
lw a1,-0x7f10(gp)
bal 0x00051a6c
_or a0,s0,zero
b 0x0004beb0
_lw gp,0x18(sp)
li a1,0xd8
lw a0,-0x7e34(gp)
lw t9,-0x7f94(gp)
addiu a2,a2,-0x7210
bal 0x0003e54c
_addiu a0,a0,-0x7250
(translation_unit "int section_symbol(undefined *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int section_symbol(undefined *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "section_symbol(undefined *param_1)" identifier (parameter_list "(undefined *param_1)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x88);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x88)" identifier = (pointer_expression "*(int *)(param_1 + 0x88)" * (cast_expression "(int *)(param_1 + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" { comment (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" identifier (argument_list "(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" ( (binary_expression "PTR_s_operand_000b5e4c + -0x7250" identifier + number_literal) , number_literal , (binary_expression "PTR_s_operand_000b5e4c + -0x7210" identifier + number_literal) ))) ;) })) (if_statement "if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar5 + 0x24) != 0" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(iVar5 + 0x24);\n  }" { (return_statement "return *(int *)(iVar5 + 0x24);" return (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) ;) })) (expression_statement "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (assignment_expression "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb8) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb8) + 4" (pointer_expression "*(int *)(param_1 + 0xb8)" * (cast_expression "(int *)(param_1 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "pcVar6 = (code *)PTR_symbol_create_000b6074;" (assignment_expression "pcVar6 = (code *)PTR_symbol_create_000b6074" identifier = (cast_expression "(code *)PTR_symbol_create_000b6074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }" if (parenthesized_expression "(*(int *)PTR_symbol_table_frozen_000b6010 == 0)" ( (binary_expression "*(int *)PTR_symbol_table_frozen_000b6010 == 0" (pointer_expression "*(int *)PTR_symbol_table_frozen_000b6010" * (cast_expression "(int *)PTR_symbol_table_frozen_000b6010" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }" { (expression_statement "iVar1 = symbol_find(uVar4);" (assignment_expression "iVar1 = symbol_find(uVar4)" identifier = (call_expression "symbol_find(uVar4)" identifier (argument_list "(uVar4)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }" { (expression_statement "puVar2 = (undefined *)S_GET_SEGMENT(iVar1);" (assignment_expression "puVar2 = (undefined *)S_GET_SEGMENT(iVar1)" identifier = (cast_expression "(undefined *)S_GET_SEGMENT(iVar1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "S_GET_SEGMENT(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))))) ;) (if_statement "if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" if (parenthesized_expression "(param_1 == puVar2)" ( (binary_expression "param_1 == puVar2" identifier == identifier) )) (compound_statement "{\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }" { (if_statement "if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;" if (parenthesized_expression "(param_1 != PTR__bfd_std_section_000b6630 + 200)" ( (binary_expression "param_1 != PTR__bfd_std_section_000b6630 + 200" identifier != (binary_expression "PTR__bfd_std_section_000b6630 + 200" identifier + number_literal)) )) (goto_statement "goto LAB_0004beb4;" goto statement_identifier ;)) }) (else_clause "else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" else (if_statement "if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" if (parenthesized_expression "(puVar2 != PTR__bfd_std_section_000b6630 + 200)" ( (binary_expression "puVar2 != PTR__bfd_std_section_000b6630 + 200" identifier != (binary_expression "PTR__bfd_std_section_000b6630 + 200" identifier + number_literal)) )) (goto_statement "goto LAB_0004bf34;" goto statement_identifier ;)))) (expression_statement "S_SET_SEGMENT(iVar1,param_1);" (call_expression "S_SET_SEGMENT(iVar1,param_1)" identifier (argument_list "(iVar1,param_1)" ( identifier , identifier ))) ;) (expression_statement "symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);" (call_expression "symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70)" identifier (argument_list "(iVar1,PTR_zero_address_frag_000b5d70)" ( identifier , identifier ))) ;) (goto_statement "goto LAB_0004beb4;" goto statement_identifier ;) })) (labeled_statement "LAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" statement_identifier : (expression_statement "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (assignment_expression "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb8) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb8) + 4" (pointer_expression "*(int *)(param_1 + 0xb8)" * (cast_expression "(int *)(param_1 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) + number_literal) ))))) ;)) (expression_statement "pcVar6 = (code *)PTR_symbol_new_000b5d84;" (assignment_expression "pcVar6 = (code *)PTR_symbol_new_000b5d84" identifier = (cast_expression "(code *)PTR_symbol_new_000b5d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);" (assignment_expression "iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" identifier = (call_expression "(*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" ( identifier , identifier , number_literal , number_literal , identifier )))) ;) (labeled_statement "LAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);" statement_identifier : (expression_statement "S_CLEAR_EXTERNAL(iVar1);" (call_expression "S_CLEAR_EXTERNAL(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;)) (if_statement "if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xb4) == 0)" ( (binary_expression "*(int *)(param_1 + 0xb4) == 0" (pointer_expression "*(int *)(param_1 + 0xb4)" * (cast_expression "(int *)(param_1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb4)" ( (binary_expression "param_1 + 0xb4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" { (expression_statement "iVar3 = symbol_get_bfdsym(iVar1);" (assignment_expression "iVar3 = symbol_get_bfdsym(iVar1)" identifier = (call_expression "symbol_get_bfdsym(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(int *)(iVar5 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" else (compound_statement "{\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" { (expression_statement "symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));" (call_expression "symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8))" identifier (argument_list "(iVar1,*(undefined4 *)(param_1 + 0xb8))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xb8)" * (cast_expression "(undefined4 *)(param_1 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) ))) ;) (expression_statement "*(int *)(iVar5 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) = identifier) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "symbolS * section_symbol(segT sec)\n\n{\n  symbolS *psVar1;\n  segT paVar2;\n  asymbol *paVar3;\n  char *name;\n  void *pvVar4;\n  code *pcVar5;\n  \n  pvVar4 = sec->userdata;\n  if (pvVar4 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar4 + 0x24);\n  }\n  name = sec->symbol->name;\n  pcVar5 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    psVar1 = symbol_find(name);\n    if (psVar1 != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }\n    name = sec->symbol->name;\n    pcVar5 = (code *)PTR_symbol_new_000b5d84;\n  }\n  psVar1 = (symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(psVar1);\n  if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(psVar1);\n    paVar3->flags = paVar3->flags | 0x100;\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  else {\n    symbol_set_bfdsym(psVar1,sec->symbol);\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  return psVar1;\n}\n\n" (function_definition "symbolS * section_symbol(segT sec)\n\n{\n  symbolS *psVar1;\n  segT paVar2;\n  asymbol *paVar3;\n  char *name;\n  void *pvVar4;\n  code *pcVar5;\n  \n  pvVar4 = sec->userdata;\n  if (pvVar4 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar4 + 0x24);\n  }\n  name = sec->symbol->name;\n  pcVar5 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    psVar1 = symbol_find(name);\n    if (psVar1 != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }\n    name = sec->symbol->name;\n    pcVar5 = (code *)PTR_symbol_new_000b5d84;\n  }\n  psVar1 = (symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(psVar1);\n  if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(psVar1);\n    paVar3->flags = paVar3->flags | 0x100;\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  else {\n    symbol_set_bfdsym(psVar1,sec->symbol);\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  return psVar1;\n}" type_identifier (pointer_declarator "* section_symbol(segT sec)" * (function_declarator "section_symbol(segT sec)" identifier (parameter_list "(segT sec)" ( (parameter_declaration "segT sec" type_identifier identifier) )))) (compound_statement "{\n  symbolS *psVar1;\n  segT paVar2;\n  asymbol *paVar3;\n  char *name;\n  void *pvVar4;\n  code *pcVar5;\n  \n  pvVar4 = sec->userdata;\n  if (pvVar4 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar4 + 0x24);\n  }\n  name = sec->symbol->name;\n  pcVar5 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    psVar1 = symbol_find(name);\n    if (psVar1 != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }\n    name = sec->symbol->name;\n    pcVar5 = (code *)PTR_symbol_new_000b5d84;\n  }\n  psVar1 = (symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(psVar1);\n  if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(psVar1);\n    paVar3->flags = paVar3->flags | 0x100;\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  else {\n    symbol_set_bfdsym(psVar1,sec->symbol);\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  return psVar1;\n}" { (declaration "symbolS *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "segT paVar2;" type_identifier identifier ;) (declaration "asymbol *paVar3;" type_identifier (pointer_declarator "*paVar3" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "pvVar4 = sec->userdata;" (assignment_expression "pvVar4 = sec->userdata" identifier = (field_expression "sec->userdata" identifier -> field_identifier)) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" { comment (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" identifier (argument_list "(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" ( (binary_expression "PTR_s_operand_000b5e4c + -0x7250" identifier + number_literal) , number_literal , (binary_expression "PTR_s_operand_000b5e4c + -0x7210" identifier + number_literal) ))) ;) })) (if_statement "if (*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar4 + 0x24);\n  }" if (parenthesized_expression "(*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0)" ( (binary_expression "*(symbolS **)((int)pvVar4 + 0x24) != (symbolS *)0x0" (pointer_expression "*(symbolS **)((int)pvVar4 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar4 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar4 + 0x24)" ( (binary_expression "(int)pvVar4 + 0x24" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return *(symbolS **)((int)pvVar4 + 0x24);\n  }" { (return_statement "return *(symbolS **)((int)pvVar4 + 0x24);" return (pointer_expression "*(symbolS **)((int)pvVar4 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar4 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar4 + 0x24)" ( (binary_expression "(int)pvVar4 + 0x24" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "name = sec->symbol->name;" (assignment_expression "name = sec->symbol->name" identifier = (field_expression "sec->symbol->name" (field_expression "sec->symbol" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pcVar5 = (code *)PTR_symbol_create_000b6074;" (assignment_expression "pcVar5 = (code *)PTR_symbol_create_000b6074" identifier = (cast_expression "(code *)PTR_symbol_create_000b6074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    psVar1 = symbol_find(name);\n    if (psVar1 != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }\n    name = sec->symbol->name;\n    pcVar5 = (code *)PTR_symbol_new_000b5d84;\n  }" if (parenthesized_expression "(*(int *)PTR_symbol_table_frozen_000b6010 == 0)" ( (binary_expression "*(int *)PTR_symbol_table_frozen_000b6010 == 0" (pointer_expression "*(int *)PTR_symbol_table_frozen_000b6010" * (cast_expression "(int *)PTR_symbol_table_frozen_000b6010" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    psVar1 = symbol_find(name);\n    if (psVar1 != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }\n    name = sec->symbol->name;\n    pcVar5 = (code *)PTR_symbol_new_000b5d84;\n  }" { (expression_statement "psVar1 = symbol_find(name);" (assignment_expression "psVar1 = symbol_find(name)" identifier = (call_expression "symbol_find(name)" identifier (argument_list "(name)" ( identifier )))) ;) (if_statement "if (psVar1 != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }" if (parenthesized_expression "(psVar1 != (symbolS *)0x0)" ( (binary_expression "psVar1 != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      paVar2 = S_GET_SEGMENT(psVar1);\n      if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }\n      if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }\n    }" { (expression_statement "paVar2 = S_GET_SEGMENT(psVar1);" (assignment_expression "paVar2 = S_GET_SEGMENT(psVar1)" identifier = (call_expression "S_GET_SEGMENT(psVar1)" identifier (argument_list "(psVar1)" ( identifier )))) ;) (if_statement "if (sec == paVar2) {\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }" if (parenthesized_expression "(sec == paVar2)" ( (binary_expression "sec == paVar2" identifier == identifier) )) (compound_statement "{\n        if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;\n        goto LAB_0004beb4;\n      }" { (if_statement "if (sec == (segT)(PTR__bfd_std_section_000b6630 + 200)) goto LAB_0004bf80;" if (parenthesized_expression "(sec == (segT)(PTR__bfd_std_section_000b6630 + 200))" ( (binary_expression "sec == (segT)(PTR__bfd_std_section_000b6630 + 200)" identifier == (call_expression "(segT)(PTR__bfd_std_section_000b6630 + 200)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_000b6630 + 200)" ( (binary_expression "PTR__bfd_std_section_000b6630 + 200" identifier + number_literal) )))) )) (goto_statement "goto LAB_0004bf80;" goto statement_identifier ;)) (goto_statement "goto LAB_0004beb4;" goto statement_identifier ;) })) (if_statement "if (paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)) {\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }" if (parenthesized_expression "(paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200))" ( (binary_expression "paVar2 == (segT)(PTR__bfd_std_section_000b6630 + 200)" identifier == (call_expression "(segT)(PTR__bfd_std_section_000b6630 + 200)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_000b6630 + 200)" ( (binary_expression "PTR__bfd_std_section_000b6630 + 200" identifier + number_literal) )))) )) (compound_statement "{\nLAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);\n        symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);\n        psVar1 = (symbolS *)FUN_0004beb0();\n        return psVar1;\n      }" { (labeled_statement "LAB_0004bf80:\n        S_SET_SEGMENT(psVar1,sec);" statement_identifier : (expression_statement "S_SET_SEGMENT(psVar1,sec);" (call_expression "S_SET_SEGMENT(psVar1,sec)" identifier (argument_list "(psVar1,sec)" ( identifier , identifier ))) ;)) (expression_statement "symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70);" (call_expression "symbol_set_frag(psVar1,(fragS *)PTR_zero_address_frag_000b5d70)" identifier (argument_list "(psVar1,(fragS *)PTR_zero_address_frag_000b5d70)" ( identifier , (cast_expression "(fragS *)PTR_zero_address_frag_000b5d70" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "psVar1 = (symbolS *)FUN_0004beb0();" (assignment_expression "psVar1 = (symbolS *)FUN_0004beb0()" identifier = (cast_expression "(symbolS *)FUN_0004beb0()" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004beb0()" identifier (argument_list "()" ( ))))) ;) (return_statement "return psVar1;" return identifier ;) })) })) (expression_statement "name = sec->symbol->name;" (assignment_expression "name = sec->symbol->name" identifier = (field_expression "sec->symbol->name" (field_expression "sec->symbol" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pcVar5 = (code *)PTR_symbol_new_000b5d84;" (assignment_expression "pcVar5 = (code *)PTR_symbol_new_000b5d84" identifier = (cast_expression "(code *)PTR_symbol_new_000b5d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "psVar1 = (symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70);" (assignment_expression "psVar1 = (symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70)" identifier = (cast_expression "(symbolS *)(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70)" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar5)(name,sec,0,0,PTR_zero_address_frag_000b5d70)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(name,sec,0,0,PTR_zero_address_frag_000b5d70)" ( identifier , identifier , number_literal , number_literal , identifier ))))) ;) (labeled_statement "LAB_0004beb4:\n  S_CLEAR_EXTERNAL(psVar1);" statement_identifier : (expression_statement "S_CLEAR_EXTERNAL(psVar1);" (call_expression "S_CLEAR_EXTERNAL(psVar1)" identifier (argument_list "(psVar1)" ( identifier ))) ;)) (if_statement "if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(psVar1);\n    paVar3->flags = paVar3->flags | 0x100;\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }\n  else {\n    symbol_set_bfdsym(psVar1,sec->symbol);\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }" if (parenthesized_expression "(sec->owner == (bfd *)0x0)" ( (binary_expression "sec->owner == (bfd *)0x0" (field_expression "sec->owner" identifier -> field_identifier) == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    paVar3 = symbol_get_bfdsym(psVar1);\n    paVar3->flags = paVar3->flags | 0x100;\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }" { (expression_statement "paVar3 = symbol_get_bfdsym(psVar1);" (assignment_expression "paVar3 = symbol_get_bfdsym(psVar1)" identifier = (call_expression "symbol_get_bfdsym(psVar1)" identifier (argument_list "(psVar1)" ( identifier )))) ;) (expression_statement "paVar3->flags = paVar3->flags | 0x100;" (assignment_expression "paVar3->flags = paVar3->flags | 0x100" (field_expression "paVar3->flags" identifier -> field_identifier) = (binary_expression "paVar3->flags | 0x100" (field_expression "paVar3->flags" identifier -> field_identifier) | number_literal)) ;) (expression_statement "*(symbolS **)((int)pvVar4 + 0x24) = psVar1;" (assignment_expression "*(symbolS **)((int)pvVar4 + 0x24) = psVar1" (pointer_expression "*(symbolS **)((int)pvVar4 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar4 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar4 + 0x24)" ( (binary_expression "(int)pvVar4 + 0x24" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    symbol_set_bfdsym(psVar1,sec->symbol);\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }" else (compound_statement "{\n    symbol_set_bfdsym(psVar1,sec->symbol);\n    *(symbolS **)((int)pvVar4 + 0x24) = psVar1;\n  }" { (expression_statement "symbol_set_bfdsym(psVar1,sec->symbol);" (call_expression "symbol_set_bfdsym(psVar1,sec->symbol)" identifier (argument_list "(psVar1,sec->symbol)" ( identifier , (field_expression "sec->symbol" identifier -> field_identifier) ))) ;) (expression_statement "*(symbolS **)((int)pvVar4 + 0x24) = psVar1;" (assignment_expression "*(symbolS **)((int)pvVar4 + 0x24) = psVar1" (pointer_expression "*(symbolS **)((int)pvVar4 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar4 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar4 + 0x24)" ( (binary_expression "(int)pvVar4 + 0x24" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) }))) (return_statement "return psVar1;" return identifier ;) })))
(translation_unit "int section_symbol(undefined *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int section_symbol(undefined *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "section_symbol(undefined *param_1)" identifier (parameter_list "(undefined *param_1)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar5 = *(int *)(param_1 + 0x88);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x88)" identifier = (pointer_expression "*(int *)(param_1 + 0x88)" * (cast_expression "(int *)(param_1 + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" { (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" identifier (argument_list "(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" ( (binary_expression "PTR_s_operand_000b5e4c + -0x7250" identifier + number_literal) , number_literal , (binary_expression "PTR_s_operand_000b5e4c + -0x7210" identifier + number_literal) ))) ;) })) (if_statement "if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar5 + 0x24) != 0" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(iVar5 + 0x24);\n  }" { (return_statement "return *(int *)(iVar5 + 0x24);" return (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) ;) })) (expression_statement "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (assignment_expression "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb8) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb8) + 4" (pointer_expression "*(int *)(param_1 + 0xb8)" * (cast_expression "(int *)(param_1 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "pcVar6 = (code *)PTR_symbol_create_000b6074;" (assignment_expression "pcVar6 = (code *)PTR_symbol_create_000b6074" identifier = (cast_expression "(code *)PTR_symbol_create_000b6074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }" if (parenthesized_expression "(*(int *)PTR_symbol_table_frozen_000b6010 == 0)" ( (binary_expression "*(int *)PTR_symbol_table_frozen_000b6010 == 0" (pointer_expression "*(int *)PTR_symbol_table_frozen_000b6010" * (cast_expression "(int *)PTR_symbol_table_frozen_000b6010" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }" { (expression_statement "iVar1 = symbol_find(uVar4);" (assignment_expression "iVar1 = symbol_find(uVar4)" identifier = (call_expression "symbol_find(uVar4)" identifier (argument_list "(uVar4)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }" { (expression_statement "puVar2 = (undefined *)S_GET_SEGMENT(iVar1);" (assignment_expression "puVar2 = (undefined *)S_GET_SEGMENT(iVar1)" identifier = (cast_expression "(undefined *)S_GET_SEGMENT(iVar1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "S_GET_SEGMENT(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))))) ;) (if_statement "if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" if (parenthesized_expression "(param_1 == puVar2)" ( (binary_expression "param_1 == puVar2" identifier == identifier) )) (compound_statement "{\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }" { (if_statement "if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;" if (parenthesized_expression "(param_1 != PTR__bfd_std_section_000b6630 + 200)" ( (binary_expression "param_1 != PTR__bfd_std_section_000b6630 + 200" identifier != (binary_expression "PTR__bfd_std_section_000b6630 + 200" identifier + number_literal)) )) (goto_statement "goto LAB_0004beb4;" goto statement_identifier ;)) }) (else_clause "else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" else (if_statement "if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" if (parenthesized_expression "(puVar2 != PTR__bfd_std_section_000b6630 + 200)" ( (binary_expression "puVar2 != PTR__bfd_std_section_000b6630 + 200" identifier != (binary_expression "PTR__bfd_std_section_000b6630 + 200" identifier + number_literal)) )) (goto_statement "goto LAB_0004bf34;" goto statement_identifier ;)))) (expression_statement "S_SET_SEGMENT(iVar1,param_1);" (call_expression "S_SET_SEGMENT(iVar1,param_1)" identifier (argument_list "(iVar1,param_1)" ( identifier , identifier ))) ;) (expression_statement "symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);" (call_expression "symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70)" identifier (argument_list "(iVar1,PTR_zero_address_frag_000b5d70)" ( identifier , identifier ))) ;) (goto_statement "goto LAB_0004beb4;" goto statement_identifier ;) })) (labeled_statement "LAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" statement_identifier : (expression_statement "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (assignment_expression "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb8) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb8) + 4" (pointer_expression "*(int *)(param_1 + 0xb8)" * (cast_expression "(int *)(param_1 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) + number_literal) ))))) ;)) (expression_statement "pcVar6 = (code *)PTR_symbol_new_000b5d84;" (assignment_expression "pcVar6 = (code *)PTR_symbol_new_000b5d84" identifier = (cast_expression "(code *)PTR_symbol_new_000b5d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);" (assignment_expression "iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" identifier = (call_expression "(*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" ( identifier , identifier , number_literal , number_literal , identifier )))) ;) (labeled_statement "LAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);" statement_identifier : (expression_statement "S_CLEAR_EXTERNAL(iVar1);" (call_expression "S_CLEAR_EXTERNAL(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;)) (if_statement "if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xb4) == 0)" ( (binary_expression "*(int *)(param_1 + 0xb4) == 0" (pointer_expression "*(int *)(param_1 + 0xb4)" * (cast_expression "(int *)(param_1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb4)" ( (binary_expression "param_1 + 0xb4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" { (expression_statement "iVar3 = symbol_get_bfdsym(iVar1);" (assignment_expression "iVar3 = symbol_get_bfdsym(iVar1)" identifier = (call_expression "symbol_get_bfdsym(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(int *)(iVar5 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" else (compound_statement "{\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" { (expression_statement "symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));" (call_expression "symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8))" identifier (argument_list "(iVar1,*(undefined4 *)(param_1 + 0xb8))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xb8)" * (cast_expression "(undefined4 *)(param_1 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) ))) ;) (expression_statement "*(int *)(iVar5 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) = identifier) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return (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 (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 *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 *)) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , LIT , IDENT )))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( 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) )))) = IDENT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int section_symbol(undefined *param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "section_symbol(undefined *param_1)" (identifier "section_symbol") (parameter_list "(undefined *param_1)" (( "(") (parameter_declaration "undefined *param_1" (type_identifier "undefined") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *(int *)(param_1 + 0x88);\n  if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }\n  if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }\n  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n  pcVar6 = (code *)PTR_symbol_create_000b6074;\n  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }\n  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);\nLAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);\n  if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "iVar5 = *(int *)(param_1 + 0x88);" (assignment_expression "iVar5 = *(int *)(param_1 + 0x88)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_1 + 0x88)" (* "*") (cast_expression "(int *)(param_1 + 0x88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (if_statement "if (iVar5 == 0) {\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);\n  }" ({ "{") (expression_statement "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);" (call_expression "as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" (identifier "as_abort") (argument_list "(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210)" (( "(") (binary_expression "PTR_s_operand_000b5e4c + -0x7250" (identifier "PTR_s_operand_000b5e4c") (+ "+") (number_literal "-0x7250")) (, ",") (number_literal "0xd8") (, ",") (binary_expression "PTR_s_operand_000b5e4c + -0x7210" (identifier "PTR_s_operand_000b5e4c") (+ "+") (number_literal "-0x7210")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar5 + 0x24) != 0) {\n    return *(int *)(iVar5 + 0x24);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(iVar5 + 0x24) != 0" (pointer_expression "*(int *)(iVar5 + 0x24)" (* "*") (cast_expression "(int *)(iVar5 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x24)" (( "(") (binary_expression "iVar5 + 0x24" (identifier "iVar5") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(int *)(iVar5 + 0x24);\n  }" ({ "{") (return_statement "return *(int *)(iVar5 + 0x24);" (return "return") (pointer_expression "*(int *)(iVar5 + 0x24)" (* "*") (cast_expression "(int *)(iVar5 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x24)" (( "(") (binary_expression "iVar5 + 0x24" (identifier "iVar5") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (assignment_expression "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xb8) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xb8) + 4" (pointer_expression "*(int *)(param_1 + 0xb8)" (* "*") (cast_expression "(int *)(param_1 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb8)" (( "(") (binary_expression "param_1 + 0xb8" (identifier "param_1") (+ "+") (number_literal "0xb8")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "pcVar6 = (code *)PTR_symbol_create_000b6074;" (assignment_expression "pcVar6 = (code *)PTR_symbol_create_000b6074" (identifier "pcVar6") (= "=") (cast_expression "(code *)PTR_symbol_create_000b6074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_symbol_create_000b6074"))) (; ";")) (if_statement "if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_symbol_table_frozen_000b6010 == 0)" (( "(") (binary_expression "*(int *)PTR_symbol_table_frozen_000b6010 == 0" (pointer_expression "*(int *)PTR_symbol_table_frozen_000b6010" (* "*") (cast_expression "(int *)PTR_symbol_table_frozen_000b6010" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_symbol_table_frozen_000b6010"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = symbol_find(uVar4);\n    if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }\nLAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);\n    pcVar6 = (code *)PTR_symbol_new_000b5d84;\n  }" ({ "{") (expression_statement "iVar1 = symbol_find(uVar4);" (assignment_expression "iVar1 = symbol_find(uVar4)" (identifier "iVar1") (= "=") (call_expression "symbol_find(uVar4)" (identifier "symbol_find") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);\n      if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;\n      S_SET_SEGMENT(iVar1,param_1);\n      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);\n      goto LAB_0004beb4;\n    }" ({ "{") (expression_statement "puVar2 = (undefined *)S_GET_SEGMENT(iVar1);" (assignment_expression "puVar2 = (undefined *)S_GET_SEGMENT(iVar1)" (identifier "puVar2") (= "=") (cast_expression "(undefined *)S_GET_SEGMENT(iVar1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "S_GET_SEGMENT(iVar1)" (identifier "S_GET_SEGMENT") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))))) (; ";")) (if_statement "if (param_1 == puVar2) {\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }\n      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" (if "if") (parenthesized_expression "(param_1 == puVar2)" (( "(") (binary_expression "param_1 == puVar2" (identifier "param_1") (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\n        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;\n      }" ({ "{") (if_statement "if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;" (if "if") (parenthesized_expression "(param_1 != PTR__bfd_std_section_000b6630 + 200)" (( "(") (binary_expression "param_1 != PTR__bfd_std_section_000b6630 + 200" (identifier "param_1") (!= "!=") (binary_expression "PTR__bfd_std_section_000b6630 + 200" (identifier "PTR__bfd_std_section_000b6630") (+ "+") (number_literal "200"))) () ")")) (goto_statement "goto LAB_0004beb4;" (goto "goto") (statement_identifier "LAB_0004beb4") (; ";"))) (} "}")) (else_clause "else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" (else "else") (if_statement "if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;" (if "if") (parenthesized_expression "(puVar2 != PTR__bfd_std_section_000b6630 + 200)" (( "(") (binary_expression "puVar2 != PTR__bfd_std_section_000b6630 + 200" (identifier "puVar2") (!= "!=") (binary_expression "PTR__bfd_std_section_000b6630 + 200" (identifier "PTR__bfd_std_section_000b6630") (+ "+") (number_literal "200"))) () ")")) (goto_statement "goto LAB_0004bf34;" (goto "goto") (statement_identifier "LAB_0004bf34") (; ";"))))) (expression_statement "S_SET_SEGMENT(iVar1,param_1);" (call_expression "S_SET_SEGMENT(iVar1,param_1)" (identifier "S_SET_SEGMENT") (argument_list "(iVar1,param_1)" (( "(") (identifier "iVar1") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);" (call_expression "symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70)" (identifier "symbol_set_frag") (argument_list "(iVar1,PTR_zero_address_frag_000b5d70)" (( "(") (identifier "iVar1") (, ",") (identifier "PTR_zero_address_frag_000b5d70") () ")"))) (; ";")) (goto_statement "goto LAB_0004beb4;" (goto "goto") (statement_identifier "LAB_0004beb4") (; ";")) (} "}"))) (labeled_statement "LAB_0004bf34:\n    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (statement_identifier "LAB_0004bf34") (: ":") (expression_statement "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);" (assignment_expression "uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb8) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xb8) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xb8) + 4" (pointer_expression "*(int *)(param_1 + 0xb8)" (* "*") (cast_expression "(int *)(param_1 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb8)" (( "(") (binary_expression "param_1 + 0xb8" (identifier "param_1") (+ "+") (number_literal "0xb8")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";"))) (expression_statement "pcVar6 = (code *)PTR_symbol_new_000b5d84;" (assignment_expression "pcVar6 = (code *)PTR_symbol_new_000b5d84" (identifier "pcVar6") (= "=") (cast_expression "(code *)PTR_symbol_new_000b5d84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_symbol_new_000b5d84"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);" (assignment_expression "iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" (identifier "iVar1") (= "=") (call_expression "(*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70)" (( "(") (identifier "uVar4") (, ",") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "PTR_zero_address_frag_000b5d70") () ")")))) (; ";")) (labeled_statement "LAB_0004beb4:\n  S_CLEAR_EXTERNAL(iVar1);" (statement_identifier "LAB_0004beb4") (: ":") (expression_statement "S_CLEAR_EXTERNAL(iVar1);" (call_expression "S_CLEAR_EXTERNAL(iVar1)" (identifier "S_CLEAR_EXTERNAL") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";"))) (if_statement "if (*(int *)(param_1 + 0xb4) == 0) {\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }\n  else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xb4) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xb4) == 0" (pointer_expression "*(int *)(param_1 + 0xb4)" (* "*") (cast_expression "(int *)(param_1 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb4)" (( "(") (binary_expression "param_1 + 0xb4" (identifier "param_1") (+ "+") (number_literal "0xb4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = symbol_get_bfdsym(iVar1);\n    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" ({ "{") (expression_statement "iVar3 = symbol_get_bfdsym(iVar1);" (assignment_expression "iVar3 = symbol_get_bfdsym(iVar1)" (identifier "iVar3") (= "=") (call_expression "symbol_get_bfdsym(iVar1)" (identifier "symbol_get_bfdsym") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;" (assignment_expression "*(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar3 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (| "|") (number_literal "0x100"))) (; ";")) (expression_statement "*(int *)(iVar5 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar5 + 0x24)" (* "*") (cast_expression "(int *)(iVar5 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x24)" (( "(") (binary_expression "iVar5 + 0x24" (identifier "iVar5") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (} "}")) (else_clause "else {\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" (else "else") (compound_statement "{\n    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));\n    *(int *)(iVar5 + 0x24) = iVar1;\n  }" ({ "{") (expression_statement "symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));" (call_expression "symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8))" (identifier "symbol_set_bfdsym") (argument_list "(iVar1,*(undefined4 *)(param_1 + 0xb8))" (( "(") (identifier "iVar1") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xb8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xb8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb8)" (( "(") (binary_expression "param_1 + 0xb8" (identifier "param_1") (+ "+") (number_literal "0xb8")) () ")")))) () ")"))) (; ";")) (expression_statement "*(int *)(iVar5 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar5 + 0x24)" (* "*") (cast_expression "(int *)(iVar5 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x24)" (( "(") (binary_expression "iVar5 + 0x24" (identifier "iVar5") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (} "}")))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

type_1 * function_1(type_2 var_7)

{
  type_1 *var_5;
  type_2 var_8;
  type_3 *paVar3;
  char *name;
  void *var_1;
  type_4 *pcVar5;
  
  var_1 = var_7->userdata;
  if (var_1 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2(var_3 + -0x7250,0xd8,var_3 + -0x7210);
  }
  if (*(type_1 **)((int)var_1 + 0x24) != (type_1 *)0x0) {
    return *(type_1 **)((int)var_1 + 0x24);
  }
  name = var_7->symbol->name;
  pcVar5 = (type_4 *)PTR_symbol_create_000b6074;
  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {
    var_5 = var_4(name);
    if (var_5 != (type_1 *)0x0) {
      var_8 = var_6(var_5);
      if (var_7 == var_8) {
        if (var_7 == (type_2)(var_9 + 200)) goto LAB_0004bf80;
        goto LAB_0004beb4;
      }
      if (var_8 == (type_2)(var_9 + 200)) {
LAB_0004bf80:
        var_10(var_5,var_7);
        var_11(var_5,(type_5 *)PTR_zero_address_frag_000b5d70);
        var_5 = (type_1 *)var_12();
        return var_5;
      }
    }
    name = var_7->symbol->name;
    pcVar5 = (type_4 *)PTR_symbol_new_000b5d84;
  }
  var_5 = (type_1 *)(*pcVar5)(name,var_7,0,0,PTR_zero_address_frag_000b5d70);
LAB_0004beb4:
  var_13(var_5);
  if (var_7->owner == (type_6 *)0x0) {
    paVar3 = var_14(var_5);
    paVar3->flags = paVar3->flags | 0x100;
    *(type_1 **)((int)var_1 + 0x24) = var_5;
  }
  else {
    var_15(var_5,var_7->symbol);
    *(type_1 **)((int)var_1 + 0x24) = var_5;
  }
  return var_5;
}


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

int MASKED(undefined *param_1)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  code *pcVar6;
  
  iVar5 = *(int *)(param_1 + 0x88);
  if (iVar5 == 0) {
                    /* WARNING: Subroutine does not return */
    as_abort(PTR_s_operand_000b5e4c + -0x7250,0xd8,PTR_s_operand_000b5e4c + -0x7210);
  }
  if (*(int *)(iVar5 + 0x24) != 0) {
    return *(int *)(iVar5 + 0x24);
  }
  uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);
  pcVar6 = (code *)PTR_symbol_create_000b6074;
  if (*(int *)PTR_symbol_table_frozen_000b6010 == 0) {
    iVar1 = symbol_find(uVar4);
    if (iVar1 != 0) {
      puVar2 = (undefined *)S_GET_SEGMENT(iVar1);
      if (param_1 == puVar2) {
        if (param_1 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004beb4;
      }
      else if (puVar2 != PTR__bfd_std_section_000b6630 + 200) goto LAB_0004bf34;
      S_SET_SEGMENT(iVar1,param_1);
      symbol_set_frag(iVar1,PTR_zero_address_frag_000b5d70);
      goto LAB_0004beb4;
    }
LAB_0004bf34:
    uVar4 = *(undefined4 *)(*(int *)(param_1 + 0xb8) + 4);
    pcVar6 = (code *)PTR_symbol_new_000b5d84;
  }
  iVar1 = (*pcVar6)(uVar4,param_1,0,0,PTR_zero_address_frag_000b5d70);
LAB_0004beb4:
  S_CLEAR_EXTERNAL(iVar1);
  if (*(int *)(param_1 + 0xb4) == 0) {
    iVar3 = symbol_get_bfdsym(iVar1);
    *(uint *)(iVar3 + 0x10) = *(uint *)(iVar3 + 0x10) | 0x100;
    *(int *)(iVar5 + 0x24) = iVar1;
  }
  else {
    symbol_set_bfdsym(iVar1,*(undefined4 *)(param_1 + 0xb8));
    *(int *)(iVar5 + 0x24) = iVar1;
  }
  return iVar1;
}

