
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

symbolS * section_symbol(segT sec)

{
  void *pvVar1;
  char *name;
  symbolS *s;
  segT paVar2;
  asymbol *paVar3;
  
  pvVar1 = sec->userdata;
  if (pvVar1 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    as_abort("../../gas/subsegs.c",0xd8,"section_symbol");
  }
  if (*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0) {
    return *(symbolS **)((int)pvVar1 + 0x24);
  }
  name = sec->symbol->name;
  if (symbol_table_frozen == 0) {
    s = symbol_find(name);
    if (s != (symbolS *)0x0) {
      paVar2 = S_GET_SEGMENT(s);
      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {
        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {
          S_SET_SEGMENT(s,sec);
          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);
        }
        goto LAB_0003c346;
      }
    }
    s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);
  }
  else {
    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);
  }
LAB_0003c346:
  S_CLEAR_EXTERNAL(s);
  if (sec->owner == (bfd *)0x0) {
    paVar3 = symbol_get_bfdsym(s);
    paVar3->flags = paVar3->flags | 0x100;
  }
  else {
    symbol_set_bfdsym(s,sec->symbol);
  }
  *(symbolS **)((int)pvVar1 + 0x24) = s;
  return s;
}



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

int FUN_0003c2e0(undefined *param_1)

{
  int iVar1;
  int iVar2;
  undefined *puVar3;
  int iVar4;
  
  iVar1 = *(int *)(param_1 + 0x80);
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);
  }
  if (*(int *)(iVar1 + 0x24) != 0) {
    return *(int *)(iVar1 + 0x24);
  }
  if (DAT_0008171c == 0) {
    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));
    if (iVar2 != 0) {
      puVar3 = (undefined *)FUN_0003e1d0(iVar2);
      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {
        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {
          FUN_0003e210(iVar2,param_1);
          FUN_00040e80(iVar2,PTR_DAT_00077f60);
        }
        goto LAB_0003c346;
      }
    }
    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)
    ;
  }
  else {
    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)
    ;
  }
LAB_0003c346:
  FUN_0003fbb0(iVar2);
  if (*(int *)(param_1 + 0xac) == 0) {
    iVar4 = FUN_000414f0(iVar2);
    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;
  }
  else {
    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));
  }
  *(int *)(iVar1 + 0x24) = iVar2;
  return iVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016070
