
void symbol_set_value_expression(symbolS *s,expressionS *exp)

{
  undefined1 *puVar1;
  byte bVar2;
  symbolS *psVar3;
  undefined2 uVar4;
  ushort uVar5;
  undefined4 uVar6;
  
  if (((uint)s->sy_flags & 1) == 0) {
    psVar3 = exp->X_op_symbol;
    (s->sy_value).X_add_symbol = exp->X_add_symbol;
    (s->sy_value).X_op_symbol = psVar3;
    uVar4 = *(undefined2 *)&exp->field_0x18;
    uVar5 = exp->X_md;
    uVar6 = *(undefined4 *)&exp->field_0x1c;
    (s->sy_value).X_add_number = exp->X_add_number;
    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;
    (s->sy_value).X_md = uVar5;
    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;
  }
  else {
    if ((segT)s->bsym == reg_section) {
      s = (s->sy_value).X_op_symbol;
      bVar2 = *(byte *)&s->sy_flags;
    }
    else {
      s = local_symbol_convert((local_symbol *)s);
      bVar2 = *(byte *)&s->sy_flags;
    }
    psVar3 = exp->X_op_symbol;
    (s->sy_value).X_add_symbol = exp->X_add_symbol;
    (s->sy_value).X_op_symbol = psVar3;
    uVar4 = *(undefined2 *)&exp->field_0x18;
    uVar5 = exp->X_md;
    uVar6 = *(undefined4 *)&exp->field_0x1c;
    (s->sy_value).X_add_number = exp->X_add_number;
    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;
    (s->sy_value).X_md = uVar5;
    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;
    if ((bVar2 & 1) != 0) {
      if ((segT)s->bsym != reg_section) {
        return;
      }
      s = (s->sy_value).X_op_symbol;
    }
  }
  puVar1 = &(s->sy_flags).field_0x1;
  *puVar1 = *puVar1 & 0xfd;
  return;
}



void FUN_0012d540(byte *param_1,undefined8 *param_2)

{
  byte bVar1;
  undefined8 uVar2;
  
  if ((*param_1 & 1) == 0) {
    uVar2 = param_2[1];
    *(undefined8 *)(param_1 + 0x10) = *param_2;
    *(undefined8 *)(param_1 + 0x18) = uVar2;
    uVar2 = param_2[3];
    *(undefined8 *)(param_1 + 0x20) = param_2[2];
    *(undefined8 *)(param_1 + 0x28) = uVar2;
  }
  else {
    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {
      param_1 = *(byte **)(param_1 + 0x18);
      bVar1 = *param_1;
    }
    else {
      param_1 = (byte *)FUN_0012b210();
      bVar1 = *param_1;
    }
    uVar2 = param_2[1];
    *(undefined8 *)(param_1 + 0x10) = *param_2;
    *(undefined8 *)(param_1 + 0x18) = uVar2;
    uVar2 = param_2[3];
    *(undefined8 *)(param_1 + 0x20) = param_2[2];
    *(undefined8 *)(param_1 + 0x28) = uVar2;
    if ((bVar1 & 1) != 0) {
      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {
        return;
      }
      param_1 = *(byte **)(param_1 + 0x18);
    }
  }
  param_1[1] = param_1[1] & 0xfd;
  return;
}


