
size_t __gmpz_inp_str(mpz_ptr x,FILE *stream,int base)

{
  int *piVar1;
  int iVar2;
  size_t sVar3;
  int iVar4;
  
  if (stream == (FILE *)0x0) {
    stream = *(FILE **)PTR_stdin_00097314;
  }
  iVar4 = 0;
  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();
  do {
    iVar4 = iVar4 + 1;
    iVar2 = (*(code *)PTR_getc_00097104)(stream);
  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);
  sVar3 = (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4);
  return sVar3;
}



void __gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  if (param_2 == 0) {
    param_2 = *(int *)PTR_stdin_00097314;
  }
  iVar3 = 0;
  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();
  do {
    iVar3 = iVar3 + 1;
    iVar2 = (*(code *)PTR_getc_00097104)(param_2);
  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);
  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);
  return;
}


lui gp,0x7
addiu gp,gp,0x481c
addu gp,gp,t9
addiu sp,sp,-0x38
sw gp,0x18(sp)
sw s3,0x2c(sp)
or s3,a2,zero
sw s2,0x28(sp)
or s2,a0,zero
sw ra,0x34(sp)
sw s4,0x30(sp)
sw s1,0x24(sp)
beq a1,zero,0x0002a8dc
_sw s0,0x20(sp)
or s1,a1,zero
lw t9,-0x7f94(gp)
jalr t9
_or s0,zero,zero
lw gp,0x18(sp)
or s4,v0,zero
lw t9,-0x7f3c(gp)
or a0,s1,zero
jalr t9
_addiu s0,s0,0x1
lw v1,0x0(s4)
sll a0,v0,0x1
addu v1,v1,a0
lhu v1,0x0(v1)
andi v1,v1,0x20
bne v1,zero,0x0002a874
_lw gp,0x18(sp)
lw t9,-0x7ce4(gp)
or a2,s3,zero
sw s0,0x10(sp)
or a1,s1,zero
or a0,s2,zero
jalr t9
_or a3,v0,zero
lw ra,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x38
lw v0,-0x7d2c(gp)
b 0x0002a860
_lw s1,0x0(v0)
(translation_unit "void __gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}\n\n" (function_definition "void __gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}" primitive_type (function_declarator "__gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2 = *(int *)PTR_stdin_00097314;\n  }" { (expression_statement "param_2 = *(int *)PTR_stdin_00097314;" (assignment_expression "param_2 = *(int *)PTR_stdin_00097314" identifier = (pointer_expression "*(int *)PTR_stdin_00097314" * (cast_expression "(int *)PTR_stdin_00097314" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000970ac)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_000970ac)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000970ac)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_000970ac" * (cast_expression "(code *)PTR___ctype_b_loc_000970ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);" do (compound_statement "{\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_getc_00097104)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_getc_00097104)(param_2)" identifier = (call_expression "(*(code *)PTR_getc_00097104)(param_2)" (parenthesized_expression "(*(code *)PTR_getc_00097104)" ( (pointer_expression "*(code *)PTR_getc_00097104" * (cast_expression "(code *)PTR_getc_00097104" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) }) while (parenthesized_expression "((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar1 + iVar2 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar1 + iVar2 * 2)" * (cast_expression "(ushort *)(*piVar1 + iVar2 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + iVar2 * 2)" ( (binary_expression "*piVar1 + iVar2 * 2" (pointer_expression "*piVar1" * identifier) + (binary_expression "iVar2 * 2" identifier * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);" (call_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3)" (parenthesized_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)" ( (pointer_expression "*(code *)PTR___gmpz_inp_str_nowhite_0009735c" * (cast_expression "(code *)PTR___gmpz_inp_str_nowhite_0009735c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,iVar2,iVar3)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "size_t __gmpz_inp_str(mpz_ptr x,FILE *stream,int base)\n\n{\n  int *piVar1;\n  int iVar2;\n  size_t sVar3;\n  int iVar4;\n  \n  if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdin_00097314;\n  }\n  iVar4 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar4 = iVar4 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(stream);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  sVar3 = (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4);\n  return sVar3;\n}\n\n" (function_definition "size_t __gmpz_inp_str(mpz_ptr x,FILE *stream,int base)\n\n{\n  int *piVar1;\n  int iVar2;\n  size_t sVar3;\n  int iVar4;\n  \n  if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdin_00097314;\n  }\n  iVar4 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar4 = iVar4 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(stream);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  sVar3 = (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4);\n  return sVar3;\n}" primitive_type (function_declarator "__gmpz_inp_str(mpz_ptr x,FILE *stream,int base)" identifier (parameter_list "(mpz_ptr x,FILE *stream,int base)" ( (parameter_declaration "mpz_ptr x" type_identifier identifier) , (parameter_declaration "FILE *stream" type_identifier (pointer_declarator "*stream" * identifier)) , (parameter_declaration "int base" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  size_t sVar3;\n  int iVar4;\n  \n  if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdin_00097314;\n  }\n  iVar4 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar4 = iVar4 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(stream);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  sVar3 = (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4);\n  return sVar3;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (stream == (FILE *)0x0) {\n    stream = *(FILE **)PTR_stdin_00097314;\n  }" if (parenthesized_expression "(stream == (FILE *)0x0)" ( (binary_expression "stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    stream = *(FILE **)PTR_stdin_00097314;\n  }" { (expression_statement "stream = *(FILE **)PTR_stdin_00097314;" (assignment_expression "stream = *(FILE **)PTR_stdin_00097314" identifier = (pointer_expression "*(FILE **)PTR_stdin_00097314" * (cast_expression "(FILE **)PTR_stdin_00097314" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000970ac)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_000970ac)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000970ac)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_000970ac" * (cast_expression "(code *)PTR___ctype_b_loc_000970ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n    iVar4 = iVar4 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(stream);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);" do (compound_statement "{\n    iVar4 = iVar4 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(stream);\n  }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_getc_00097104)(stream);" (assignment_expression "iVar2 = (*(code *)PTR_getc_00097104)(stream)" identifier = (call_expression "(*(code *)PTR_getc_00097104)(stream)" (parenthesized_expression "(*(code *)PTR_getc_00097104)" ( (pointer_expression "*(code *)PTR_getc_00097104" * (cast_expression "(code *)PTR_getc_00097104" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(stream)" ( identifier )))) ;) }) while (parenthesized_expression "((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar1 + iVar2 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar1 + iVar2 * 2)" * (cast_expression "(ushort *)(*piVar1 + iVar2 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + iVar2 * 2)" ( (binary_expression "*piVar1 + iVar2 * 2" (pointer_expression "*piVar1" * identifier) + (binary_expression "iVar2 * 2" identifier * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "sVar3 = (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4);" (assignment_expression "sVar3 = (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4)" identifier = (call_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(x,stream,base,iVar2,iVar4)" (parenthesized_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)" ( (pointer_expression "*(code *)PTR___gmpz_inp_str_nowhite_0009735c" * (cast_expression "(code *)PTR___gmpz_inp_str_nowhite_0009735c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(x,stream,base,iVar2,iVar4)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return sVar3;" return identifier ;) })))
(translation_unit "void __gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}\n\n" (function_definition "void __gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}" primitive_type (function_declarator "__gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2 = *(int *)PTR_stdin_00097314;\n  }" { (expression_statement "param_2 = *(int *)PTR_stdin_00097314;" (assignment_expression "param_2 = *(int *)PTR_stdin_00097314" identifier = (pointer_expression "*(int *)PTR_stdin_00097314" * (cast_expression "(int *)PTR_stdin_00097314" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000970ac)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_000970ac)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000970ac)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_000970ac" * (cast_expression "(code *)PTR___ctype_b_loc_000970ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);" do (compound_statement "{\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_getc_00097104)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_getc_00097104)(param_2)" identifier = (call_expression "(*(code *)PTR_getc_00097104)(param_2)" (parenthesized_expression "(*(code *)PTR_getc_00097104)" ( (pointer_expression "*(code *)PTR_getc_00097104" * (cast_expression "(code *)PTR_getc_00097104" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) }) while (parenthesized_expression "((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar1 + iVar2 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar1 + iVar2 * 2)" * (cast_expression "(ushort *)(*piVar1 + iVar2 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + iVar2 * 2)" ( (binary_expression "*piVar1 + iVar2 * 2" (pointer_expression "*piVar1" * identifier) + (binary_expression "iVar2 * 2" identifier * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);" (call_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3)" (parenthesized_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)" ( (pointer_expression "*(code *)PTR___gmpz_inp_str_nowhite_0009735c" * (cast_expression "(code *)PTR___gmpz_inp_str_nowhite_0009735c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,iVar2,iVar3)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) & LIT) )) != LIT) )) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}" (primitive_type "void") (function_declarator "__gmpz_inp_str(undefined4 param_1,int param_2,undefined4 param_3)" (identifier "__gmpz_inp_str") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }\n  iVar3 = 0;\n  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();\n  do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);\n  (*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_2 == 0) {\n    param_2 = *(int *)PTR_stdin_00097314;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_2 = *(int *)PTR_stdin_00097314;\n  }" ({ "{") (expression_statement "param_2 = *(int *)PTR_stdin_00097314;" (assignment_expression "param_2 = *(int *)PTR_stdin_00097314" (identifier "param_2") (= "=") (pointer_expression "*(int *)PTR_stdin_00097314" (* "*") (cast_expression "(int *)PTR_stdin_00097314" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdin_00097314")))) (; ";")) (} "}"))) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000970ac)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_000970ac)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000970ac)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_000970ac" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_000970ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_000970ac"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (do_statement "do {\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);" (do "do") (compound_statement "{\n    iVar3 = iVar3 + 1;\n    iVar2 = (*(code *)PTR_getc_00097104)(param_2);\n  }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_getc_00097104)(param_2);" (assignment_expression "iVar2 = (*(code *)PTR_getc_00097104)(param_2)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getc_00097104)(param_2)" (parenthesized_expression "(*(code *)PTR_getc_00097104)" (( "(") (pointer_expression "*(code *)PTR_getc_00097104" (* "*") (cast_expression "(code *)PTR_getc_00097104" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getc_00097104"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0)" (( "(") (binary_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar1 + iVar2 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar1 + iVar2 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar1 + iVar2 * 2)" (* "*") (cast_expression "(ushort *)(*piVar1 + iVar2 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + iVar2 * 2)" (( "(") (binary_expression "*piVar1 + iVar2 * 2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (binary_expression "iVar2 * 2" (identifier "iVar2") (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);" (call_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3)" (parenthesized_expression "(*(code *)PTR___gmpz_inp_str_nowhite_0009735c)" (( "(") (pointer_expression "*(code *)PTR___gmpz_inp_str_nowhite_0009735c" (* "*") (cast_expression "(code *)PTR___gmpz_inp_str_nowhite_0009735c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_inp_str_nowhite_0009735c"))) () ")")) (argument_list "(param_1,param_2,param_3,iVar2,iVar3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "iVar2") (, ",") (identifier "iVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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)))))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) right: (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) (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,int param_2,undefined4 param_3)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  if (param_2 == 0) {
    param_2 = *(int *)PTR_stdin_00097314;
  }
  iVar3 = 0;
  piVar1 = (int *)(*(code *)PTR___ctype_b_loc_000970ac)();
  do {
    iVar3 = iVar3 + 1;
    iVar2 = (*(code *)PTR_getc_00097104)(param_2);
  } while ((*(ushort *)(*piVar1 + iVar2 * 2) & 0x20) != 0);
  (*(code *)PTR_MASKED_nowhite_0009735c)(param_1,param_2,param_3,iVar2,iVar3);
  return;
}

