
int set_char_quoting(quoting_options *o,char c,int i)

{
  uint uVar1;
  uint uVar2;
  uchar uc;
  uint uVar3;
  
  if (o != (quoting_options *)0x0) {
    uVar3 = (byte)c & 0x1f;
    uVar2 = o->quote_these_too[(byte)c >> 5];
    uVar1 = uVar2 >> uVar3;
    o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;
    return uVar1 & 1;
  }
  uVar3 = (byte)c & 0x1f;
  uVar2 = *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578);
  uVar1 = uVar2 >> uVar3;
  *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578) =
       ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;
  return uVar1 & 1;
}



uint set_char_quoting(int param_1,uint param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  uint *puVar3;
  
  if (param_1 != 0) {
    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);
    uVar2 = *puVar3;
    uVar1 = uVar2 >> (param_2 & 0x1f);
    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;
    return uVar1 & 1;
  }
  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);
  uVar1 = uVar2 >> (param_2 & 0x1f);
  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =
       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;
  return uVar1 & 1;
}


lui gp,0x2
addiu gp,gp,0x5054
addu gp,gp,t9
beq a0,zero,0x000160c8
_andi a1,a1,0xff
srl v0,a1,0x5
addiu a0,a0,0x8
sll v0,v0,0x2
andi a1,a1,0x1f
addu a0,a0,v0
lw v1,0x0(a0)
srlv v0,v1,a1
xor a2,v0,a2
andi a2,a2,0x1
sllv a2,a2,a1
andi v0,v0,0x1
xor a2,a2,v1
jr ra
_sw a2,0x0(a0)
lw a0,-0x7fd8(gp)
srl v0,a1,0x5
andi a1,a1,0x1f
sll v0,v0,0x2
addiu a0,a0,0x3570
addiu a0,a0,0x8
addu a0,a0,v0
lw v1,0x0(a0)
srlv v0,v1,a1
xor a2,v0,a2
andi a2,a2,0x1
sllv a2,a2,a1
andi v0,v0,0x1
xor a2,a2,v1
jr ra
_sw a2,0x0(a0)
(translation_unit "uint set_char_quoting(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}\n\n" (function_definition "uint set_char_quoting(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" type_identifier (function_declarator "set_char_quoting(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }" { (expression_statement "puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);" (assignment_expression "puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" identifier = (cast_expression "(uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" ( (binary_expression "param_1 + 8 + ((param_2 & 0xff) >> 5) * 4" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" ( (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) )) >> number_literal) )) * number_literal)) )))) ;) (expression_statement "uVar2 = *puVar3;" (assignment_expression "uVar2 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar1 = uVar2 >> (param_2 & 0x1f);" (assignment_expression "uVar1 = uVar2 >> (param_2 & 0x1f)" identifier = (binary_expression "uVar2 >> (param_2 & 0x1f)" identifier >> (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f)" (parenthesized_expression "((uVar1 ^ param_3) & 1)" ( (binary_expression "(uVar1 ^ param_3) & 1" (parenthesized_expression "(uVar1 ^ param_3)" ( (binary_expression "uVar1 ^ param_3" identifier ^ identifier) )) & number_literal) )) << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })) (expression_statement "uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);" (assignment_expression "uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" identifier = (pointer_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" * (cast_expression "(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4" identifier + (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" ( (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) )) >> number_literal) )) * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar1 = uVar2 >> (param_2 & 0x1f);" (assignment_expression "uVar1 = uVar2 >> (param_2 & 0x1f)" identifier = (binary_expression "uVar2 >> (param_2 & 0x1f)" identifier >> (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" * (cast_expression "(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4" identifier + (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" ( (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) )) >> number_literal) )) * number_literal)) + number_literal) )))) = (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f)" (parenthesized_expression "((uVar1 ^ param_3) & 1)" ( (binary_expression "(uVar1 ^ param_3) & 1" (parenthesized_expression "(uVar1 ^ param_3)" ( (binary_expression "uVar1 ^ param_3" identifier ^ identifier) )) & number_literal) )) << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })))
(translation_unit "int set_char_quoting(quoting_options *o,char c,int i)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uchar uc;\n  uint uVar3;\n  \n  if (o != (quoting_options *)0x0) {\n    uVar3 = (byte)c & 0x1f;\n    uVar2 = o->quote_these_too[(byte)c >> 5];\n    uVar1 = uVar2 >> uVar3;\n    o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar3 = (byte)c & 0x1f;\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> uVar3;\n  *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n  return uVar1 & 1;\n}\n\n" (function_definition "int set_char_quoting(quoting_options *o,char c,int i)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uchar uc;\n  uint uVar3;\n  \n  if (o != (quoting_options *)0x0) {\n    uVar3 = (byte)c & 0x1f;\n    uVar2 = o->quote_these_too[(byte)c >> 5];\n    uVar1 = uVar2 >> uVar3;\n    o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar3 = (byte)c & 0x1f;\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> uVar3;\n  *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n  return uVar1 & 1;\n}" primitive_type (function_declarator "set_char_quoting(quoting_options *o,char c,int i)" identifier (parameter_list "(quoting_options *o,char c,int i)" ( (parameter_declaration "quoting_options *o" type_identifier (pointer_declarator "*o" * identifier)) , (parameter_declaration "char c" primitive_type identifier) , (parameter_declaration "int i" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uchar uc;\n  uint uVar3;\n  \n  if (o != (quoting_options *)0x0) {\n    uVar3 = (byte)c & 0x1f;\n    uVar2 = o->quote_these_too[(byte)c >> 5];\n    uVar1 = uVar2 >> uVar3;\n    o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar3 = (byte)c & 0x1f;\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> uVar3;\n  *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n  return uVar1 & 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uchar uc;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (o != (quoting_options *)0x0) {\n    uVar3 = (byte)c & 0x1f;\n    uVar2 = o->quote_these_too[(byte)c >> 5];\n    uVar1 = uVar2 >> uVar3;\n    o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n    return uVar1 & 1;\n  }" if (parenthesized_expression "(o != (quoting_options *)0x0)" ( (binary_expression "o != (quoting_options *)0x0" identifier != (cast_expression "(quoting_options *)0x0" ( (type_descriptor "quoting_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = (byte)c & 0x1f;\n    uVar2 = o->quote_these_too[(byte)c >> 5];\n    uVar1 = uVar2 >> uVar3;\n    o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;\n    return uVar1 & 1;\n  }" { (expression_statement "uVar3 = (byte)c & 0x1f;" (assignment_expression "uVar3 = (byte)c & 0x1f" identifier = (binary_expression "(byte)c & 0x1f" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar2 = o->quote_these_too[(byte)c >> 5];" (assignment_expression "uVar2 = o->quote_these_too[(byte)c >> 5]" identifier = (subscript_expression "o->quote_these_too[(byte)c >> 5]" (field_expression "o->quote_these_too" identifier -> field_identifier) [ (binary_expression "(byte)c >> 5" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) >> number_literal) ])) ;) (expression_statement "uVar1 = uVar2 >> uVar3;" (assignment_expression "uVar1 = uVar2 >> uVar3" identifier = (binary_expression "uVar2 >> uVar3" identifier >> identifier)) ;) (expression_statement "o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;" (assignment_expression "o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << uVar3 ^ uVar2" (subscript_expression "o->quote_these_too[(byte)c >> 5]" (field_expression "o->quote_these_too" identifier -> field_identifier) [ (binary_expression "(byte)c >> 5" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) >> number_literal) ]) = (binary_expression "((uVar1 ^ i) & 1) << uVar3 ^ uVar2" (binary_expression "((uVar1 ^ i) & 1) << uVar3" (parenthesized_expression "((uVar1 ^ i) & 1)" ( (binary_expression "(uVar1 ^ i) & 1" (parenthesized_expression "(uVar1 ^ i)" ( (binary_expression "uVar1 ^ i" identifier ^ identifier) )) & number_literal) )) << identifier) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })) (expression_statement "uVar3 = (byte)c & 0x1f;" (assignment_expression "uVar3 = (byte)c & 0x1f" identifier = (binary_expression "(byte)c & 0x1f" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar2 = *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578);" (assignment_expression "uVar2 = *(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" identifier = (pointer_expression "*(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" * (cast_expression "(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" ( (binary_expression "PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4" identifier + (binary_expression "(uint)((byte)c >> 5) * 4" (call_expression "(uint)((byte)c >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)c >> 5)" ( (binary_expression "(byte)c >> 5" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) >> number_literal) ))) * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar1 = uVar2 >> uVar3;" (assignment_expression "uVar1 = uVar2 >> uVar3" identifier = (binary_expression "uVar2 >> uVar3" identifier >> identifier)) ;) (expression_statement "*(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ i) & 1) << uVar3 ^ uVar2;" (assignment_expression "*(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ i) & 1) << uVar3 ^ uVar2" (pointer_expression "*(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" * (cast_expression "(uint *)(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578)" ( (binary_expression "PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + (uint)((byte)c >> 5) * 4" identifier + (binary_expression "(uint)((byte)c >> 5) * 4" (call_expression "(uint)((byte)c >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)c >> 5)" ( (binary_expression "(byte)c >> 5" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) >> number_literal) ))) * number_literal)) + number_literal) )))) = (binary_expression "((uVar1 ^ i) & 1) << uVar3 ^ uVar2" (binary_expression "((uVar1 ^ i) & 1) << uVar3" (parenthesized_expression "((uVar1 ^ i) & 1)" ( (binary_expression "(uVar1 ^ i) & 1" (parenthesized_expression "(uVar1 ^ i)" ( (binary_expression "uVar1 ^ i" identifier ^ identifier) )) & number_literal) )) << identifier) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })))
(translation_unit "uint set_char_quoting(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}\n\n" (function_definition "uint set_char_quoting(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" type_identifier (function_declarator "set_char_quoting(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }" { (expression_statement "puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);" (assignment_expression "puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" identifier = (cast_expression "(uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" ( (binary_expression "param_1 + 8 + ((param_2 & 0xff) >> 5) * 4" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" ( (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) )) >> number_literal) )) * number_literal)) )))) ;) (expression_statement "uVar2 = *puVar3;" (assignment_expression "uVar2 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "uVar1 = uVar2 >> (param_2 & 0x1f);" (assignment_expression "uVar1 = uVar2 >> (param_2 & 0x1f)" identifier = (binary_expression "uVar2 >> (param_2 & 0x1f)" identifier >> (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*puVar3" * identifier) = (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f)" (parenthesized_expression "((uVar1 ^ param_3) & 1)" ( (binary_expression "(uVar1 ^ param_3) & 1" (parenthesized_expression "(uVar1 ^ param_3)" ( (binary_expression "uVar1 ^ param_3" identifier ^ identifier) )) & number_literal) )) << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })) (expression_statement "uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);" (assignment_expression "uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" identifier = (pointer_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" * (cast_expression "(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4" identifier + (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" ( (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) )) >> number_literal) )) * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar1 = uVar2 >> (param_2 & 0x1f);" (assignment_expression "uVar1 = uVar2 >> (param_2 & 0x1f)" identifier = (binary_expression "uVar2 >> (param_2 & 0x1f)" identifier >> (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" * (cast_expression "(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" ( (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4" identifier + (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" ( (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) )) >> number_literal) )) * number_literal)) + number_literal) )))) = (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f)" (parenthesized_expression "((uVar1 ^ param_3) & 1)" ( (binary_expression "(uVar1 ^ param_3) & 1" (parenthesized_expression "(uVar1 ^ param_3)" ( (binary_expression "uVar1 ^ param_3" identifier ^ identifier) )) & number_literal) )) << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ IDENT) )) & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ^ IDENT)) ;) (return_statement return (binary_expression IDENT & LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) )) * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) )) * LIT)) + LIT) )))) = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ IDENT) )) & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ^ IDENT)) ;) (return_statement return (binary_expression IDENT & LIT) ;) })))
(function_definition "uint set_char_quoting(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" (type_identifier "uint") (function_declarator "set_char_quoting(int param_1,uint param_2,uint param_3)" (identifier "set_char_quoting") (parameter_list "(int param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }\n  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (if_statement "if (param_1 != 0) {\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);\n    uVar2 = *puVar3;\n    uVar1 = uVar2 >> (param_2 & 0x1f);\n    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n    return uVar1 & 1;\n  }" ({ "{") (expression_statement "puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);" (assignment_expression "puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" (identifier "puVar3") (= "=") (cast_expression "(uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4)" (( "(") (binary_expression "param_1 + 8 + ((param_2 & 0xff) >> 5) * 4" (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (+ "+") (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" (( "(") (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" (( "(") (binary_expression "param_2 & 0xff" (identifier "param_2") (& "&") (number_literal "0xff")) () ")")) (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar2 = *puVar3;" (assignment_expression "uVar2 = *puVar3" (identifier "uVar2") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "uVar1 = uVar2 >> (param_2 & 0x1f);" (assignment_expression "uVar1 = uVar2 >> (param_2 & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "uVar2 >> (param_2 & 0x1f)" (identifier "uVar2") (>> ">>") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "*puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f)" (parenthesized_expression "((uVar1 ^ param_3) & 1)" (( "(") (binary_expression "(uVar1 ^ param_3) & 1" (parenthesized_expression "(uVar1 ^ param_3)" (( "(") (binary_expression "uVar1 ^ param_3" (identifier "uVar1") (^ "^") (identifier "param_3")) () ")")) (& "&") (number_literal "1")) () ")")) (<< "<<") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (identifier "uVar2"))) (; ";")) (return_statement "return uVar1 & 1;" (return "return") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);" (assignment_expression "uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (* "*") (cast_expression "(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (( "(") (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4" (identifier "PTR_DAT_000330f8") (+ "+") (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" (( "(") (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" (( "(") (binary_expression "param_2 & 0xff" (identifier "param_2") (& "&") (number_literal "0xff")) () ")")) (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x3578")) () ")"))))) (; ";")) (expression_statement "uVar1 = uVar2 >> (param_2 & 0x1f);" (assignment_expression "uVar1 = uVar2 >> (param_2 & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "uVar2 >> (param_2 & 0x1f)" (identifier "uVar2") (>> ">>") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (* "*") (cast_expression "(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578)" (( "(") (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578" (binary_expression "PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4" (identifier "PTR_DAT_000330f8") (+ "+") (binary_expression "((param_2 & 0xff) >> 5) * 4" (parenthesized_expression "((param_2 & 0xff) >> 5)" (( "(") (binary_expression "(param_2 & 0xff) >> 5" (parenthesized_expression "(param_2 & 0xff)" (( "(") (binary_expression "param_2 & 0xff" (identifier "param_2") (& "&") (number_literal "0xff")) () ")")) (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x3578")) () ")")))) (= "=") (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ param_3) & 1) << (param_2 & 0x1f)" (parenthesized_expression "((uVar1 ^ param_3) & 1)" (( "(") (binary_expression "(uVar1 ^ param_3) & 1" (parenthesized_expression "(uVar1 ^ param_3)" (( "(") (binary_expression "uVar1 ^ param_3" (identifier "uVar1") (^ "^") (identifier "param_3")) () ")")) (& "&") (number_literal "1")) () ")")) (<< "<<") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (identifier "uVar2"))) (; ";")) (return_statement "return uVar1 & 1;" (return "return") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (identifier)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (identifier)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

uint MASKED(int param_1,uint param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  uint *puVar3;
  
  if (param_1 != 0) {
    puVar3 = (uint *)(param_1 + 8 + ((param_2 & 0xff) >> 5) * 4);
    uVar2 = *puVar3;
    uVar1 = uVar2 >> (param_2 & 0x1f);
    *puVar3 = ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;
    return uVar1 & 1;
  }
  uVar2 = *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578);
  uVar1 = uVar2 >> (param_2 & 0x1f);
  *(uint *)(PTR_DAT_000330f8 + ((param_2 & 0xff) >> 5) * 4 + 0x3578) =
       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;
  return uVar1 & 1;
}