PUSH RBX
MOV RBX,RSI
TEST byte ptr [RDI],0x1
JZ 0x0012d590
MOV RAX,qword ptr [0x0019d7b8]
CMP qword ptr [RDI + 0x8],RAX
JZ 0x0012d5c0
CALL 0x0012b210
MOV RDI,RAX
MOVZX EAX,byte ptr [RAX]
AND EAX,0x1
MOVDQU XMM0,xmmword ptr [RBX]
MOVUPS xmmword ptr [RDI + 0x10],XMM0
MOVDQU XMM1,xmmword ptr [RBX + 0x10]
MOVUPS xmmword ptr [RDI + 0x20],XMM1
TEST AL,AL
JZ 0x0012d5a1
MOV RAX,qword ptr [0x0019d7b8]
CMP qword ptr [RDI + 0x8],RAX
JZ 0x0012d5b0
POP RBX
RET
MOVDQU XMM2,xmmword ptr [RSI]
MOVUPS xmmword ptr [RDI + 0x10],XMM2
MOVDQU XMM3,xmmword ptr [RSI + 0x10]
MOVUPS xmmword ptr [RDI + 0x20],XMM3
AND byte ptr [RDI + 0x1],0xfd
POP RBX
RET
MOV RDI,qword ptr [RDI + 0x18]
JMP 0x0012d5a1
MOV RDI,qword ptr [RDI + 0x18]
MOVZX EAX,byte ptr [RDI]
AND EAX,0x1
JMP 0x0012d564
(translation_unit "void FUN_0012d540(byte *param_1,undefined8 *param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}\n\n" (function_definition "void FUN_0012d540(byte *param_1,undefined8 *param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}" primitive_type (function_declarator "FUN_0012d540(byte *param_1,undefined8 *param_2)" identifier (parameter_list "(byte *param_1,undefined8 *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\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    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }" { (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = param_2[3];" (assignment_expression "uVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x20) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }" else (compound_statement "{\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }" { (if_statement "if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" if (parenthesized_expression "(*(long *)(param_1 + 8) == DAT_0019d7b8)" ( (binary_expression "*(long *)(param_1 + 8) == DAT_0019d7b8" (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) )) (compound_statement "{\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }" { (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" else (compound_statement "{\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" { (expression_statement "param_1 = (byte *)FUN_0012b210();" (assignment_expression "param_1 = (byte *)FUN_0012b210()" identifier = (cast_expression "(byte *)FUN_0012b210()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0012b210()" identifier (argument_list "()" ( ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = param_2[3];" (assignment_expression "uVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x20) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" { (if_statement "if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }" if (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_0019d7b8)" ( (binary_expression "*(long *)(param_1 + 8) != DAT_0019d7b8" (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) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) }))) (expression_statement "param_1[1] = param_1[1] & 0xfd;" (assignment_expression "param_1[1] = param_1[1] & 0xfd" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] & 0xfd" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void symbol_set_value_expression(symbolS *s,expressionS *exp)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  symbolS *psVar3;\n  undefined2 uVar4;\n  ushort uVar5;\n  undefined4 uVar6;\n  \n  if (((uint)s->sy_flags & 1) == 0) {\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n  }\n  else {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n    if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }\n  }\n  puVar1 = &(s->sy_flags).field_0x1;\n  *puVar1 = *puVar1 & 0xfd;\n  return;\n}\n\n" (function_definition "void symbol_set_value_expression(symbolS *s,expressionS *exp)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  symbolS *psVar3;\n  undefined2 uVar4;\n  ushort uVar5;\n  undefined4 uVar6;\n  \n  if (((uint)s->sy_flags & 1) == 0) {\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n  }\n  else {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n    if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }\n  }\n  puVar1 = &(s->sy_flags).field_0x1;\n  *puVar1 = *puVar1 & 0xfd;\n  return;\n}" primitive_type (function_declarator "symbol_set_value_expression(symbolS *s,expressionS *exp)" identifier (parameter_list "(symbolS *s,expressionS *exp)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "expressionS *exp" type_identifier (pointer_declarator "*exp" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  symbolS *psVar3;\n  undefined2 uVar4;\n  ushort uVar5;\n  undefined4 uVar6;\n  \n  if (((uint)s->sy_flags & 1) == 0) {\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n  }\n  else {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n    if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }\n  }\n  puVar1 = &(s->sy_flags).field_0x1;\n  *puVar1 = *puVar1 & 0xfd;\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "symbolS *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "undefined2 uVar4;" type_identifier identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (((uint)s->sy_flags & 1) == 0) {\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n  }\n  else {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n    if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\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    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n  }" { (expression_statement "psVar3 = exp->X_op_symbol;" (assignment_expression "psVar3 = exp->X_op_symbol" identifier = (field_expression "exp->X_op_symbol" identifier -> field_identifier)) ;) (expression_statement "(s->sy_value).X_add_symbol = exp->X_add_symbol;" (assignment_expression "(s->sy_value).X_add_symbol = exp->X_add_symbol" (field_expression "(s->sy_value).X_add_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = (field_expression "exp->X_add_symbol" identifier -> field_identifier)) ;) (expression_statement "(s->sy_value).X_op_symbol = psVar3;" (assignment_expression "(s->sy_value).X_op_symbol = psVar3" (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "uVar4 = *(undefined2 *)&exp->field_0x18;" (assignment_expression "uVar4 = *(undefined2 *)&exp->field_0x18" identifier = (pointer_expression "*(undefined2 *)&exp->field_0x18" * (cast_expression "(undefined2 *)&exp->field_0x18" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&exp->field_0x18" & (field_expression "exp->field_0x18" identifier -> field_identifier))))) ;) (expression_statement "uVar5 = exp->X_md;" (assignment_expression "uVar5 = exp->X_md" identifier = (field_expression "exp->X_md" identifier -> field_identifier)) ;) (expression_statement "uVar6 = *(undefined4 *)&exp->field_0x1c;" (assignment_expression "uVar6 = *(undefined4 *)&exp->field_0x1c" identifier = (pointer_expression "*(undefined4 *)&exp->field_0x1c" * (cast_expression "(undefined4 *)&exp->field_0x1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&exp->field_0x1c" & (field_expression "exp->field_0x1c" identifier -> field_identifier))))) ;) (expression_statement "(s->sy_value).X_add_number = exp->X_add_number;" (assignment_expression "(s->sy_value).X_add_number = exp->X_add_number" (field_expression "(s->sy_value).X_add_number" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = (field_expression "exp->X_add_number" identifier -> field_identifier)) ;) (expression_statement "*(undefined2 *)&(s->sy_value).field_0x18 = uVar4;" (assignment_expression "*(undefined2 *)&(s->sy_value).field_0x18 = uVar4" (pointer_expression "*(undefined2 *)&(s->sy_value).field_0x18" * (cast_expression "(undefined2 *)&(s->sy_value).field_0x18" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(s->sy_value).field_0x18" & (field_expression "(s->sy_value).field_0x18" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "(s->sy_value).X_md = uVar5;" (assignment_expression "(s->sy_value).X_md = uVar5" (field_expression "(s->sy_value).X_md" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&(s->sy_value).field_0x1c = uVar6;" (assignment_expression "*(undefined4 *)&(s->sy_value).field_0x1c = uVar6" (pointer_expression "*(undefined4 *)&(s->sy_value).field_0x1c" * (cast_expression "(undefined4 *)&(s->sy_value).field_0x1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(s->sy_value).field_0x1c" & (field_expression "(s->sy_value).field_0x1c" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) }) (else_clause "else {\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n    if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }\n  }" else (compound_statement "{\n    if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    psVar3 = exp->X_op_symbol;\n    (s->sy_value).X_add_symbol = exp->X_add_symbol;\n    (s->sy_value).X_op_symbol = psVar3;\n    uVar4 = *(undefined2 *)&exp->field_0x18;\n    uVar5 = exp->X_md;\n    uVar6 = *(undefined4 *)&exp->field_0x1c;\n    (s->sy_value).X_add_number = exp->X_add_number;\n    *(undefined2 *)&(s->sy_value).field_0x18 = uVar4;\n    (s->sy_value).X_md = uVar5;\n    *(undefined4 *)&(s->sy_value).field_0x1c = uVar6;\n    if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }\n  }" { (if_statement "if ((segT)s->bsym == reg_section) {\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }\n    else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }" if (parenthesized_expression "((segT)s->bsym == reg_section)" ( (binary_expression "(segT)s->bsym == reg_section" (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier)) == identifier) )) (compound_statement "{\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n    }" { (expression_statement "s = (s->sy_value).X_op_symbol;" (assignment_expression "s = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "bVar2 = *(byte *)&s->sy_flags;" (assignment_expression "bVar2 = *(byte *)&s->sy_flags" identifier = (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier))))) ;) }) (else_clause "else {\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }" else (compound_statement "{\n      s = local_symbol_convert((local_symbol *)s);\n      bVar2 = *(byte *)&s->sy_flags;\n    }" { (expression_statement "s = local_symbol_convert((local_symbol *)s);" (assignment_expression "s = 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 "bVar2 = *(byte *)&s->sy_flags;" (assignment_expression "bVar2 = *(byte *)&s->sy_flags" identifier = (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier))))) ;) }))) (expression_statement "psVar3 = exp->X_op_symbol;" (assignment_expression "psVar3 = exp->X_op_symbol" identifier = (field_expression "exp->X_op_symbol" identifier -> field_identifier)) ;) (expression_statement "(s->sy_value).X_add_symbol = exp->X_add_symbol;" (assignment_expression "(s->sy_value).X_add_symbol = exp->X_add_symbol" (field_expression "(s->sy_value).X_add_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = (field_expression "exp->X_add_symbol" identifier -> field_identifier)) ;) (expression_statement "(s->sy_value).X_op_symbol = psVar3;" (assignment_expression "(s->sy_value).X_op_symbol = psVar3" (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "uVar4 = *(undefined2 *)&exp->field_0x18;" (assignment_expression "uVar4 = *(undefined2 *)&exp->field_0x18" identifier = (pointer_expression "*(undefined2 *)&exp->field_0x18" * (cast_expression "(undefined2 *)&exp->field_0x18" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&exp->field_0x18" & (field_expression "exp->field_0x18" identifier -> field_identifier))))) ;) (expression_statement "uVar5 = exp->X_md;" (assignment_expression "uVar5 = exp->X_md" identifier = (field_expression "exp->X_md" identifier -> field_identifier)) ;) (expression_statement "uVar6 = *(undefined4 *)&exp->field_0x1c;" (assignment_expression "uVar6 = *(undefined4 *)&exp->field_0x1c" identifier = (pointer_expression "*(undefined4 *)&exp->field_0x1c" * (cast_expression "(undefined4 *)&exp->field_0x1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&exp->field_0x1c" & (field_expression "exp->field_0x1c" identifier -> field_identifier))))) ;) (expression_statement "(s->sy_value).X_add_number = exp->X_add_number;" (assignment_expression "(s->sy_value).X_add_number = exp->X_add_number" (field_expression "(s->sy_value).X_add_number" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = (field_expression "exp->X_add_number" identifier -> field_identifier)) ;) (expression_statement "*(undefined2 *)&(s->sy_value).field_0x18 = uVar4;" (assignment_expression "*(undefined2 *)&(s->sy_value).field_0x18 = uVar4" (pointer_expression "*(undefined2 *)&(s->sy_value).field_0x18" * (cast_expression "(undefined2 *)&(s->sy_value).field_0x18" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(s->sy_value).field_0x18" & (field_expression "(s->sy_value).field_0x18" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "(s->sy_value).X_md = uVar5;" (assignment_expression "(s->sy_value).X_md = uVar5" (field_expression "(s->sy_value).X_md" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&(s->sy_value).field_0x1c = uVar6;" (assignment_expression "*(undefined4 *)&(s->sy_value).field_0x1c = uVar6" (pointer_expression "*(undefined4 *)&(s->sy_value).field_0x1c" * (cast_expression "(undefined4 *)&(s->sy_value).field_0x1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(s->sy_value).field_0x1c" & (field_expression "(s->sy_value).field_0x1c" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (if_statement "if ((bVar2 & 1) != 0) {\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }" if (parenthesized_expression "((bVar2 & 1) != 0)" ( (binary_expression "(bVar2 & 1) != 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if ((segT)s->bsym != reg_section) {\n        return;\n      }\n      s = (s->sy_value).X_op_symbol;\n    }" { (if_statement "if ((segT)s->bsym != reg_section) {\n        return;\n      }" if (parenthesized_expression "((segT)s->bsym != reg_section)" ( (binary_expression "(segT)s->bsym != reg_section" (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "s = (s->sy_value).X_op_symbol;" (assignment_expression "s = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) })) }))) (expression_statement "puVar1 = &(s->sy_flags).field_0x1;" (assignment_expression "puVar1 = &(s->sy_flags).field_0x1" identifier = (pointer_expression "&(s->sy_flags).field_0x1" & (field_expression "(s->sy_flags).field_0x1" (parenthesized_expression "(s->sy_flags)" ( (field_expression "s->sy_flags" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfd;" (assignment_expression "*puVar1 = *puVar1 & 0xfd" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfd" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0012d540(byte *param_1,undefined8 *param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}\n\n" (function_definition "void FUN_0012d540(byte *param_1,undefined8 *param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}" primitive_type (function_declarator "FUN_0012d540(byte *param_1,undefined8 *param_2)" identifier (parameter_list "(byte *param_1,undefined8 *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\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    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }" { (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = param_2[3];" (assignment_expression "uVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x20) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }" else (compound_statement "{\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }" { (if_statement "if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" if (parenthesized_expression "(*(long *)(param_1 + 8) == DAT_0019d7b8)" ( (binary_expression "*(long *)(param_1 + 8) == DAT_0019d7b8" (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) )) (compound_statement "{\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }" { (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" else (compound_statement "{\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" { (expression_statement "param_1 = (byte *)FUN_0012b210();" (assignment_expression "param_1 = (byte *)FUN_0012b210()" identifier = (cast_expression "(byte *)FUN_0012b210()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0012b210()" identifier (argument_list "()" ( ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = param_2[3];" (assignment_expression "uVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x20) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" { (if_statement "if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }" if (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_0019d7b8)" ( (binary_expression "*(long *)(param_1 + 8) != DAT_0019d7b8" (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) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) }))) (expression_statement "param_1[1] = param_1[1] & 0xfd;" (assignment_expression "param_1[1] = param_1[1] & 0xfd" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] & 0xfd" (subscript_expression "param_1[1]" identifier [ number_literal ]) & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (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 { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) & LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0012d540(byte *param_1,undefined8 *param_2)\n\n{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012d540(byte *param_1,undefined8 *param_2)" (identifier "FUN_0012d540") (parameter_list "(byte *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined8 uVar2;\n  \n  if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }\n  param_1[1] = param_1[1] & 0xfd;\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (if_statement "if ((*param_1 & 1) == 0) {\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }\n  else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\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    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n  }" ({ "{") (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" (identifier "uVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = param_2[3];" (assignment_expression "uVar2 = param_2[3]" (identifier "uVar2") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x20) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }" (else "else") (compound_statement "{\n    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }\n    uVar2 = param_2[1];\n    *(undefined8 *)(param_1 + 0x10) = *param_2;\n    *(undefined8 *)(param_1 + 0x18) = uVar2;\n    uVar2 = param_2[3];\n    *(undefined8 *)(param_1 + 0x20) = param_2[2];\n    *(undefined8 *)(param_1 + 0x28) = uVar2;\n    if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }\n  }" ({ "{") (if_statement "if (*(long *)(param_1 + 8) == DAT_0019d7b8) {\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }\n    else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) == DAT_0019d7b8)" (( "(") (binary_expression "*(long *)(param_1 + 8) == DAT_0019d7b8" (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 "DAT_0019d7b8")) () ")")) (compound_statement "{\n      param_1 = *(byte **)(param_1 + 0x18);\n      bVar1 = *param_1;\n    }" ({ "{") (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")) (else_clause "else {\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" (else "else") (compound_statement "{\n      param_1 = (byte *)FUN_0012b210();\n      bVar1 = *param_1;\n    }" ({ "{") (expression_statement "param_1 = (byte *)FUN_0012b210();" (assignment_expression "param_1 = (byte *)FUN_0012b210()" (identifier "param_1") (= "=") (cast_expression "(byte *)FUN_0012b210()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0012b210()" (identifier "FUN_0012b210") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")))) (expression_statement "uVar2 = param_2[1];" (assignment_expression "uVar2 = param_2[1]" (identifier "uVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = *param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = *param_2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = param_2[3];" (assignment_expression "uVar2 = param_2[3]" (identifier "uVar2") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x20) = param_2[2];" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = param_2[2]" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if ((bVar1 & 1) != 0) {\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" (if "if") (parenthesized_expression "((bVar1 & 1) != 0)" (( "(") (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }\n      param_1 = *(byte **)(param_1 + 0x18);\n    }" ({ "{") (if_statement "if (*(long *)(param_1 + 8) != DAT_0019d7b8) {\n        return;\n      }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_0019d7b8)" (( "(") (binary_expression "*(long *)(param_1 + 8) != DAT_0019d7b8" (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 "DAT_0019d7b8")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (} "}")))) (expression_statement "param_1[1] = param_1[1] & 0xfd;" (assignment_expression "param_1[1] = param_1[1] & 0xfd" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] & 0xfd" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0xfd"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *s,type_2 *exp)

{
  type_3 *puVar1;
  type_4 var_3;
  type_1 *psVar3;
  type_5 uVar4;
  type_6 uVar5;
  type_7 uVar6;
  
  if (((type_8)s->sy_flags & 1) == 0) {
    psVar3 = exp->X_op_symbol;
    (s->sy_value).X_add_symbol = exp->X_add_symbol;
    (s->sy_value).X_op_symbol = psVar3;
    uVar4 = *(type_5 *)&exp->field_0x18;
    uVar5 = exp->X_md;
    uVar6 = *(type_7 *)&exp->field_0x1c;
    (s->sy_value).X_add_number = exp->X_add_number;
    *(type_5 *)&(s->sy_value).field_0x18 = uVar4;
    (s->sy_value).X_md = uVar5;
    *(type_7 *)&(s->sy_value).field_0x1c = uVar6;
  }
  else {
    if ((type_9)s->bsym == var_1) {
      s = (s->sy_value).X_op_symbol;
      var_3 = *(type_4 *)&s->sy_flags;
    }
    else {
      s = var_2((type_10 *)s);
      var_3 = *(type_4 *)&s->sy_flags;
    }
    psVar3 = exp->X_op_symbol;
    (s->sy_value).X_add_symbol = exp->X_add_symbol;
    (s->sy_value).X_op_symbol = psVar3;
    uVar4 = *(type_5 *)&exp->field_0x18;
    uVar5 = exp->X_md;
    uVar6 = *(type_7 *)&exp->field_0x1c;
    (s->sy_value).X_add_number = exp->X_add_number;
    *(type_5 *)&(s->sy_value).field_0x18 = uVar4;
    (s->sy_value).X_md = uVar5;
    *(type_7 *)&(s->sy_value).field_0x1c = uVar6;
    if ((var_3 & 1) != 0) {
      if ((type_9)s->bsym != var_1) {
        return;
      }
      s = (s->sy_value).X_op_symbol;
    }
  }
  puVar1 = &(s->sy_flags).field_0x1;
  *puVar1 = *puVar1 & 0xfd;
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (compound_statement (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 (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (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))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (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 (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement))))

void MASKED(byte *param_1,undefined8 *param_2)

{
  byte bVar1;
  undefined8 uVar2;
  
  if ((*param_1 & 1) == 0) {
    uVar2 = param_2[1];
    *(undefined8 *)(param_1 + 0x10) = *param_2;
    *(undefined8 *)(param_1 + 0x18) = uVar2;
    uVar2 = param_2[3];
    *(undefined8 *)(param_1 + 0x20) = param_2[2];
    *(undefined8 *)(param_1 + 0x28) = uVar2;
  }
  else {
    if (*(long *)(param_1 + 8) == DAT_0019d7b8) {
      param_1 = *(byte **)(param_1 + 0x18);
      bVar1 = *param_1;
    }
    else {
      param_1 = (byte *)FUN_0012b210();
      bVar1 = *param_1;
    }
    uVar2 = param_2[1];
    *(undefined8 *)(param_1 + 0x10) = *param_2;
    *(undefined8 *)(param_1 + 0x18) = uVar2;
    uVar2 = param_2[3];
    *(undefined8 *)(param_1 + 0x20) = param_2[2];
    *(undefined8 *)(param_1 + 0x28) = uVar2;
    if ((bVar1 & 1) != 0) {
      if (*(long *)(param_1 + 8) != DAT_0019d7b8) {
        return;
      }
      param_1 = *(byte **)(param_1 + 0x18);
    }
  }
  param_1[1] = param_1[1] & 0xfd;
  return;
}

