
uint64 uint64_from_decimal(char *str)

{
  char *pcVar1;
  char cVar2;
  uint uVar3;
  uint uVar4;
  ulong uVar5;
  char *in_a1;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint64 uVar10;
  
  uVar5 = 0;
  uVar6 = 0;
  cVar2 = *in_a1;
  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {
    uVar7 = uVar6 * 2;
    pcVar1 = in_a1 + 1;
    uVar8 = uVar6 >> 0x1d;
    uVar3 = uVar6 * 10;
    uVar9 = uVar6 >> 0x1f;
    uVar6 = uVar4 + uVar3;
    in_a1 = in_a1 + 1;
    uVar5 = (uint)(uVar6 < uVar4) +
            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);
    cVar2 = *pcVar1;
  }
  *(ulong *)str = uVar5;
  *(uint *)(str + 4) = uVar6;
  uVar10.hi = (ulong)str;
  uVar10.lo = uVar5;
  return uVar10;
}



int * uint64_from_decimal(int *param_1,char *param_2)

{
  char *pcVar1;
  char cVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  
  iVar5 = 0;
  uVar6 = 0;
  cVar2 = *param_2;
  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {
    uVar7 = uVar6 * 2;
    pcVar1 = param_2 + 1;
    uVar8 = uVar6 >> 0x1d;
    uVar3 = uVar6 * 10;
    uVar9 = uVar6 >> 0x1f;
    uVar6 = uVar4 + uVar3;
    param_2 = param_2 + 1;
    iVar5 = (uint)(uVar6 < uVar4) +
            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);
    cVar2 = *pcVar1;
  }
  *param_1 = iVar5;
  param_1[1] = uVar6;
  return param_1;
}


