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

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



uint set_char_quoting(undefined *param_1,uint param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  
  if (param_1 == (undefined *)0x0) {
    param_1 = PTR_DAT_000290f8 + -0x6c00;
  }
  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);
  uVar1 = uVar2 >> (param_2 & 0x1f);
  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =
       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;
  return uVar1 & 1;
}


lui gp,0x2
addiu gp,gp,-0x2a04
addu gp,gp,t9
beq a0,zero,0x00013b20
_andi a1,a1,0xff
addiu a0,a0,0x8
srl v0,a1,0x5
sll v0,v0,0x2
addu a0,a0,v0
andi v1,a1,0x1f
lw a3,0x0(a0)
srlv v0,a3,v1
xor a1,v0,a2
andi a1,a1,0x1
sllv a1,a1,v1
xor a1,a1,a3
sw a1,0x0(a0)
jr ra
_andi v0,v0,0x1
lw a0,-0x7fd8(gp)
b 0x00013ae8
_addiu a0,a0,-0x6c00
(translation_unit "uint set_char_quoting(undefined *param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}\n\n" (function_definition "uint set_char_quoting(undefined *param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" type_identifier (function_declarator "set_char_quoting(undefined *param_1,uint param_2,uint param_3)" identifier (parameter_list "(undefined *param_1,uint param_2,uint param_3)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * 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  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\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 ;) (if_statement "if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }" if (parenthesized_expression "(param_1 == (undefined *)0x0)" ( (binary_expression "param_1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }" { (expression_statement "param_1 = PTR_DAT_000290f8 + -0x6c00;" (assignment_expression "param_1 = PTR_DAT_000290f8 + -0x6c00" identifier = (binary_expression "PTR_DAT_000290f8 + -0x6c00" identifier + number_literal)) ;) })) (expression_statement "uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);" (assignment_expression "uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" * (cast_expression "(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4 + 8" (binary_expression "param_1 + ((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 *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" * (cast_expression "(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4 + 8" (binary_expression "param_1 + ((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  uchar uc;\n  uint uVar2;\n  \n  if (o == (quoting_options *)0x0) {\n    o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00);\n  }\n  uVar2 = o->quote_these_too[(byte)c >> 5];\n  uVar1 = uVar2 >> ((byte)c & 0x1f);\n  o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << ((byte)c & 0x1f) ^ 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  uchar uc;\n  uint uVar2;\n  \n  if (o == (quoting_options *)0x0) {\n    o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00);\n  }\n  uVar2 = o->quote_these_too[(byte)c >> 5];\n  uVar1 = uVar2 >> ((byte)c & 0x1f);\n  o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << ((byte)c & 0x1f) ^ 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  uchar uc;\n  uint uVar2;\n  \n  if (o == (quoting_options *)0x0) {\n    o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00);\n  }\n  uVar2 = o->quote_these_too[(byte)c >> 5];\n  uVar1 = uVar2 >> ((byte)c & 0x1f);\n  o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << ((byte)c & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uchar uc;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (o == (quoting_options *)0x0) {\n    o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00);\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    o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00);\n  }" { (expression_statement "o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00);" (assignment_expression "o = (quoting_options *)(PTR_DAT_000290f8 + -0x6c00)" identifier = (cast_expression "(quoting_options *)(PTR_DAT_000290f8 + -0x6c00)" ( (type_descriptor "quoting_options *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000290f8 + -0x6c00)" ( (binary_expression "PTR_DAT_000290f8 + -0x6c00" 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 >> ((byte)c & 0x1f);" (assignment_expression "uVar1 = uVar2 >> ((byte)c & 0x1f)" identifier = (binary_expression "uVar2 >> ((byte)c & 0x1f)" identifier >> (parenthesized_expression "((byte)c & 0x1f)" ( (binary_expression "(byte)c & 0x1f" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << ((byte)c & 0x1f) ^ uVar2;" (assignment_expression "o->quote_these_too[(byte)c >> 5] = ((uVar1 ^ i) & 1) << ((byte)c & 0x1f) ^ 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) << ((byte)c & 0x1f) ^ uVar2" (binary_expression "((uVar1 ^ i) & 1) << ((byte)c & 0x1f)" (parenthesized_expression "((uVar1 ^ i) & 1)" ( (binary_expression "(uVar1 ^ i) & 1" (parenthesized_expression "(uVar1 ^ i)" ( (binary_expression "uVar1 ^ i" identifier ^ identifier) )) & number_literal) )) << (parenthesized_expression "((byte)c & 0x1f)" ( (binary_expression "(byte)c & 0x1f" (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) ^ identifier)) ;) (return_statement "return uVar1 & 1;" return (binary_expression "uVar1 & 1" identifier & number_literal) ;) })))
(translation_unit "uint set_char_quoting(undefined *param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}\n\n" (function_definition "uint set_char_quoting(undefined *param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" type_identifier (function_declarator "set_char_quoting(undefined *param_1,uint param_2,uint param_3)" identifier (parameter_list "(undefined *param_1,uint param_2,uint param_3)" ( (parameter_declaration "undefined *param_1" type_identifier (pointer_declarator "*param_1" * 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  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\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 ;) (if_statement "if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }" if (parenthesized_expression "(param_1 == (undefined *)0x0)" ( (binary_expression "param_1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }" { (expression_statement "param_1 = PTR_DAT_000290f8 + -0x6c00;" (assignment_expression "param_1 = PTR_DAT_000290f8 + -0x6c00" identifier = (binary_expression "PTR_DAT_000290f8 + -0x6c00" identifier + number_literal)) ;) })) (expression_statement "uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);" (assignment_expression "uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" * (cast_expression "(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4 + 8" (binary_expression "param_1 + ((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 *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" * (cast_expression "(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" ( (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4 + 8" (binary_expression "param_1 + ((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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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(undefined *param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;\n  return uVar1 & 1;\n}" (type_identifier "uint") (function_declarator "set_char_quoting(undefined *param_1,uint param_2,uint param_3)" (identifier "set_char_quoting") (parameter_list "(undefined *param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "undefined *param_1" (type_identifier "undefined") (pointer_declarator "*param_1" (* "*") (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  \n  if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }\n  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);\n  uVar1 = uVar2 >> (param_2 & 0x1f);\n  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\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") (; ";")) (if_statement "if (param_1 == (undefined *)0x0) {\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined *)0x0)" (( "(") (binary_expression "param_1 == (undefined *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1 = PTR_DAT_000290f8 + -0x6c00;\n  }" ({ "{") (expression_statement "param_1 = PTR_DAT_000290f8 + -0x6c00;" (assignment_expression "param_1 = PTR_DAT_000290f8 + -0x6c00" (identifier "param_1") (= "=") (binary_expression "PTR_DAT_000290f8 + -0x6c00" (identifier "PTR_DAT_000290f8") (+ "+") (number_literal "-0x6c00"))) (; ";")) (} "}"))) (expression_statement "uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);" (assignment_expression "uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (* "*") (cast_expression "(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (( "(") (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4 + 8" (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4" (identifier "param_1") (+ "+") (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 "8")) () ")"))))) (; ";")) (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 *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;" (assignment_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =\n       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2" (pointer_expression "*(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (* "*") (cast_expression "(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8)" (( "(") (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4 + 8" (binary_expression "param_1 + ((param_2 & 0xff) >> 5) * 4" (identifier "param_1") (+ "+") (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 "8")) () ")")))) (= "=") (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")) (; ";")) (} "}")))

int function_1(type_1 *var_1,char c,int var_5)

{
  type_2 var_4;
  type_3 uc;
  type_2 var_3;
  
  if (var_1 == (type_1 *)0x0) {
    var_1 = (type_1 *)(var_2 + -0x6c00);
  }
  var_3 = var_1->quote_these_too[(type_4)c >> 5];
  var_4 = var_3 >> ((type_4)c & 0x1f);
  var_1->quote_these_too[(type_4)c >> 5] = ((var_4 ^ var_5) & 1) << ((type_4)c & 0x1f) ^ var_3;
  return var_4 & 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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(undefined *param_1,uint param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  
  if (param_1 == (undefined *)0x0) {
    param_1 = PTR_DAT_000290f8 + -0x6c00;
  }
  uVar2 = *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8);
  uVar1 = uVar2 >> (param_2 & 0x1f);
  *(uint *)(param_1 + ((param_2 & 0xff) >> 5) * 4 + 8) =
       ((uVar1 ^ param_3) & 1) << (param_2 & 0x1f) ^ uVar2;
  return uVar1 & 1;
}

