
void S_SET_SEGMENT(symbolS *s,segT seg)

{
  segT paVar1;
  symbolS *psVar2;
  
  paVar1 = (segT)s->bsym;
  if (((uint)s->sy_flags & 1) != 0) {
    if (reg_section == paVar1) {
      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;
    }
    else {
      if (reg_section != seg) {
        s->bsym = (asymbol *)seg;
        return;
      }
      psVar2 = local_symbol_convert((local_symbol *)s);
      paVar1 = (segT)psVar2->bsym;
    }
  }
  if (((ulong)paVar1->prev & 0x100) == 0) {
    *(segT *)&paVar1->flags = seg;
  }
  else if (*(segT *)&paVar1->flags != seg) {
                    /* WARNING: Subroutine does not return */
    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");
  }
  return;
}



void FUN_00129690(byte *param_1,long param_2)

{
  long lVar1;
  
  lVar1 = *(long *)(param_1 + 8);
  if ((*param_1 & 1) != 0) {
    if (DAT_001e4578 == lVar1) {
      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);
    }
    else {
      if (DAT_001e4578 != param_2) {
        *(long *)(param_1 + 8) = param_2;
        return;
      }
      lVar1 = FUN_00129910();
      lVar1 = *(long *)(lVar1 + 8);
    }
  }
  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {
    *(long *)(lVar1 + 0x20) = param_2;
  }
  else if (*(long *)(lVar1 + 0x20) != param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");
  }
  return;
}