lb t2,0x0(a1)
or v1,zero,zero
addiu t0,t2,-0x30
andi v0,t0,0xff
sltiu v0,v0,0xa
beq v0,zero,0x0001dfc4
_or a3,zero,zero
sll t1,a3,0x1
lb t2,0x1(a1)
sll a2,a3,0x3
srl t3,a3,0x1d
addu a2,a2,t1
sll v0,v1,0x1
srl t4,a3,0x1f
sll v1,v1,0x3
addu a3,t0,a2
or v1,v1,t3
or v0,v0,t4
sltu t3,a3,t0
addu v0,v0,v1
addiu t0,t2,-0x30
sltu a2,a2,t1
addu v0,v0,a2
andi a2,t0,0xff
sltiu a2,a2,0xa
addiu a1,a1,0x1
bne a2,zero,0x0001df70
_addu v1,t3,v0
sw v1,0x0(a0)
or v0,a0,zero
jr ra
_sw a3,0x4(a0)
(translation_unit "int * uint64_from_decimal(int *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}\n\n" (function_definition "int * uint64_from_decimal(int *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}" primitive_type (pointer_declarator "* uint64_from_decimal(int *param_1,char *param_2)" * (function_declarator "uint64_from_decimal(int *param_1,char *param_2)" identifier (parameter_list "(int *param_1,char *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "cVar2 = *param_2;" (assignment_expression "cVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (while_statement "while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" while (parenthesized_expression "(uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10)" ( (comma_expression "uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10" (assignment_expression "uVar4 = (int)cVar2 - 0x30" identifier = (binary_expression "(int)cVar2 - 0x30" (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) , (binary_expression "(uVar4 & 0xff) < 10" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) < number_literal)) )) (compound_statement "{\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" { (expression_statement "uVar7 = uVar6 * 2;" (assignment_expression "uVar7 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "pcVar1 = param_2 + 1;" (assignment_expression "pcVar1 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar6 >> 0x1d;" (assignment_expression "uVar8 = uVar6 >> 0x1d" identifier = (binary_expression "uVar6 >> 0x1d" identifier >> number_literal)) ;) (expression_statement "uVar3 = uVar6 * 10;" (assignment_expression "uVar3 = uVar6 * 10" identifier = (binary_expression "uVar6 * 10" identifier * number_literal)) ;) (expression_statement "uVar9 = uVar6 >> 0x1f;" (assignment_expression "uVar9 = uVar6 >> 0x1f" identifier = (binary_expression "uVar6 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar4 + uVar3;" (assignment_expression "uVar6 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);" (assignment_expression "iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" identifier = (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9)" (call_expression "(uint)(uVar6 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar4)" ( (binary_expression "uVar6 < uVar4" identifier < identifier) ))) + (parenthesized_expression "(iVar5 << 1 | uVar9)" ( (binary_expression "iVar5 << 1 | uVar9" (binary_expression "iVar5 << 1" identifier << number_literal) | identifier) ))) + (parenthesized_expression "(iVar5 << 3 | uVar8)" ( (binary_expression "iVar5 << 3 | uVar8" (binary_expression "iVar5 << 3" identifier << number_literal) | identifier) ))) + (call_expression "(uint)(uVar3 < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) ))))) ;) (expression_statement "cVar2 = *pcVar1;" (assignment_expression "cVar2 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) })) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = uVar6;" (assignment_expression "param_1[1] = uVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "uint64 uint64_from_decimal(char *str)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  ulong uVar5;\n  char *in_a1;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint64 uVar10;\n  \n  uVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *in_a1;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = in_a1 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    in_a1 = in_a1 + 1;\n    uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *(ulong *)str = uVar5;\n  *(uint *)(str + 4) = uVar6;\n  uVar10.hi = (ulong)str;\n  uVar10.lo = uVar5;\n  return uVar10;\n}\n\n" (function_definition "uint64 uint64_from_decimal(char *str)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  ulong uVar5;\n  char *in_a1;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint64 uVar10;\n  \n  uVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *in_a1;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = in_a1 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    in_a1 = in_a1 + 1;\n    uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *(ulong *)str = uVar5;\n  *(uint *)(str + 4) = uVar6;\n  uVar10.hi = (ulong)str;\n  uVar10.lo = uVar5;\n  return uVar10;\n}" type_identifier (function_declarator "uint64_from_decimal(char *str)" identifier (parameter_list "(char *str)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  ulong uVar5;\n  char *in_a1;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint64 uVar10;\n  \n  uVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *in_a1;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = in_a1 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    in_a1 = in_a1 + 1;\n    uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *(ulong *)str = uVar5;\n  *(uint *)(str + 4) = uVar6;\n  uVar10.hi = (ulong)str;\n  uVar10.lo = uVar5;\n  return uVar10;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "char *in_a1;" primitive_type (pointer_declarator "*in_a1" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint64 uVar10;" type_identifier identifier ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "cVar2 = *in_a1;" (assignment_expression "cVar2 = *in_a1" identifier = (pointer_expression "*in_a1" * identifier)) ;) (while_statement "while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = in_a1 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    in_a1 = in_a1 + 1;\n    uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" while (parenthesized_expression "(uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10)" ( (comma_expression "uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10" (assignment_expression "uVar4 = (int)cVar2 - 0x30" identifier = (binary_expression "(int)cVar2 - 0x30" (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) , (binary_expression "(uVar4 & 0xff) < 10" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) < number_literal)) )) (compound_statement "{\n    uVar7 = uVar6 * 2;\n    pcVar1 = in_a1 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    in_a1 = in_a1 + 1;\n    uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" { (expression_statement "uVar7 = uVar6 * 2;" (assignment_expression "uVar7 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "pcVar1 = in_a1 + 1;" (assignment_expression "pcVar1 = in_a1 + 1" identifier = (binary_expression "in_a1 + 1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar6 >> 0x1d;" (assignment_expression "uVar8 = uVar6 >> 0x1d" identifier = (binary_expression "uVar6 >> 0x1d" identifier >> number_literal)) ;) (expression_statement "uVar3 = uVar6 * 10;" (assignment_expression "uVar3 = uVar6 * 10" identifier = (binary_expression "uVar6 * 10" identifier * number_literal)) ;) (expression_statement "uVar9 = uVar6 >> 0x1f;" (assignment_expression "uVar9 = uVar6 >> 0x1f" identifier = (binary_expression "uVar6 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar4 + uVar3;" (assignment_expression "uVar6 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (expression_statement "in_a1 = in_a1 + 1;" (assignment_expression "in_a1 = in_a1 + 1" identifier = (binary_expression "in_a1 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);" (assignment_expression "uVar5 = (uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" identifier = (binary_expression "(uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9) + (uVar5 << 3 | uVar8)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (uVar5 << 1 | uVar9)" (call_expression "(uint)(uVar6 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar4)" ( (binary_expression "uVar6 < uVar4" identifier < identifier) ))) + (parenthesized_expression "(uVar5 << 1 | uVar9)" ( (binary_expression "uVar5 << 1 | uVar9" (binary_expression "uVar5 << 1" identifier << number_literal) | identifier) ))) + (parenthesized_expression "(uVar5 << 3 | uVar8)" ( (binary_expression "uVar5 << 3 | uVar8" (binary_expression "uVar5 << 3" identifier << number_literal) | identifier) ))) + (call_expression "(uint)(uVar3 < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) ))))) ;) (expression_statement "cVar2 = *pcVar1;" (assignment_expression "cVar2 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) })) (expression_statement "*(ulong *)str = uVar5;" (assignment_expression "*(ulong *)str = uVar5" (pointer_expression "*(ulong *)str" * (cast_expression "(ulong *)str" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(str + 4) = uVar6;" (assignment_expression "*(uint *)(str + 4) = uVar6" (pointer_expression "*(uint *)(str + 4)" * (cast_expression "(uint *)(str + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(str + 4)" ( (binary_expression "str + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar10.hi = (ulong)str;" (assignment_expression "uVar10.hi = (ulong)str" (field_expression "uVar10.hi" identifier . field_identifier) = (cast_expression "(ulong)str" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "uVar10.lo = uVar5;" (assignment_expression "uVar10.lo = uVar5" (field_expression "uVar10.lo" identifier . field_identifier) = identifier) ;) (return_statement "return uVar10;" return identifier ;) })))
(translation_unit "int * uint64_from_decimal(int *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}\n\n" (function_definition "int * uint64_from_decimal(int *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}" primitive_type (pointer_declarator "* uint64_from_decimal(int *param_1,char *param_2)" * (function_declarator "uint64_from_decimal(int *param_1,char *param_2)" identifier (parameter_list "(int *param_1,char *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "cVar2 = *param_2;" (assignment_expression "cVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (while_statement "while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" while (parenthesized_expression "(uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10)" ( (comma_expression "uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10" (assignment_expression "uVar4 = (int)cVar2 - 0x30" identifier = (binary_expression "(int)cVar2 - 0x30" (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) , (binary_expression "(uVar4 & 0xff) < 10" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) < number_literal)) )) (compound_statement "{\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" { (expression_statement "uVar7 = uVar6 * 2;" (assignment_expression "uVar7 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "pcVar1 = param_2 + 1;" (assignment_expression "pcVar1 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar6 >> 0x1d;" (assignment_expression "uVar8 = uVar6 >> 0x1d" identifier = (binary_expression "uVar6 >> 0x1d" identifier >> number_literal)) ;) (expression_statement "uVar3 = uVar6 * 10;" (assignment_expression "uVar3 = uVar6 * 10" identifier = (binary_expression "uVar6 * 10" identifier * number_literal)) ;) (expression_statement "uVar9 = uVar6 >> 0x1f;" (assignment_expression "uVar9 = uVar6 >> 0x1f" identifier = (binary_expression "uVar6 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar4 + uVar3;" (assignment_expression "uVar6 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);" (assignment_expression "iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" identifier = (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9)" (call_expression "(uint)(uVar6 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < uVar4)" ( (binary_expression "uVar6 < uVar4" identifier < identifier) ))) + (parenthesized_expression "(iVar5 << 1 | uVar9)" ( (binary_expression "iVar5 << 1 | uVar9" (binary_expression "iVar5 << 1" identifier << number_literal) | identifier) ))) + (parenthesized_expression "(iVar5 << 3 | uVar8)" ( (binary_expression "iVar5 << 3 | uVar8" (binary_expression "iVar5 << 3" identifier << number_literal) | identifier) ))) + (call_expression "(uint)(uVar3 < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) ))))) ;) (expression_statement "cVar2 = *pcVar1;" (assignment_expression "cVar2 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) })) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = uVar6;" (assignment_expression "param_1[1] = uVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT)) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) < LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (parenthesized_expression ( (binary_expression (binary_expression IDENT << LIT) | IDENT) ))) + (parenthesized_expression ( (binary_expression (binary_expression IDENT << LIT) | IDENT) ))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int * uint64_from_decimal(int *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* uint64_from_decimal(int *param_1,char *param_2)" (* "*") (function_declarator "uint64_from_decimal(int *param_1,char *param_2)" (identifier "uint64_from_decimal") (parameter_list "(int *param_1,char *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  iVar5 = 0;\n  uVar6 = 0;\n  cVar2 = *param_2;\n  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }\n  *param_1 = iVar5;\n  param_1[1] = uVar6;\n  return param_1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar2 = *param_2;" (assignment_expression "cVar2 = *param_2" (identifier "cVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (while_statement "while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" (while "while") (parenthesized_expression "(uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10)" (( "(") (comma_expression "uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10" (assignment_expression "uVar4 = (int)cVar2 - 0x30" (identifier "uVar4") (= "=") (binary_expression "(int)cVar2 - 0x30" (cast_expression "(int)cVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar2")) (- "-") (number_literal "0x30"))) (, ",") (binary_expression "(uVar4 & 0xff) < 10" (parenthesized_expression "(uVar4 & 0xff)" (( "(") (binary_expression "uVar4 & 0xff" (identifier "uVar4") (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "10"))) () ")")) (compound_statement "{\n    uVar7 = uVar6 * 2;\n    pcVar1 = param_2 + 1;\n    uVar8 = uVar6 >> 0x1d;\n    uVar3 = uVar6 * 10;\n    uVar9 = uVar6 >> 0x1f;\n    uVar6 = uVar4 + uVar3;\n    param_2 = param_2 + 1;\n    iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);\n    cVar2 = *pcVar1;\n  }" ({ "{") (expression_statement "uVar7 = uVar6 * 2;" (assignment_expression "uVar7 = uVar6 * 2" (identifier "uVar7") (= "=") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) (; ";")) (expression_statement "pcVar1 = param_2 + 1;" (assignment_expression "pcVar1 = param_2 + 1" (identifier "pcVar1") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar8 = uVar6 >> 0x1d;" (assignment_expression "uVar8 = uVar6 >> 0x1d" (identifier "uVar8") (= "=") (binary_expression "uVar6 >> 0x1d" (identifier "uVar6") (>> ">>") (number_literal "0x1d"))) (; ";")) (expression_statement "uVar3 = uVar6 * 10;" (assignment_expression "uVar3 = uVar6 * 10" (identifier "uVar3") (= "=") (binary_expression "uVar6 * 10" (identifier "uVar6") (* "*") (number_literal "10"))) (; ";")) (expression_statement "uVar9 = uVar6 >> 0x1f;" (assignment_expression "uVar9 = uVar6 >> 0x1f" (identifier "uVar9") (= "=") (binary_expression "uVar6 >> 0x1f" (identifier "uVar6") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar6 = uVar4 + uVar3;" (assignment_expression "uVar6 = uVar4 + uVar3" (identifier "uVar6") (= "=") (binary_expression "uVar4 + uVar3" (identifier "uVar4") (+ "+") (identifier "uVar3"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);" (assignment_expression "iVar5 = (uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" (identifier "iVar5") (= "=") (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8)" (binary_expression "(uint)(uVar6 < uVar4) +\n            (iVar5 << 1 | uVar9)" (call_expression "(uint)(uVar6 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < uVar4)" (( "(") (binary_expression "uVar6 < uVar4" (identifier "uVar6") (< "<") (identifier "uVar4")) () ")"))) (+ "+") (parenthesized_expression "(iVar5 << 1 | uVar9)" (( "(") (binary_expression "iVar5 << 1 | uVar9" (binary_expression "iVar5 << 1" (identifier "iVar5") (<< "<<") (number_literal "1")) (| "|") (identifier "uVar9")) () ")"))) (+ "+") (parenthesized_expression "(iVar5 << 3 | uVar8)" (( "(") (binary_expression "iVar5 << 3 | uVar8" (binary_expression "iVar5 << 3" (identifier "iVar5") (<< "<<") (number_literal "3")) (| "|") (identifier "uVar8")) () ")"))) (+ "+") (call_expression "(uint)(uVar3 < uVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 < uVar7)" (( "(") (binary_expression "uVar3 < uVar7" (identifier "uVar3") (< "<") (identifier "uVar7")) () ")"))))) (; ";")) (expression_statement "cVar2 = *pcVar1;" (assignment_expression "cVar2 = *pcVar1" (identifier "cVar2") (= "=") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = iVar5;" (assignment_expression "*param_1 = iVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "param_1[1] = uVar6;" (assignment_expression "param_1[1] = uVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) body: (compound_statement (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)))) (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)))) (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: (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: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))))

int * MASKED(int *param_1,char *param_2)

{
  char *pcVar1;
  char cVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  
  iVar5 = 0;
  uVar6 = 0;
  cVar2 = *param_2;
  while (uVar4 = (int)cVar2 - 0x30, (uVar4 & 0xff) < 10) {
    uVar7 = uVar6 * 2;
    pcVar1 = param_2 + 1;
    uVar8 = uVar6 >> 0x1d;
    uVar3 = uVar6 * 10;
    uVar9 = uVar6 >> 0x1f;
    uVar6 = uVar4 + uVar3;
    param_2 = param_2 + 1;
    iVar5 = (uint)(uVar6 < uVar4) +
            (iVar5 << 1 | uVar9) + (iVar5 << 3 | uVar8) + (uint)(uVar3 < uVar7);
    cVar2 = *pcVar1;
  }
  *param_1 = iVar5;
  param_1[1] = uVar6;
  return param_1;
}

