
node_conflict * mk_splitter(char *s,tsplitter *spl)

{
  undefined *puVar1;
  node_s *pnVar2;
  regex_t *prVar3;
  
  prVar3 = spl->re;
  pnVar2 = (node_s *)(spl->re + 1);
  if (((spl->n).info & 0xff00) == 0x2100) {
    (*(code *)PTR_regfree_00132034)(prVar3);
    (*(code *)PTR_regfree_00132034)(pnVar2);
  }
  if (((byte)*s == 0) || (s[1] == '\0')) {
    (spl->n).info = (uint)(byte)*s;
  }
  else {
    (spl->n).info = 0x2100;
    (spl->n).l.n = (node_s *)prVar3;
    (spl->n).r.n = pnVar2;
    puVar1 = PTR_xregcomp_00131978;
    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);
    (*(code *)puVar1)(pnVar2,s,3);
  }
  return &spl->n;
}



uint * FUN_000d0758(byte *param_1,uint *param_2)

{
  undefined *puVar1;
  uint *puVar2;
  uint *puVar3;
  
  puVar3 = param_2 + 5;
  puVar2 = param_2 + 0xd;
  if ((*param_2 & 0xff00) == 0x2100) {
    (*(code *)PTR_regfree_00132034)(puVar3);
    (*(code *)PTR_regfree_00132034)(puVar2);
  }
  if ((*param_1 == 0) || (param_1[1] == 0)) {
    *param_2 = (uint)*param_1;
  }
  else {
    *param_2 = 0x2100;
    param_2[2] = (uint)puVar3;
    param_2[3] = (uint)puVar2;
    puVar1 = PTR_FUN_00131978;
    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);
    (*(code *)puVar1)(puVar2,param_1,3);
  }
  return param_2;
}