SUB RSP,0x18
MOV RAX,qword ptr [RDI + 0x8]
TEST byte ptr [RDI],0x1
JZ 0x001296c8
MOV RDX,qword ptr [0x001e4578]
CMP RDX,RAX
JZ 0x001296c0
CMP RDX,RSI
JZ 0x00129700
MOV qword ptr [RDI + 0x8],RSI
ADD RSP,0x18
RET
MOV RAX,qword ptr [RDI + 0x18]
MOV RAX,qword ptr [RAX + 0x8]
TEST byte ptr [RAX + 0x19],0x1
JNZ 0x001296e0
MOV qword ptr [RAX + 0x20],RSI
ADD RSP,0x18
RET
CMP qword ptr [RAX + 0x20],RSI
JZ 0x001296d2
LEA RDX,[0x14f850]
MOV ESI,0x8c5
LEA RDI,[0x14f190]
CALL 0x0011dd00
MOV qword ptr [RSP + 0x8],RSI
CALL 0x00129910
MOV RSI,qword ptr [RSP + 0x8]
MOV RAX,qword ptr [RAX + 0x8]
JMP 0x001296c8
(translation_unit "void FUN_00129690(byte *param_1,long param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}\n\n" (function_definition "void FUN_00129690(byte *param_1,long param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00129690(byte *param_1,long param_2)" identifier (parameter_list "(byte *param_1,long param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }" { (if_statement "if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" if (parenthesized_expression "(DAT_001e4578 == lVar1)" ( (binary_expression "DAT_001e4578 == lVar1" identifier == identifier) )) (compound_statement "{\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }" { (expression_statement "lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x18) + 8)" ( (binary_expression "*(long *)(param_1 + 0x18) + 8" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) }) (else_clause "else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" else (compound_statement "{\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" { (if_statement "if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }" if (parenthesized_expression "(DAT_001e4578 != param_2)" ( (binary_expression "DAT_001e4578 != param_2" identifier != identifier) )) (compound_statement "{\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }" { (expression_statement "*(long *)(param_1 + 8) = param_2;" (assignment_expression "*(long *)(param_1 + 8) = param_2" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "lVar1 = FUN_00129910();" (assignment_expression "lVar1 = FUN_00129910()" identifier = (call_expression "FUN_00129910()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar1 = *(long *)(lVar1 + 8);" (assignment_expression "lVar1 = *(long *)(lVar1 + 8)" identifier = (pointer_expression "*(long *)(lVar1 + 8)" * (cast_expression "(long *)(lVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) }))) })) (if_statement "if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" if (parenthesized_expression "((*(byte *)(lVar1 + 0x19) & 1) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0x19) & 1) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x19) & 1)" ( (binary_expression "*(byte *)(lVar1 + 0x19) & 1" (pointer_expression "*(byte *)(lVar1 + 0x19)" * (cast_expression "(byte *)(lVar1 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x19)" ( (binary_expression "lVar1 + 0x19" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(long *)(lVar1 + 0x20) = param_2;\n  }" { (expression_statement "*(long *)(lVar1 + 0x20) = param_2;" (assignment_expression "*(long *)(lVar1 + 0x20) = param_2" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" else (if_statement "if (*(long *)(lVar1 + 0x20) != param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" if (parenthesized_expression "(*(long *)(lVar1 + 0x20) != param_2)" ( (binary_expression "*(long *)(lVar1 + 0x20) != param_2" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" { comment (expression_statement "FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");" (call_expression "FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" identifier (argument_list "("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""S_SET_SEGMENT"" " string_content ") ))) ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void S_SET_SEGMENT(symbolS *s,segT seg)\n\n{\n  segT paVar1;\n  symbolS *psVar2;\n  \n  paVar1 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section == paVar1) {\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }\n  }\n  if (((ulong)paVar1->prev & 0x100) == 0) {\n    *(segT *)&paVar1->flags = seg;\n  }\n  else if (*(segT *)&paVar1->flags != seg) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}\n\n" (function_definition "void S_SET_SEGMENT(symbolS *s,segT seg)\n\n{\n  segT paVar1;\n  symbolS *psVar2;\n  \n  paVar1 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section == paVar1) {\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }\n  }\n  if (((ulong)paVar1->prev & 0x100) == 0) {\n    *(segT *)&paVar1->flags = seg;\n  }\n  else if (*(segT *)&paVar1->flags != seg) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" primitive_type (function_declarator "S_SET_SEGMENT(symbolS *s,segT seg)" identifier (parameter_list "(symbolS *s,segT seg)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "segT seg" type_identifier identifier) ))) (compound_statement "{\n  segT paVar1;\n  symbolS *psVar2;\n  \n  paVar1 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section == paVar1) {\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }\n  }\n  if (((ulong)paVar1->prev & 0x100) == 0) {\n    *(segT *)&paVar1->flags = seg;\n  }\n  else if (*(segT *)&paVar1->flags != seg) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" { (declaration "segT paVar1;" type_identifier identifier ;) (declaration "symbolS *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (expression_statement "paVar1 = (segT)s->bsym;" (assignment_expression "paVar1 = (segT)s->bsym" identifier = (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier))) ;) (if_statement "if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section == paVar1) {\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }\n  }" if (parenthesized_expression "(((uint)s->sy_flags & 1) != 0)" ( (binary_expression "((uint)s->sy_flags & 1) != 0" (parenthesized_expression "((uint)s->sy_flags & 1)" ( (binary_expression "(uint)s->sy_flags & 1" (cast_expression "(uint)s->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (reg_section == paVar1) {\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }\n  }" { (if_statement "if (reg_section == paVar1) {\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }" if (parenthesized_expression "(reg_section == paVar1)" ( (binary_expression "reg_section == paVar1" identifier == identifier) )) (compound_statement "{\n      paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }" { (expression_statement "paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;" (assignment_expression "paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym" identifier = (field_expression "(segT)((s->sy_value).X_op_symbol)->bsym" (call_expression "(segT)((s->sy_value).X_op_symbol)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "((s->sy_value).X_op_symbol)" ( (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) ))) -> field_identifier)) ;) }) (else_clause "else {\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }" else (compound_statement "{\n      if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }\n      psVar2 = local_symbol_convert((local_symbol *)s);\n      paVar1 = (segT)psVar2->bsym;\n    }" { (if_statement "if (reg_section != seg) {\n        s->bsym = (asymbol *)seg;\n        return;\n      }" if (parenthesized_expression "(reg_section != seg)" ( (binary_expression "reg_section != seg" identifier != identifier) )) (compound_statement "{\n        s->bsym = (asymbol *)seg;\n        return;\n      }" { (expression_statement "s->bsym = (asymbol *)seg;" (assignment_expression "s->bsym = (asymbol *)seg" (field_expression "s->bsym" identifier -> field_identifier) = (cast_expression "(asymbol *)seg" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "psVar2 = local_symbol_convert((local_symbol *)s);" (assignment_expression "psVar2 = local_symbol_convert((local_symbol *)s)" identifier = (call_expression "local_symbol_convert((local_symbol *)s)" identifier (argument_list "((local_symbol *)s)" ( (cast_expression "(local_symbol *)s" ( (type_descriptor "local_symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "paVar1 = (segT)psVar2->bsym;" (assignment_expression "paVar1 = (segT)psVar2->bsym" identifier = (cast_expression "(segT)psVar2->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "psVar2->bsym" identifier -> field_identifier))) ;) }))) })) (if_statement "if (((ulong)paVar1->prev & 0x100) == 0) {\n    *(segT *)&paVar1->flags = seg;\n  }\n  else if (*(segT *)&paVar1->flags != seg) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" if (parenthesized_expression "(((ulong)paVar1->prev & 0x100) == 0)" ( (binary_expression "((ulong)paVar1->prev & 0x100) == 0" (parenthesized_expression "((ulong)paVar1->prev & 0x100)" ( (binary_expression "(ulong)paVar1->prev & 0x100" (cast_expression "(ulong)paVar1->prev" ( (type_descriptor "ulong" type_identifier) ) (field_expression "paVar1->prev" identifier -> field_identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(segT *)&paVar1->flags = seg;\n  }" { (expression_statement "*(segT *)&paVar1->flags = seg;" (assignment_expression "*(segT *)&paVar1->flags = seg" (pointer_expression "*(segT *)&paVar1->flags" * (cast_expression "(segT *)&paVar1->flags" ( (type_descriptor "segT *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&paVar1->flags" & (field_expression "paVar1->flags" identifier -> field_identifier)))) = identifier) ;) }) (else_clause "else if (*(segT *)&paVar1->flags != seg) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" else (if_statement "if (*(segT *)&paVar1->flags != seg) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" if (parenthesized_expression "(*(segT *)&paVar1->flags != seg)" ( (binary_expression "*(segT *)&paVar1->flags != seg" (pointer_expression "*(segT *)&paVar1->flags" * (cast_expression "(segT *)&paVar1->flags" ( (type_descriptor "segT *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&paVar1->flags" & (field_expression "paVar1->flags" identifier -> field_identifier)))) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" { comment (expression_statement "as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");" (call_expression "as_abort("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" identifier (argument_list "("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""S_SET_SEGMENT"" " string_content ") ))) ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00129690(byte *param_1,long param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}\n\n" (function_definition "void FUN_00129690(byte *param_1,long param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00129690(byte *param_1,long param_2)" identifier (parameter_list "(byte *param_1,long param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }" { (if_statement "if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" if (parenthesized_expression "(DAT_001e4578 == lVar1)" ( (binary_expression "DAT_001e4578 == lVar1" identifier == identifier) )) (compound_statement "{\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }" { (expression_statement "lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x18) + 8)" ( (binary_expression "*(long *)(param_1 + 0x18) + 8" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) }) (else_clause "else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" else (compound_statement "{\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" { (if_statement "if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }" if (parenthesized_expression "(DAT_001e4578 != param_2)" ( (binary_expression "DAT_001e4578 != param_2" identifier != identifier) )) (compound_statement "{\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }" { (expression_statement "*(long *)(param_1 + 8) = param_2;" (assignment_expression "*(long *)(param_1 + 8) = param_2" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "lVar1 = FUN_00129910();" (assignment_expression "lVar1 = FUN_00129910()" identifier = (call_expression "FUN_00129910()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar1 = *(long *)(lVar1 + 8);" (assignment_expression "lVar1 = *(long *)(lVar1 + 8)" identifier = (pointer_expression "*(long *)(lVar1 + 8)" * (cast_expression "(long *)(lVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) }))) })) (if_statement "if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" if (parenthesized_expression "((*(byte *)(lVar1 + 0x19) & 1) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0x19) & 1) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x19) & 1)" ( (binary_expression "*(byte *)(lVar1 + 0x19) & 1" (pointer_expression "*(byte *)(lVar1 + 0x19)" * (cast_expression "(byte *)(lVar1 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x19)" ( (binary_expression "lVar1 + 0x19" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(long *)(lVar1 + 0x20) = param_2;\n  }" { (expression_statement "*(long *)(lVar1 + 0x20) = param_2;" (assignment_expression "*(long *)(lVar1 + 0x20) = param_2" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" else (if_statement "if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" if (parenthesized_expression "(*(long *)(lVar1 + 0x20) != param_2)" ( (binary_expression "*(long *)(lVar1 + 0x20) != param_2" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" { (expression_statement "FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");" (call_expression "FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" identifier (argument_list "("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""S_SET_SEGMENT"" " string_content ") ))) ;) })))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))) (return_statement return ;) })))
(function_definition "void FUN_00129690(byte *param_1,long param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00129690(byte *param_1,long param_2)" (identifier "FUN_00129690") (parameter_list "(byte *param_1,long param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }\n  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }\n  }" ({ "{") (if_statement "if (DAT_001e4578 == lVar1) {\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }\n    else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" (if "if") (parenthesized_expression "(DAT_001e4578 == lVar1)" (( "(") (binary_expression "DAT_001e4578 == lVar1" (identifier "DAT_001e4578") (== "==") (identifier "lVar1")) () ")")) (compound_statement "{\n      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n    }" ({ "{") (expression_statement "lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*(long *)(param_1 + 0x18) + 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x18) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x18) + 8" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" (else "else") (compound_statement "{\n      if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }\n      lVar1 = FUN_00129910();\n      lVar1 = *(long *)(lVar1 + 8);\n    }" ({ "{") (if_statement "if (DAT_001e4578 != param_2) {\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }" (if "if") (parenthesized_expression "(DAT_001e4578 != param_2)" (( "(") (binary_expression "DAT_001e4578 != param_2" (identifier "DAT_001e4578") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n        *(long *)(param_1 + 8) = param_2;\n        return;\n      }" ({ "{") (expression_statement "*(long *)(param_1 + 8) = param_2;" (assignment_expression "*(long *)(param_1 + 8) = param_2" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "lVar1 = FUN_00129910();" (assignment_expression "lVar1 = FUN_00129910()" (identifier "lVar1") (= "=") (call_expression "FUN_00129910()" (identifier "FUN_00129910") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "lVar1 = *(long *)(lVar1 + 8);" (assignment_expression "lVar1 = *(long *)(lVar1 + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(lVar1 + 8)" (* "*") (cast_expression "(long *)(lVar1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (if_statement "if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {\n    *(long *)(lVar1 + 0x20) = param_2;\n  }\n  else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" (if "if") (parenthesized_expression "((*(byte *)(lVar1 + 0x19) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(lVar1 + 0x19) & 1) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x19) & 1)" (( "(") (binary_expression "*(byte *)(lVar1 + 0x19) & 1" (pointer_expression "*(byte *)(lVar1 + 0x19)" (* "*") (cast_expression "(byte *)(lVar1 + 0x19)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x19)" (( "(") (binary_expression "lVar1 + 0x19" (identifier "lVar1") (+ "+") (number_literal "0x19")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(long *)(lVar1 + 0x20) = param_2;\n  }" ({ "{") (expression_statement "*(long *)(lVar1 + 0x20) = param_2;" (assignment_expression "*(long *)(lVar1 + 0x20) = param_2" (pointer_expression "*(long *)(lVar1 + 0x20)" (* "*") (cast_expression "(long *)(lVar1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" (else "else") (if_statement "if (*(long *)(lVar1 + 0x20) != param_2) {\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar1 + 0x20) != param_2)" (( "(") (binary_expression "*(long *)(lVar1 + 0x20) != param_2" (pointer_expression "*(long *)(lVar1 + 0x20)" (* "*") (cast_expression "(long *)(lVar1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");\n  }" ({ "{") (expression_statement "FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");" (call_expression "FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" (identifier "FUN_0011dd00") (argument_list "("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT")" (( "(") (string_literal ""../../gas/symbols.c"" (" """) (string_content "../../gas/symbols.c") (" """)) (, ",") (number_literal "0x8c5") (, ",") (string_literal ""S_SET_SEGMENT"" (" """) (string_content "S_SET_SEGMENT") (" """)) () ")"))) (; ";")) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *s,type_2 var_3)

{
  type_2 var_2;
  type_1 *psVar2;
  
  var_2 = (type_2)s->bsym;
  if (((type_3)s->sy_flags & 1) != 0) {
    if (var_1 == var_2) {
      var_2 = (type_2)((s->sy_value).X_op_symbol)->bsym;
    }
    else {
      if (var_1 != var_3) {
        s->bsym = (type_4 *)var_3;
        return;
      }
      psVar2 = var_4((type_5 *)s);
      var_2 = (type_2)psVar2->bsym;
    }
  }
  if (((type_6)var_2->prev & 0x100) == 0) {
    *(type_2 *)&var_2->flags = var_3;
  }
  else if (*(type_2 *)&var_2->flags != var_3) {
                    /* WARNING: Subroutine does not return */
    var_5("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");
  }
  return;
}


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

void MASKED(byte *param_1,long param_2)

{
  long lVar1;
  
  lVar1 = *(long *)(param_1 + 8);
  if ((*param_1 & 1) != 0) {
    if (DAT_001e4578 == lVar1) {
      lVar1 = *(long *)(*(long *)(param_1 + 0x18) + 8);
    }
    else {
      if (DAT_001e4578 != param_2) {
        *(long *)(param_1 + 8) = param_2;
        return;
      }
      lVar1 = FUN_00129910();
      lVar1 = *(long *)(lVar1 + 8);
    }
  }
  if ((*(byte *)(lVar1 + 0x19) & 1) == 0) {
    *(long *)(lVar1 + 0x20) = param_2;
  }
  else if (*(long *)(lVar1 + 0x20) != param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0011dd00("../../gas/symbols.c",0x8c5,"S_SET_SEGMENT");
  }
  return;
}