ADD EBX,0x3bd17
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [EDI + 0x80]
TEST EBP,EBP
JZ 0x0003c42e
MOV ESI,dword ptr [EBP + 0x24]
TEST ESI,ESI
JZ 0x0003c318
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + 0x971c]
MOV EAX,dword ptr [EDI + 0xb0]
MOV ESI,dword ptr [EDX]
MOV EAX,dword ptr [EAX + 0x4]
TEST ESI,ESI
JZ 0x0003c380
SUB ESP,0xc
PUSH dword ptr [EBX + 0xffffff60]
PUSH 0x0
PUSH 0x0
PUSH EDI
PUSH EAX
CALL 0x0003e2a0
ADD ESP,0x20
MOV ESI,EAX
SUB ESP,0xc
PUSH ESI
CALL 0x0003fbb0
MOV EAX,dword ptr [EDI + 0xac]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003c3e0
SUB ESP,0x8
PUSH dword ptr [EDI + 0xb0]
PUSH ESI
CALL 0x00041540
ADD ESP,0x10
MOV dword ptr [EBP + 0x24],ESI
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EAX
CALL 0x000400c0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0003c3b2
SUB ESP,0xc
PUSH EAX
CALL 0x0003e1d0
ADD ESP,0x10
MOV EDX,dword ptr [EBX + 0xffffffa0]
CMP EDI,EAX
JZ 0x0003c400
LEA ECX,[EDX + 0xc0]
CMP EAX,ECX
JZ 0x0003c400
MOV EAX,dword ptr [EDI + 0xb0]
SUB ESP,0xc
PUSH dword ptr [EBX + 0xffffff60]
PUSH 0x0
PUSH 0x0
PUSH EDI
PUSH dword ptr [EAX + 0x4]
CALL 0x0003e420
ADD ESP,0x20
MOV ESI,EAX
JMP 0x0003c346
SUB ESP,0xc
PUSH ESI
CALL 0x000414f0
ADD ESP,0x10
OR dword ptr [EAX + 0x10],0x100
JMP 0x0003c372
ADD EDX,0xc0
CMP EAX,EDX
JNZ 0x0003c346
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL 0x0003e210
POP EDX
POP ECX
PUSH dword ptr [EBX + 0xffffff60]
PUSH ESI
CALL 0x00040e80
ADD ESP,0x10
JMP 0x0003c346
LEA EAX,[EBX + 0xfffe3a4c]
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xfffe3a13]
PUSH 0xd8
PUSH EAX
CALL 0x00031740
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0003c2e0(undefined *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}\n\n" comment (function_definition "int FUN_0003c2e0(undefined *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0003c2e0(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  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x80);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x80)" identifier = (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }" { comment (expression_statement "FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);" (call_expression "FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1)" identifier (argument_list "("../../gas/subsegs.c",0xd8,"section_symbol",param_1)" ( (string_literal ""../../gas/subsegs.c"" " string_content ") , number_literal , (string_literal ""section_symbol"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(iVar1 + 0x24);\n  }" { (return_statement "return *(int *)(iVar1 + 0x24);" return (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) ;) })) (if_statement "if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" if (parenthesized_expression "(DAT_0008171c == 0)" ( (binary_expression "DAT_0008171c == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" { (expression_statement "iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));" (assignment_expression "iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" identifier = (call_expression "FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" * (cast_expression "(int *)(param_1 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" { (expression_statement "puVar3 = (undefined *)FUN_0003e1d0(iVar2);" (assignment_expression "puVar3 = (undefined *)FUN_0003e1d0(iVar2)" identifier = (cast_expression "(undefined *)FUN_0003e1d0(iVar2)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003e1d0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (if_statement "if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }" if (parenthesized_expression "((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0))" ( (binary_expression "(param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" (parenthesized_expression "(param_1 == puVar3)" ( (binary_expression "param_1 == puVar3" identifier == identifier) )) || (parenthesized_expression "(puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" ( (binary_expression "puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }" { (if_statement "if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }" if (parenthesized_expression "(puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" ( (binary_expression "puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" identifier + number_literal)) )) (compound_statement "{\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }" { (expression_statement "FUN_0003e210(iVar2,param_1);" (call_expression "FUN_0003e210(iVar2,param_1)" identifier (argument_list "(iVar2,param_1)" ( identifier , identifier ))) ;) (expression_statement "FUN_00040e80(iVar2,PTR_DAT_00077f60);" (call_expression "FUN_00040e80(iVar2,PTR_DAT_00077f60)" identifier (argument_list "(iVar2,PTR_DAT_00077f60)" ( identifier , identifier ))) ;) })) (goto_statement "goto LAB_0003c346;" goto statement_identifier ;) })) })) (expression_statement "iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;" (assignment_expression "iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier = (call_expression "FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" * (cast_expression "(int *)(param_1 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) + number_literal) )))) , identifier , number_literal , number_literal , identifier )))) ;) }) (else_clause "else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" else (compound_statement "{\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" { (expression_statement "iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;" (assignment_expression "iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier = (call_expression "FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" * (cast_expression "(int *)(param_1 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) + number_literal) )))) , identifier , number_literal , number_literal , identifier )))) ;) }))) (labeled_statement "LAB_0003c346:\n  FUN_0003fbb0(iVar2);" statement_identifier : (expression_statement "FUN_0003fbb0(iVar2);" (call_expression "FUN_0003fbb0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;)) (if_statement "if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xac) == 0)" ( (binary_expression "*(int *)(param_1 + 0xac) == 0" (pointer_expression "*(int *)(param_1 + 0xac)" * (cast_expression "(int *)(param_1 + 0xac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xac)" ( (binary_expression "param_1 + 0xac" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }" { (expression_statement "iVar4 = FUN_000414f0(iVar2);" (assignment_expression "iVar4 = FUN_000414f0(iVar2)" identifier = (call_expression "FUN_000414f0(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "*(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;" (assignment_expression "*(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) | number_literal)) ;) }) (else_clause "else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" else (compound_statement "{\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" { (expression_statement "FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));" (call_expression "FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0))" identifier (argument_list "(iVar2,*(undefined4 *)(param_1 + 0xb0))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xb0)" * (cast_expression "(undefined4 *)(param_1 + 0xb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) ))) ;) }))) (expression_statement "*(int *)(iVar1 + 0x24) = iVar2;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar2" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nsymbolS * section_symbol(segT sec)\n\n{\n  void *pvVar1;\n  char *name;\n  symbolS *s;\n  segT paVar2;\n  asymbol *paVar3;\n  \n  pvVar1 = sec->userdata;\n  if (pvVar1 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/subsegs.c",0xd8,"section_symbol");\n  }\n  if (*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar1 + 0x24);\n  }\n  name = sec->symbol->name;\n  if (symbol_table_frozen == 0) {\n    s = symbol_find(name);\n    if (s != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\n  else {\n    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\nLAB_0003c346:\n  S_CLEAR_EXTERNAL(s);\n  if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(s);\n    paVar3->flags = paVar3->flags | 0x100;\n  }\n  else {\n    symbol_set_bfdsym(s,sec->symbol);\n  }\n  *(symbolS **)((int)pvVar1 + 0x24) = s;\n  return s;\n}\n\n" comment comment (function_definition "symbolS * section_symbol(segT sec)\n\n{\n  void *pvVar1;\n  char *name;\n  symbolS *s;\n  segT paVar2;\n  asymbol *paVar3;\n  \n  pvVar1 = sec->userdata;\n  if (pvVar1 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/subsegs.c",0xd8,"section_symbol");\n  }\n  if (*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar1 + 0x24);\n  }\n  name = sec->symbol->name;\n  if (symbol_table_frozen == 0) {\n    s = symbol_find(name);\n    if (s != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\n  else {\n    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\nLAB_0003c346:\n  S_CLEAR_EXTERNAL(s);\n  if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(s);\n    paVar3->flags = paVar3->flags | 0x100;\n  }\n  else {\n    symbol_set_bfdsym(s,sec->symbol);\n  }\n  *(symbolS **)((int)pvVar1 + 0x24) = s;\n  return s;\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  void *pvVar1;\n  char *name;\n  symbolS *s;\n  segT paVar2;\n  asymbol *paVar3;\n  \n  pvVar1 = sec->userdata;\n  if (pvVar1 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/subsegs.c",0xd8,"section_symbol");\n  }\n  if (*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar1 + 0x24);\n  }\n  name = sec->symbol->name;\n  if (symbol_table_frozen == 0) {\n    s = symbol_find(name);\n    if (s != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\n  else {\n    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\nLAB_0003c346:\n  S_CLEAR_EXTERNAL(s);\n  if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(s);\n    paVar3->flags = paVar3->flags | 0x100;\n  }\n  else {\n    symbol_set_bfdsym(s,sec->symbol);\n  }\n  *(symbolS **)((int)pvVar1 + 0x24) = s;\n  return s;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "symbolS *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (declaration "segT paVar2;" type_identifier identifier ;) (declaration "asymbol *paVar3;" type_identifier (pointer_declarator "*paVar3" * identifier) ;) (expression_statement "pvVar1 = sec->userdata;" (assignment_expression "pvVar1 = sec->userdata" identifier = (field_expression "sec->userdata" identifier -> field_identifier)) ;) (if_statement "if (pvVar1 == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/subsegs.c",0xd8,"section_symbol");\n  }" if (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (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("../../gas/subsegs.c",0xd8,"section_symbol");\n  }" { comment (expression_statement "as_abort("../../gas/subsegs.c",0xd8,"section_symbol");" (call_expression "as_abort("../../gas/subsegs.c",0xd8,"section_symbol")" identifier (argument_list "("../../gas/subsegs.c",0xd8,"section_symbol")" ( (string_literal ""../../gas/subsegs.c"" " string_content ") , number_literal , (string_literal ""section_symbol"" " string_content ") ))) ;) })) (if_statement "if (*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0) {\n    return *(symbolS **)((int)pvVar1 + 0x24);\n  }" if (parenthesized_expression "(*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0)" ( (binary_expression "*(symbolS **)((int)pvVar1 + 0x24) != (symbolS *)0x0" (pointer_expression "*(symbolS **)((int)pvVar1 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar1 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar1 + 0x24)" ( (binary_expression "(int)pvVar1 + 0x24" (cast_expression "(int)pvVar1" ( (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)pvVar1 + 0x24);\n  }" { (return_statement "return *(symbolS **)((int)pvVar1 + 0x24);" return (pointer_expression "*(symbolS **)((int)pvVar1 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar1 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar1 + 0x24)" ( (binary_expression "(int)pvVar1 + 0x24" (cast_expression "(int)pvVar1" ( (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)) ;) (if_statement "if (symbol_table_frozen == 0) {\n    s = symbol_find(name);\n    if (s != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }\n  else {\n    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }" if (parenthesized_expression "(symbol_table_frozen == 0)" ( (binary_expression "symbol_table_frozen == 0" identifier == number_literal) )) (compound_statement "{\n    s = symbol_find(name);\n    if (s != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }" { (expression_statement "s = symbol_find(name);" (assignment_expression "s = symbol_find(name)" identifier = (call_expression "symbol_find(name)" identifier (argument_list "(name)" ( identifier )))) ;) (if_statement "if (s != (symbolS *)0x0) {\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" if (parenthesized_expression "(s != (symbolS *)0x0)" ( (binary_expression "s != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      paVar2 = S_GET_SEGMENT(s);\n      if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" { (expression_statement "paVar2 = S_GET_SEGMENT(s);" (assignment_expression "paVar2 = S_GET_SEGMENT(s)" identifier = (call_expression "S_GET_SEGMENT(s)" identifier (argument_list "(s)" ( identifier )))) ;) (if_statement "if ((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))) {\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }" if (parenthesized_expression "((sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)))" ( (binary_expression "(sec == paVar2) || (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))" (parenthesized_expression "(sec == paVar2)" ( (binary_expression "sec == paVar2" identifier == identifier) )) || (parenthesized_expression "(paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))" ( (binary_expression "paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)" identifier == (call_expression "(segT)(PTR__bfd_std_section_00077fa0 + 0xc0)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_00077fa0 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" identifier + number_literal) )))) ))) )) (compound_statement "{\n        if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }\n        goto LAB_0003c346;\n      }" { (if_statement "if (paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)) {\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }" if (parenthesized_expression "(paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0))" ( (binary_expression "paVar2 == (segT)(PTR__bfd_std_section_00077fa0 + 0xc0)" identifier == (call_expression "(segT)(PTR__bfd_std_section_00077fa0 + 0xc0)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_00077fa0 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" identifier + number_literal) )))) )) (compound_statement "{\n          S_SET_SEGMENT(s,sec);\n          symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);\n        }" { (expression_statement "S_SET_SEGMENT(s,sec);" (call_expression "S_SET_SEGMENT(s,sec)" identifier (argument_list "(s,sec)" ( identifier , identifier ))) ;) (expression_statement "symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60);" (call_expression "symbol_set_frag(s,(fragS *)PTR_zero_address_frag_00077f60)" identifier (argument_list "(s,(fragS *)PTR_zero_address_frag_00077f60)" ( identifier , (cast_expression "(fragS *)PTR_zero_address_frag_00077f60" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (goto_statement "goto LAB_0003c346;" goto statement_identifier ;) })) })) (expression_statement "s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);" (assignment_expression "s = symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60)" identifier = (call_expression "symbol_new(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60)" identifier (argument_list "(sec->symbol->name,sec,0,(fragS *)PTR_zero_address_frag_00077f60)" ( (field_expression "sec->symbol->name" (field_expression "sec->symbol" identifier -> field_identifier) -> field_identifier) , identifier , number_literal , (cast_expression "(fragS *)PTR_zero_address_frag_00077f60" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) }) (else_clause "else {\n    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }" else (compound_statement "{\n    s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);\n  }" { (expression_statement "s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60);" (assignment_expression "s = symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60)" identifier = (call_expression "symbol_create(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60)" identifier (argument_list "(name,sec,0,(fragS *)PTR_zero_address_frag_00077f60)" ( identifier , identifier , number_literal , (cast_expression "(fragS *)PTR_zero_address_frag_00077f60" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) }))) (labeled_statement "LAB_0003c346:\n  S_CLEAR_EXTERNAL(s);" statement_identifier : (expression_statement "S_CLEAR_EXTERNAL(s);" (call_expression "S_CLEAR_EXTERNAL(s)" identifier (argument_list "(s)" ( identifier ))) ;)) (if_statement "if (sec->owner == (bfd *)0x0) {\n    paVar3 = symbol_get_bfdsym(s);\n    paVar3->flags = paVar3->flags | 0x100;\n  }\n  else {\n    symbol_set_bfdsym(s,sec->symbol);\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(s);\n    paVar3->flags = paVar3->flags | 0x100;\n  }" { (expression_statement "paVar3 = symbol_get_bfdsym(s);" (assignment_expression "paVar3 = symbol_get_bfdsym(s)" identifier = (call_expression "symbol_get_bfdsym(s)" identifier (argument_list "(s)" ( 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)) ;) }) (else_clause "else {\n    symbol_set_bfdsym(s,sec->symbol);\n  }" else (compound_statement "{\n    symbol_set_bfdsym(s,sec->symbol);\n  }" { (expression_statement "symbol_set_bfdsym(s,sec->symbol);" (call_expression "symbol_set_bfdsym(s,sec->symbol)" identifier (argument_list "(s,sec->symbol)" ( identifier , (field_expression "sec->symbol" identifier -> field_identifier) ))) ;) }))) (expression_statement "*(symbolS **)((int)pvVar1 + 0x24) = s;" (assignment_expression "*(symbolS **)((int)pvVar1 + 0x24) = s" (pointer_expression "*(symbolS **)((int)pvVar1 + 0x24)" * (cast_expression "(symbolS **)((int)pvVar1 + 0x24)" ( (type_descriptor "symbolS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar1 + 0x24)" ( (binary_expression "(int)pvVar1 + 0x24" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return s;" return identifier ;) })))
(translation_unit "int FUN_0003c2e0(undefined *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}\n\n" (function_definition "int FUN_0003c2e0(undefined *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0003c2e0(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  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x80);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x80)" identifier = (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }" { (expression_statement "FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);" (call_expression "FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1)" identifier (argument_list "("../../gas/subsegs.c",0xd8,"section_symbol",param_1)" ( (string_literal ""../../gas/subsegs.c"" " string_content ") , number_literal , (string_literal ""section_symbol"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(iVar1 + 0x24);\n  }" { (return_statement "return *(int *)(iVar1 + 0x24);" return (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) ;) })) (if_statement "if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" if (parenthesized_expression "(DAT_0008171c == 0)" ( (binary_expression "DAT_0008171c == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" { (expression_statement "iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));" (assignment_expression "iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" identifier = (call_expression "FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" * (cast_expression "(int *)(param_1 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" { (expression_statement "puVar3 = (undefined *)FUN_0003e1d0(iVar2);" (assignment_expression "puVar3 = (undefined *)FUN_0003e1d0(iVar2)" identifier = (cast_expression "(undefined *)FUN_0003e1d0(iVar2)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003e1d0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (if_statement "if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }" if (parenthesized_expression "((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0))" ( (binary_expression "(param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" (parenthesized_expression "(param_1 == puVar3)" ( (binary_expression "param_1 == puVar3" identifier == identifier) )) || (parenthesized_expression "(puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" ( (binary_expression "puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }" { (if_statement "if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }" if (parenthesized_expression "(puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" ( (binary_expression "puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" identifier + number_literal)) )) (compound_statement "{\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }" { (expression_statement "FUN_0003e210(iVar2,param_1);" (call_expression "FUN_0003e210(iVar2,param_1)" identifier (argument_list "(iVar2,param_1)" ( identifier , identifier ))) ;) (expression_statement "FUN_00040e80(iVar2,PTR_DAT_00077f60);" (call_expression "FUN_00040e80(iVar2,PTR_DAT_00077f60)" identifier (argument_list "(iVar2,PTR_DAT_00077f60)" ( identifier , identifier ))) ;) })) (goto_statement "goto LAB_0003c346;" goto statement_identifier ;) })) })) (expression_statement "iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;" (assignment_expression "iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier = (call_expression "FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" * (cast_expression "(int *)(param_1 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) + number_literal) )))) , identifier , number_literal , number_literal , identifier )))) ;) }) (else_clause "else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" else (compound_statement "{\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" { (expression_statement "iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;" (assignment_expression "iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier = (call_expression "FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" ( (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" * (cast_expression "(int *)(param_1 + 0xb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) + number_literal) )))) , identifier , number_literal , number_literal , identifier )))) ;) }))) (labeled_statement "LAB_0003c346:\n  FUN_0003fbb0(iVar2);" statement_identifier : (expression_statement "FUN_0003fbb0(iVar2);" (call_expression "FUN_0003fbb0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;)) (if_statement "if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xac) == 0)" ( (binary_expression "*(int *)(param_1 + 0xac) == 0" (pointer_expression "*(int *)(param_1 + 0xac)" * (cast_expression "(int *)(param_1 + 0xac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xac)" ( (binary_expression "param_1 + 0xac" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }" { (expression_statement "iVar4 = FUN_000414f0(iVar2);" (assignment_expression "iVar4 = FUN_000414f0(iVar2)" identifier = (call_expression "FUN_000414f0(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "*(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;" (assignment_expression "*(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) | number_literal)) ;) }) (else_clause "else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" else (compound_statement "{\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" { (expression_statement "FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));" (call_expression "FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0))" identifier (argument_list "(iVar2,*(undefined4 *)(param_1 + 0xb0))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xb0)" * (cast_expression "(undefined4 *)(param_1 + 0xb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) ))) ;) }))) (expression_statement "*(int *)(iVar1 + 0x24) = iVar2;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar2" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar2;" 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , 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 { (return_statement return (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 (assignment_expression IDENT = (call_expression IDENT (argument_list ( (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) )))) )))) ;) (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 (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (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) )))) , IDENT , LIT , LIT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (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) )))) , 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)) ;) }) (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 FUN_0003c2e0(undefined *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_0003c2e0(undefined *param_1)" (identifier "FUN_0003c2e0") (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  int iVar2;\n  undefined *puVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 0x80);\n  if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }\n  if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\nLAB_0003c346:\n  FUN_0003fbb0(iVar2);\n  if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }\n  *(int *)(iVar1 + 0x24) = iVar2;\n  return iVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x80);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x80)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x80)" (* "*") (cast_expression "(int *)(param_1 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x80)" (( "(") (binary_expression "param_1 + 0x80" (identifier "param_1") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);\n  }" ({ "{") (expression_statement "FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);" (call_expression "FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1)" (identifier "FUN_00031740") (argument_list "("../../gas/subsegs.c",0xd8,"section_symbol",param_1)" (( "(") (string_literal ""../../gas/subsegs.c"" (" """) (string_content "../../gas/subsegs.c") (" """)) (, ",") (number_literal "0xd8") (, ",") (string_literal ""section_symbol"" (" """) (string_content "section_symbol") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n    return *(int *)(iVar1 + 0x24);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(int *)(iVar1 + 0x24);\n  }" ({ "{") (return_statement "return *(int *)(iVar1 + 0x24);" (return "return") (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (} "}"))) (if_statement "if (DAT_0008171c == 0) {\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }\n  else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" (if "if") (parenthesized_expression "(DAT_0008171c == 0)" (( "(") (binary_expression "DAT_0008171c == 0" (identifier "DAT_0008171c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));\n    if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }\n    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" ({ "{") (expression_statement "iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));" (assignment_expression "iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" (identifier "iVar2") (= "=") (call_expression "FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" (identifier "FUN_000400c0") (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4))" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" (* "*") (cast_expression "(int *)(param_1 + 0xb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0)" (( "(") (binary_expression "param_1 + 0xb0" (identifier "param_1") (+ "+") (number_literal "0xb0")) () ")")))) (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar3 = (undefined *)FUN_0003e1d0(iVar2);\n      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }\n    }" ({ "{") (expression_statement "puVar3 = (undefined *)FUN_0003e1d0(iVar2);" (assignment_expression "puVar3 = (undefined *)FUN_0003e1d0(iVar2)" (identifier "puVar3") (= "=") (cast_expression "(undefined *)FUN_0003e1d0(iVar2)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0003e1d0(iVar2)" (identifier "FUN_0003e1d0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (if_statement "if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }" (if "if") (parenthesized_expression "((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0))" (( "(") (binary_expression "(param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" (parenthesized_expression "(param_1 == puVar3)" (( "(") (binary_expression "param_1 == puVar3" (identifier "param_1") (== "==") (identifier "puVar3")) () ")")) (|| "||") (parenthesized_expression "(puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" (( "(") (binary_expression "puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0" (identifier "puVar3") (== "==") (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" (identifier "PTR__bfd_std_section_00077fa0") (+ "+") (number_literal "0xc0"))) () ")"))) () ")")) (compound_statement "{\n        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }\n        goto LAB_0003c346;\n      }" ({ "{") (if_statement "if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }" (if "if") (parenthesized_expression "(puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)" (( "(") (binary_expression "puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0" (identifier "puVar3") (== "==") (binary_expression "PTR__bfd_std_section_00077fa0 + 0xc0" (identifier "PTR__bfd_std_section_00077fa0") (+ "+") (number_literal "0xc0"))) () ")")) (compound_statement "{\n          FUN_0003e210(iVar2,param_1);\n          FUN_00040e80(iVar2,PTR_DAT_00077f60);\n        }" ({ "{") (expression_statement "FUN_0003e210(iVar2,param_1);" (call_expression "FUN_0003e210(iVar2,param_1)" (identifier "FUN_0003e210") (argument_list "(iVar2,param_1)" (( "(") (identifier "iVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_00040e80(iVar2,PTR_DAT_00077f60);" (call_expression "FUN_00040e80(iVar2,PTR_DAT_00077f60)" (identifier "FUN_00040e80") (argument_list "(iVar2,PTR_DAT_00077f60)" (( "(") (identifier "iVar2") (, ",") (identifier "PTR_DAT_00077f60") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0003c346;" (goto "goto") (statement_identifier "LAB_0003c346") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;" (assignment_expression "iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" (identifier "iVar2") (= "=") (call_expression "FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" (identifier "FUN_0003e420") (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" (* "*") (cast_expression "(int *)(param_1 + 0xb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0)" (( "(") (binary_expression "param_1 + 0xb0" (identifier "param_1") (+ "+") (number_literal "0xb0")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "PTR_DAT_00077f60") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" (else "else") (compound_statement "{\n    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;\n  }" ({ "{") (expression_statement "iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)\n    ;" (assignment_expression "iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" (identifier "iVar2") (= "=") (call_expression "FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" (identifier "FUN_0003e2a0") (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xb0) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xb0) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xb0) + 4" (pointer_expression "*(int *)(param_1 + 0xb0)" (* "*") (cast_expression "(int *)(param_1 + 0xb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0)" (( "(") (binary_expression "param_1 + 0xb0" (identifier "param_1") (+ "+") (number_literal "0xb0")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "PTR_DAT_00077f60") () ")")))) (; ";")) (} "}")))) (labeled_statement "LAB_0003c346:\n  FUN_0003fbb0(iVar2);" (statement_identifier "LAB_0003c346") (: ":") (expression_statement "FUN_0003fbb0(iVar2);" (call_expression "FUN_0003fbb0(iVar2)" (identifier "FUN_0003fbb0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";"))) (if_statement "if (*(int *)(param_1 + 0xac) == 0) {\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }\n  else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xac) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xac) == 0" (pointer_expression "*(int *)(param_1 + 0xac)" (* "*") (cast_expression "(int *)(param_1 + 0xac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xac)" (( "(") (binary_expression "param_1 + 0xac" (identifier "param_1") (+ "+") (number_literal "0xac")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = FUN_000414f0(iVar2);\n    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;\n  }" ({ "{") (expression_statement "iVar4 = FUN_000414f0(iVar2);" (assignment_expression "iVar4 = FUN_000414f0(iVar2)" (identifier "iVar4") (= "=") (call_expression "FUN_000414f0(iVar2)" (identifier "FUN_000414f0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "*(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;" (assignment_expression "*(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar4 + 0x10) | 0x100" (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (| "|") (number_literal "0x100"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" (else "else") (compound_statement "{\n    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));\n  }" ({ "{") (expression_statement "FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));" (call_expression "FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0))" (identifier "FUN_00041540") (argument_list "(iVar2,*(undefined4 *)(param_1 + 0xb0))" (( "(") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xb0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xb0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0)" (( "(") (binary_expression "param_1 + 0xb0" (identifier "param_1") (+ "+") (number_literal "0xb0")) () ")")))) () ")"))) (; ";")) (} "}")))) (expression_statement "*(int *)(iVar1 + 0x24) = iVar2;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar2" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 * function_1(type_2 var_7)

{
  void *var_1;
  char *name;
  type_1 *var_5;
  type_2 var_8;
  type_3 *paVar3;
  
  var_1 = var_7->userdata;
  if (var_1 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gas/subsegs.c",0xd8,"section_symbol");
  }
  if (*(type_1 **)((int)var_1 + 0x24) != (type_1 *)0x0) {
    return *(type_1 **)((int)var_1 + 0x24);
  }
  name = var_7->symbol->name;
  if (var_3 == 0) {
    var_5 = var_4(name);
    if (var_5 != (type_1 *)0x0) {
      var_8 = var_6(var_5);
      if ((var_7 == var_8) || (var_8 == (type_2)(var_9 + 0xc0))) {
        if (var_8 == (type_2)(var_9 + 0xc0)) {
          var_10(var_5,var_7);
          var_11(var_5,(type_4 *)PTR_zero_address_frag_00077f60);
        }
        goto LAB_0003c346;
      }
    }
    var_5 = var_12(var_7->symbol->name,var_7,0,(type_4 *)PTR_zero_address_frag_00077f60);
  }
  else {
    var_5 = var_13(name,var_7,0,(type_4 *)PTR_zero_address_frag_00077f60);
  }
LAB_0003c346:
  var_14(var_5);
  if (var_7->owner == (type_5 *)0x0) {
    paVar3 = var_15(var_5);
    paVar3->flags = paVar3->flags | 0x100;
  }
  else {
    var_16(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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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 (string_literal (string_content)) (number_literal) (string_literal (string_content)) (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 (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (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)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) (identifier) (number_literal) (number_literal) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) (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))))) 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)))))

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

int MASKED(undefined *param_1)

{
  int iVar1;
  int iVar2;
  undefined *puVar3;
  int iVar4;
  
  iVar1 = *(int *)(param_1 + 0x80);
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00031740("../../gas/subsegs.c",0xd8,"section_symbol",param_1);
  }
  if (*(int *)(iVar1 + 0x24) != 0) {
    return *(int *)(iVar1 + 0x24);
  }
  if (DAT_0008171c == 0) {
    iVar2 = FUN_000400c0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4));
    if (iVar2 != 0) {
      puVar3 = (undefined *)FUN_0003e1d0(iVar2);
      if ((param_1 == puVar3) || (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0)) {
        if (puVar3 == PTR__bfd_std_section_00077fa0 + 0xc0) {
          FUN_0003e210(iVar2,param_1);
          FUN_00040e80(iVar2,PTR_DAT_00077f60);
        }
        goto LAB_0003c346;
      }
    }
    iVar2 = FUN_0003e420(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)
    ;
  }
  else {
    iVar2 = FUN_0003e2a0(*(undefined4 *)(*(int *)(param_1 + 0xb0) + 4),param_1,0,0,PTR_DAT_00077f60)
    ;
  }
LAB_0003c346:
  FUN_0003fbb0(iVar2);
  if (*(int *)(param_1 + 0xac) == 0) {
    iVar4 = FUN_000414f0(iVar2);
    *(uint *)(iVar4 + 0x10) = *(uint *)(iVar4 + 0x10) | 0x100;
  }
  else {
    FUN_00041540(iVar2,*(undefined4 *)(param_1 + 0xb0));
  }
  *(int *)(iVar1 + 0x24) = iVar2;
  return iVar2;
}