lui gp,0x7
addiu gp,gp,-0x7608
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s1,a0,zero
or s0,a1,zero
addiu s3,a1,0x14
lw v0,0x0(a1)
andi v0,v0,0xff00
li v1,0x2100
bne v0,v1,0x000d07c8
_addiu s2,a1,0x34
or a0,s3,zero
lw t9,-0x711c(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a0,s2,zero
lw t9,-0x711c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lbu v0,0x0(s1)
beq v0,zero,0x000d0848
_nop
lbu v1,0x1(s1)
beq v1,zero,0x000d0848
_li a2,0x1
li v0,0x2100
sw v0,0x0(s0)
sw s3,0x8(s0)
sw s2,0xc(s0)
or a1,s1,zero
or a0,s3,zero
lw s3,-0x77d8(gp)
or t9,s3,zero
jalr t9
_nop
lw gp,0x10(sp)
li a2,0x3
or a1,s1,zero
or a0,s2,zero
or t9,s3,zero
jalr t9
_nop
lw gp,0x10(sp)
or v0,s0,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
b 0x000d0828
_sw v0,0x0(s0)
(translation_unit "uint * FUN_000d0758(byte *param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}\n\n" (function_definition "uint * FUN_000d0758(byte *param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}" type_identifier (pointer_declarator "* FUN_000d0758(byte *param_1,uint *param_2)" * (function_declarator "FUN_000d0758(byte *param_1,uint *param_2)" identifier (parameter_list "(byte *param_1,uint *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = param_2 + 5;" (assignment_expression "puVar3 = param_2 + 5" identifier = (binary_expression "param_2 + 5" identifier + number_literal)) ;) (expression_statement "puVar2 = param_2 + 0xd;" (assignment_expression "puVar2 = param_2 + 0xd" identifier = (binary_expression "param_2 + 0xd" identifier + number_literal)) ;) (if_statement "if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }" if (parenthesized_expression "((*param_2 & 0xff00) == 0x2100)" ( (binary_expression "(*param_2 & 0xff00) == 0x2100" (parenthesized_expression "(*param_2 & 0xff00)" ( (binary_expression "*param_2 & 0xff00" (pointer_expression "*param_2" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }" { (expression_statement "(*(code *)PTR_regfree_00132034)(puVar3);" (call_expression "(*(code *)PTR_regfree_00132034)(puVar3)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" ( (pointer_expression "*(code *)PTR_regfree_00132034" * (cast_expression "(code *)PTR_regfree_00132034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_regfree_00132034)(puVar2);" (call_expression "(*(code *)PTR_regfree_00132034)(puVar2)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" ( (pointer_expression "*(code *)PTR_regfree_00132034" * (cast_expression "(code *)PTR_regfree_00132034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) })) (if_statement "if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" if (parenthesized_expression "((*param_1 == 0) || (param_1[1] == 0))" ( (binary_expression "(*param_1 == 0) || (param_1[1] == 0)" (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    *param_2 = (uint)*param_1;\n  }" { (expression_statement "*param_2 = (uint)*param_1;" (assignment_expression "*param_2 = (uint)*param_1" (pointer_expression "*param_2" * identifier) = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) (else_clause "else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" else (compound_statement "{\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" { (expression_statement "*param_2 = 0x2100;" (assignment_expression "*param_2 = 0x2100" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[2] = (uint)puVar3;" (assignment_expression "param_2[2] = (uint)puVar3" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(uint)puVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_2[3] = (uint)puVar2;" (assignment_expression "param_2[3] = (uint)puVar2" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar1 = PTR_FUN_00131978;" (assignment_expression "puVar1 = PTR_FUN_00131978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_FUN_00131978)(puVar3,param_1,1);" (call_expression "(*(code *)PTR_FUN_00131978)(puVar3,param_1,1)" (parenthesized_expression "(*(code *)PTR_FUN_00131978)" ( (pointer_expression "*(code *)PTR_FUN_00131978" * (cast_expression "(code *)PTR_FUN_00131978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,param_1,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)puVar1)(puVar2,param_1,3);" (call_expression "(*(code *)puVar1)(puVar2,param_1,3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,param_1,3)" ( identifier , identifier , number_literal ))) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "node_conflict * mk_splitter(char *s,tsplitter *spl)\n\n{\n  undefined *puVar1;\n  node_s *pnVar2;\n  regex_t *prVar3;\n  \n  prVar3 = spl->re;\n  pnVar2 = (node_s *)(spl->re + 1);\n  if (((spl->n).info & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(prVar3);\n    (*(code *)PTR_regfree_00132034)(pnVar2);\n  }\n  if (((byte)*s == 0) || (s[1] == '\0')) {\n    (spl->n).info = (uint)(byte)*s;\n  }\n  else {\n    (spl->n).info = 0x2100;\n    (spl->n).l.n = (node_s *)prVar3;\n    (spl->n).r.n = pnVar2;\n    puVar1 = PTR_xregcomp_00131978;\n    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);\n    (*(code *)puVar1)(pnVar2,s,3);\n  }\n  return &spl->n;\n}\n\n" (function_definition "node_conflict * mk_splitter(char *s,tsplitter *spl)\n\n{\n  undefined *puVar1;\n  node_s *pnVar2;\n  regex_t *prVar3;\n  \n  prVar3 = spl->re;\n  pnVar2 = (node_s *)(spl->re + 1);\n  if (((spl->n).info & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(prVar3);\n    (*(code *)PTR_regfree_00132034)(pnVar2);\n  }\n  if (((byte)*s == 0) || (s[1] == '\0')) {\n    (spl->n).info = (uint)(byte)*s;\n  }\n  else {\n    (spl->n).info = 0x2100;\n    (spl->n).l.n = (node_s *)prVar3;\n    (spl->n).r.n = pnVar2;\n    puVar1 = PTR_xregcomp_00131978;\n    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);\n    (*(code *)puVar1)(pnVar2,s,3);\n  }\n  return &spl->n;\n}" type_identifier (pointer_declarator "* mk_splitter(char *s,tsplitter *spl)" * (function_declarator "mk_splitter(char *s,tsplitter *spl)" identifier (parameter_list "(char *s,tsplitter *spl)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "tsplitter *spl" type_identifier (pointer_declarator "*spl" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  node_s *pnVar2;\n  regex_t *prVar3;\n  \n  prVar3 = spl->re;\n  pnVar2 = (node_s *)(spl->re + 1);\n  if (((spl->n).info & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(prVar3);\n    (*(code *)PTR_regfree_00132034)(pnVar2);\n  }\n  if (((byte)*s == 0) || (s[1] == '\0')) {\n    (spl->n).info = (uint)(byte)*s;\n  }\n  else {\n    (spl->n).info = 0x2100;\n    (spl->n).l.n = (node_s *)prVar3;\n    (spl->n).r.n = pnVar2;\n    puVar1 = PTR_xregcomp_00131978;\n    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);\n    (*(code *)puVar1)(pnVar2,s,3);\n  }\n  return &spl->n;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "node_s *pnVar2;" type_identifier (pointer_declarator "*pnVar2" * identifier) ;) (declaration "regex_t *prVar3;" type_identifier (pointer_declarator "*prVar3" * identifier) ;) (expression_statement "prVar3 = spl->re;" (assignment_expression "prVar3 = spl->re" identifier = (field_expression "spl->re" identifier -> field_identifier)) ;) (expression_statement "pnVar2 = (node_s *)(spl->re + 1);" (assignment_expression "pnVar2 = (node_s *)(spl->re + 1)" identifier = (cast_expression "(node_s *)(spl->re + 1)" ( (type_descriptor "node_s *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(spl->re + 1)" ( (binary_expression "spl->re + 1" (field_expression "spl->re" identifier -> field_identifier) + number_literal) )))) ;) (if_statement "if (((spl->n).info & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(prVar3);\n    (*(code *)PTR_regfree_00132034)(pnVar2);\n  }" if (parenthesized_expression "(((spl->n).info & 0xff00) == 0x2100)" ( (binary_expression "((spl->n).info & 0xff00) == 0x2100" (parenthesized_expression "((spl->n).info & 0xff00)" ( (binary_expression "(spl->n).info & 0xff00" (field_expression "(spl->n).info" (parenthesized_expression "(spl->n)" ( (field_expression "spl->n" identifier -> field_identifier) )) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_regfree_00132034)(prVar3);\n    (*(code *)PTR_regfree_00132034)(pnVar2);\n  }" { (expression_statement "(*(code *)PTR_regfree_00132034)(prVar3);" (call_expression "(*(code *)PTR_regfree_00132034)(prVar3)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" ( (pointer_expression "*(code *)PTR_regfree_00132034" * (cast_expression "(code *)PTR_regfree_00132034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_regfree_00132034)(pnVar2);" (call_expression "(*(code *)PTR_regfree_00132034)(pnVar2)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" ( (pointer_expression "*(code *)PTR_regfree_00132034" * (cast_expression "(code *)PTR_regfree_00132034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pnVar2)" ( identifier ))) ;) })) (if_statement "if (((byte)*s == 0) || (s[1] == '\0')) {\n    (spl->n).info = (uint)(byte)*s;\n  }\n  else {\n    (spl->n).info = 0x2100;\n    (spl->n).l.n = (node_s *)prVar3;\n    (spl->n).r.n = pnVar2;\n    puVar1 = PTR_xregcomp_00131978;\n    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);\n    (*(code *)puVar1)(pnVar2,s,3);\n  }" if (parenthesized_expression "(((byte)*s == 0) || (s[1] == '\0'))" ( (binary_expression "((byte)*s == 0) || (s[1] == '\0')" (parenthesized_expression "((byte)*s == 0)" ( (binary_expression "(byte)*s == 0" (binary_expression "(byte)*s" (parenthesized_expression "(byte)" ( identifier )) * identifier) == number_literal) )) || (parenthesized_expression "(s[1] == '\0')" ( (binary_expression "s[1] == '\0'" (subscript_expression "s[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    (spl->n).info = (uint)(byte)*s;\n  }" { (expression_statement "(spl->n).info = (uint)(byte)*s;" (assignment_expression "(spl->n).info = (uint)(byte)*s" (field_expression "(spl->n).info" (parenthesized_expression "(spl->n)" ( (field_expression "spl->n" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(uint)(byte)*s" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) }) (else_clause "else {\n    (spl->n).info = 0x2100;\n    (spl->n).l.n = (node_s *)prVar3;\n    (spl->n).r.n = pnVar2;\n    puVar1 = PTR_xregcomp_00131978;\n    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);\n    (*(code *)puVar1)(pnVar2,s,3);\n  }" else (compound_statement "{\n    (spl->n).info = 0x2100;\n    (spl->n).l.n = (node_s *)prVar3;\n    (spl->n).r.n = pnVar2;\n    puVar1 = PTR_xregcomp_00131978;\n    (*(code *)PTR_xregcomp_00131978)(prVar3,s,1);\n    (*(code *)puVar1)(pnVar2,s,3);\n  }" { (expression_statement "(spl->n).info = 0x2100;" (assignment_expression "(spl->n).info = 0x2100" (field_expression "(spl->n).info" (parenthesized_expression "(spl->n)" ( (field_expression "spl->n" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(spl->n).l.n = (node_s *)prVar3;" (assignment_expression "(spl->n).l.n = (node_s *)prVar3" (field_expression "(spl->n).l.n" (field_expression "(spl->n).l" (parenthesized_expression "(spl->n)" ( (field_expression "spl->n" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(node_s *)prVar3" ( (type_descriptor "node_s *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(spl->n).r.n = pnVar2;" (assignment_expression "(spl->n).r.n = pnVar2" (field_expression "(spl->n).r.n" (field_expression "(spl->n).r" (parenthesized_expression "(spl->n)" ( (field_expression "spl->n" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "puVar1 = PTR_xregcomp_00131978;" (assignment_expression "puVar1 = PTR_xregcomp_00131978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_xregcomp_00131978)(prVar3,s,1);" (call_expression "(*(code *)PTR_xregcomp_00131978)(prVar3,s,1)" (parenthesized_expression "(*(code *)PTR_xregcomp_00131978)" ( (pointer_expression "*(code *)PTR_xregcomp_00131978" * (cast_expression "(code *)PTR_xregcomp_00131978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prVar3,s,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)puVar1)(pnVar2,s,3);" (call_expression "(*(code *)puVar1)(pnVar2,s,3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pnVar2,s,3)" ( identifier , identifier , number_literal ))) ;) }))) (return_statement "return &spl->n;" return (pointer_expression "&spl->n" & (field_expression "spl->n" identifier -> field_identifier)) ;) })))
(translation_unit "uint * FUN_000d0758(byte *param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}\n\n" (function_definition "uint * FUN_000d0758(byte *param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}" type_identifier (pointer_declarator "* FUN_000d0758(byte *param_1,uint *param_2)" * (function_declarator "FUN_000d0758(byte *param_1,uint *param_2)" identifier (parameter_list "(byte *param_1,uint *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = param_2 + 5;" (assignment_expression "puVar3 = param_2 + 5" identifier = (binary_expression "param_2 + 5" identifier + number_literal)) ;) (expression_statement "puVar2 = param_2 + 0xd;" (assignment_expression "puVar2 = param_2 + 0xd" identifier = (binary_expression "param_2 + 0xd" identifier + number_literal)) ;) (if_statement "if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }" if (parenthesized_expression "((*param_2 & 0xff00) == 0x2100)" ( (binary_expression "(*param_2 & 0xff00) == 0x2100" (parenthesized_expression "(*param_2 & 0xff00)" ( (binary_expression "*param_2 & 0xff00" (pointer_expression "*param_2" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }" { (expression_statement "(*(code *)PTR_regfree_00132034)(puVar3);" (call_expression "(*(code *)PTR_regfree_00132034)(puVar3)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" ( (pointer_expression "*(code *)PTR_regfree_00132034" * (cast_expression "(code *)PTR_regfree_00132034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_regfree_00132034)(puVar2);" (call_expression "(*(code *)PTR_regfree_00132034)(puVar2)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" ( (pointer_expression "*(code *)PTR_regfree_00132034" * (cast_expression "(code *)PTR_regfree_00132034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) })) (if_statement "if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" if (parenthesized_expression "((*param_1 == 0) || (param_1[1] == 0))" ( (binary_expression "(*param_1 == 0) || (param_1[1] == 0)" (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    *param_2 = (uint)*param_1;\n  }" { (expression_statement "*param_2 = (uint)*param_1;" (assignment_expression "*param_2 = (uint)*param_1" (pointer_expression "*param_2" * identifier) = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) (else_clause "else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" else (compound_statement "{\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" { (expression_statement "*param_2 = 0x2100;" (assignment_expression "*param_2 = 0x2100" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[2] = (uint)puVar3;" (assignment_expression "param_2[2] = (uint)puVar3" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (cast_expression "(uint)puVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_2[3] = (uint)puVar2;" (assignment_expression "param_2[3] = (uint)puVar2" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar1 = PTR_FUN_00131978;" (assignment_expression "puVar1 = PTR_FUN_00131978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_FUN_00131978)(puVar3,param_1,1);" (call_expression "(*(code *)PTR_FUN_00131978)(puVar3,param_1,1)" (parenthesized_expression "(*(code *)PTR_FUN_00131978)" ( (pointer_expression "*(code *)PTR_FUN_00131978" * (cast_expression "(code *)PTR_FUN_00131978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,param_1,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)puVar1)(puVar2,param_1,3);" (call_expression "(*(code *)puVar1)(puVar2,param_1,3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,param_1,3)" ( identifier , identifier , number_literal ))) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint * FUN_000d0758(byte *param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}" (type_identifier "uint") (pointer_declarator "* FUN_000d0758(byte *param_1,uint *param_2)" (* "*") (function_declarator "FUN_000d0758(byte *param_1,uint *param_2)" (identifier "FUN_000d0758") (parameter_list "(byte *param_1,uint *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  uint *puVar2;\n  uint *puVar3;\n  \n  puVar3 = param_2 + 5;\n  puVar2 = param_2 + 0xd;\n  if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }\n  if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }\n  return param_2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = param_2 + 5;" (assignment_expression "puVar3 = param_2 + 5" (identifier "puVar3") (= "=") (binary_expression "param_2 + 5" (identifier "param_2") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "puVar2 = param_2 + 0xd;" (assignment_expression "puVar2 = param_2 + 0xd" (identifier "puVar2") (= "=") (binary_expression "param_2 + 0xd" (identifier "param_2") (+ "+") (number_literal "0xd"))) (; ";")) (if_statement "if ((*param_2 & 0xff00) == 0x2100) {\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }" (if "if") (parenthesized_expression "((*param_2 & 0xff00) == 0x2100)" (( "(") (binary_expression "(*param_2 & 0xff00) == 0x2100" (parenthesized_expression "(*param_2 & 0xff00)" (( "(") (binary_expression "*param_2 & 0xff00" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (& "&") (number_literal "0xff00")) () ")")) (== "==") (number_literal "0x2100")) () ")")) (compound_statement "{\n    (*(code *)PTR_regfree_00132034)(puVar3);\n    (*(code *)PTR_regfree_00132034)(puVar2);\n  }" ({ "{") (expression_statement "(*(code *)PTR_regfree_00132034)(puVar3);" (call_expression "(*(code *)PTR_regfree_00132034)(puVar3)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" (( "(") (pointer_expression "*(code *)PTR_regfree_00132034" (* "*") (cast_expression "(code *)PTR_regfree_00132034" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_regfree_00132034"))) () ")")) (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_regfree_00132034)(puVar2);" (call_expression "(*(code *)PTR_regfree_00132034)(puVar2)" (parenthesized_expression "(*(code *)PTR_regfree_00132034)" (( "(") (pointer_expression "*(code *)PTR_regfree_00132034" (* "*") (cast_expression "(code *)PTR_regfree_00132034" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_regfree_00132034"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*param_1 == 0) || (param_1[1] == 0)) {\n    *param_2 = (uint)*param_1;\n  }\n  else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" (if "if") (parenthesized_expression "((*param_1 == 0) || (param_1[1] == 0))" (( "(") (binary_expression "(*param_1 == 0) || (param_1[1] == 0)" (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_1[1] == 0)" (( "(") (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *param_2 = (uint)*param_1;\n  }" ({ "{") (expression_statement "*param_2 = (uint)*param_1;" (assignment_expression "*param_2 = (uint)*param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1"))) (; ";")) (} "}")) (else_clause "else {\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" (else "else") (compound_statement "{\n    *param_2 = 0x2100;\n    param_2[2] = (uint)puVar3;\n    param_2[3] = (uint)puVar2;\n    puVar1 = PTR_FUN_00131978;\n    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);\n    (*(code *)puVar1)(puVar2,param_1,3);\n  }" ({ "{") (expression_statement "*param_2 = 0x2100;" (assignment_expression "*param_2 = 0x2100" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0x2100")) (; ";")) (expression_statement "param_2[2] = (uint)puVar3;" (assignment_expression "param_2[2] = (uint)puVar3" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(uint)puVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar3"))) (; ";")) (expression_statement "param_2[3] = (uint)puVar2;" (assignment_expression "param_2[3] = (uint)puVar2" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)puVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar2"))) (; ";")) (expression_statement "puVar1 = PTR_FUN_00131978;" (assignment_expression "puVar1 = PTR_FUN_00131978" (identifier "puVar1") (= "=") (identifier "PTR_FUN_00131978")) (; ";")) (expression_statement "(*(code *)PTR_FUN_00131978)(puVar3,param_1,1);" (call_expression "(*(code *)PTR_FUN_00131978)(puVar3,param_1,1)" (parenthesized_expression "(*(code *)PTR_FUN_00131978)" (( "(") (pointer_expression "*(code *)PTR_FUN_00131978" (* "*") (cast_expression "(code *)PTR_FUN_00131978" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00131978"))) () ")")) (argument_list "(puVar3,param_1,1)" (( "(") (identifier "puVar3") (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "(*(code *)puVar1)(puVar2,param_1,3);" (call_expression "(*(code *)puVar1)(puVar2,param_1,3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(puVar2,param_1,3)" (( "(") (identifier "puVar2") (, ",") (identifier "param_1") (, ",") (number_literal "3") () ")"))) (; ";")) (} "}")))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

type_1 * function_1(char *var_1,type_2 *spl)

{
  type_3 *puVar1;
  type_4 *pnVar2;
  type_5 *prVar3;
  
  prVar3 = spl->re;
  pnVar2 = (type_4 *)(spl->re + 1);
  if (((spl->n).info & 0xff00) == 0x2100) {
    (*(type_6 *)PTR_regfree_00132034)(prVar3);
    (*(type_6 *)PTR_regfree_00132034)(pnVar2);
  }
  if (((byte)*var_1 == 0) || (var_1[1] == '\0')) {
    (spl->n).info = (uint)(byte)*var_1;
  }
  else {
    (spl->n).info = 0x2100;
    (spl->n).l.n = (type_4 *)prVar3;
    (spl->n).r.n = pnVar2;
    puVar1 = PTR_xregcomp_00131978;
    (*(type_6 *)PTR_xregcomp_00131978)(prVar3,var_1,1);
    (*(type_6 *)puVar1)(pnVar2,var_1,3);
  }
  return &spl->n;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal))))))) (return_statement (identifier)))))

uint * MASKED(byte *param_1,uint *param_2)

{
  undefined *puVar1;
  uint *puVar2;
  uint *puVar3;
  
  puVar3 = param_2 + 5;
  puVar2 = param_2 + 0xd;
  if ((*param_2 & 0xff00) == 0x2100) {
    (*(code *)PTR_regfree_00132034)(puVar3);
    (*(code *)PTR_regfree_00132034)(puVar2);
  }
  if ((*param_1 == 0) || (param_1[1] == 0)) {
    *param_2 = (uint)*param_1;
  }
  else {
    *param_2 = 0x2100;
    param_2[2] = (uint)puVar3;
    param_2[3] = (uint)puVar2;
    puVar1 = PTR_FUN_00131978;
    (*(code *)PTR_FUN_00131978)(puVar3,param_1,1);
    (*(code *)puVar1)(puVar2,param_1,3);
  }
  return param_2;
}

