
int rl_alphabetic(int c)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  
  if ((c == (c & 0xffU)) &&
     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),
     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)) {
    return 1;
  }
  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;
  if (uVar1 != 0) {
    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);
    uVar1 = (uint)(iVar2 != 0);
  }
  return uVar1;
}



uint rl_alphabetic(uint param_1)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  
  if ((param_1 == (param_1 & 0xff)) &&
     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),
     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {
    return 1;
  }
  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;
  if (uVar1 != 0) {
    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);
    uVar1 = (uint)(iVar2 != 0);
  }
  return uVar1;
}


lui gp,0x5
addiu gp,gp,-0x15a0
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
andi s1,a0,0xff
beq a0,s1,0x0010fb50
_or s0,a0,zero
lw v0,-0x63f8(gp)
lw v0,0x0(v0)
beq v0,zero,0x0010fb40
_lw ra,0x24(sp)
or a1,s0,zero
lw a0,-0x7f90(gp)
addiu a0,a0,0x290
lw t9,-0x60f4(gp)
jalr t9
_nop
lw gp,0x10(sp)
sltu v0,zero,v0
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x6290(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x0(v0)
sll s1,s1,0x1
addu s1,v0,s1
lhu v0,0x0(s1)
andi v0,v0,0x800
beq v0,zero,0x0010fb0c
_li v0,0x1
b 0x0010fb40
_lw ra,0x24(sp)
(translation_unit "uint rl_alphabetic(uint param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint rl_alphabetic(uint param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "rl_alphabetic(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0))" ( (binary_expression "(param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)" (parenthesized_expression "(param_1 == (param_1 & 0xff))" ( (binary_expression "param_1 == (param_1 & 0xff)" identifier == (parenthesized_expression "(param_1 & 0xff)" ( (binary_expression "param_1 & 0xff" identifier & number_literal) ))) )) && (parenthesized_expression "(piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)" ( (comma_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001582b0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_001582b0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001582b0)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_001582b0" * (cast_expression "(code *)PTR___ctype_b_loc_001582b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) , (binary_expression "(*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800)" ( (binary_expression "*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800" (pointer_expression "*(ushort *)(*piVar3 + (param_1 & 0xff) * 2)" * (cast_expression "(ushort *)(*piVar3 + (param_1 & 0xff) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + (param_1 & 0xff) * 2)" ( (binary_expression "*piVar3 + (param_1 & 0xff) * 2" (pointer_expression "*piVar3" * identifier) + (binary_expression "(param_1 & 0xff) * 2" (parenthesized_expression "(param_1 & 0xff)" ( (binary_expression "param_1 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;" (assignment_expression "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" identifier = (pointer_expression "*(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" * (cast_expression "(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001565b0 + 0x290,param_1)" ( (binary_expression "PTR_DAT_001565b0 + 0x290" identifier + number_literal) , identifier )))) ;) (expression_statement "uVar1 = (uint)(iVar2 != 0);" (assignment_expression "uVar1 = (uint)(iVar2 != 0)" identifier = (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int rl_alphabetic(int c)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((c == (c & 0xffU)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "int rl_alphabetic(int c)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((c == (c & 0xffU)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" primitive_type (function_declarator "rl_alphabetic(int c)" identifier (parameter_list "(int c)" ( (parameter_declaration "int c" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((c == (c & 0xffU)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if ((c == (c & 0xffU)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((c == (c & 0xffU)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0))" ( (binary_expression "(c == (c & 0xffU)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)" (parenthesized_expression "(c == (c & 0xffU))" ( (binary_expression "c == (c & 0xffU)" identifier == (parenthesized_expression "(c & 0xffU)" ( (binary_expression "c & 0xffU" identifier & number_literal) ))) )) && (parenthesized_expression "(piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0)" ( (comma_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001582b0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_001582b0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001582b0)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_001582b0" * (cast_expression "(code *)PTR___ctype_b_loc_001582b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) , (binary_expression "(*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800) != 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800)" ( (binary_expression "*(ushort *)(*piVar3 + (c & 0xffU) * 2) & 0x800" (pointer_expression "*(ushort *)(*piVar3 + (c & 0xffU) * 2)" * (cast_expression "(ushort *)(*piVar3 + (c & 0xffU) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + (c & 0xffU) * 2)" ( (binary_expression "*piVar3 + (c & 0xffU) * 2" (pointer_expression "*piVar3" * identifier) + (binary_expression "(c & 0xffU) * 2" (parenthesized_expression "(c & 0xffU)" ( (binary_expression "c & 0xffU" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;" (assignment_expression "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" identifier = (pointer_expression "*(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" * (cast_expression "(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);\n    uVar1 = (uint)(iVar2 != 0);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);\n    uVar1 = (uint)(iVar2 != 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c);" (assignment_expression "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001565b0 + 0x290,c)" ( (binary_expression "PTR_DAT_001565b0 + 0x290" identifier + number_literal) , identifier )))) ;) (expression_statement "uVar1 = (uint)(iVar2 != 0);" (assignment_expression "uVar1 = (uint)(iVar2 != 0)" identifier = (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint rl_alphabetic(uint param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint rl_alphabetic(uint param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "rl_alphabetic(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0))" ( (binary_expression "(param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)" (parenthesized_expression "(param_1 == (param_1 & 0xff))" ( (binary_expression "param_1 == (param_1 & 0xff)" identifier == (parenthesized_expression "(param_1 & 0xff)" ( (binary_expression "param_1 & 0xff" identifier & number_literal) ))) )) && (parenthesized_expression "(piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)" ( (comma_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001582b0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_001582b0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001582b0)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_001582b0" * (cast_expression "(code *)PTR___ctype_b_loc_001582b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) , (binary_expression "(*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800)" ( (binary_expression "*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800" (pointer_expression "*(ushort *)(*piVar3 + (param_1 & 0xff) * 2)" * (cast_expression "(ushort *)(*piVar3 + (param_1 & 0xff) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + (param_1 & 0xff) * 2)" ( (binary_expression "*piVar3 + (param_1 & 0xff) * 2" (pointer_expression "*piVar3" * identifier) + (binary_expression "(param_1 & 0xff) * 2" (parenthesized_expression "(param_1 & 0xff)" ( (binary_expression "param_1 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;" (assignment_expression "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" identifier = (pointer_expression "*(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" * (cast_expression "(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001565b0 + 0x290,param_1)" ( (binary_expression "PTR_DAT_001565b0 + 0x290" identifier + number_literal) , identifier )))) ;) (expression_statement "uVar1 = (uint)(iVar2 != 0);" (assignment_expression "uVar1 = (uint)(iVar2 != 0)" identifier = (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) && (parenthesized_expression ( (comma_expression (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 ( ))))) , (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) )))) & LIT) )) != LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint rl_alphabetic(uint param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "rl_alphabetic(uint param_1)" (identifier "rl_alphabetic") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }\n  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;\n  if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (if_statement "if ((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0))" (( "(") (binary_expression "(param_1 == (param_1 & 0xff)) &&\n     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)" (parenthesized_expression "(param_1 == (param_1 & 0xff))" (( "(") (binary_expression "param_1 == (param_1 & 0xff)" (identifier "param_1") (== "==") (parenthesized_expression "(param_1 & 0xff)" (( "(") (binary_expression "param_1 & 0xff" (identifier "param_1") (& "&") (number_literal "0xff")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)" (( "(") (comma_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),\n     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)()" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_001582b0)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_001582b0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_001582b0)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_001582b0" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_001582b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_001582b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (, ",") (binary_expression "(*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800)" (( "(") (binary_expression "*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800" (pointer_expression "*(ushort *)(*piVar3 + (param_1 & 0xff) * 2)" (* "*") (cast_expression "(ushort *)(*piVar3 + (param_1 & 0xff) * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar3 + (param_1 & 0xff) * 2)" (( "(") (binary_expression "*piVar3 + (param_1 & 0xff) * 2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (binary_expression "(param_1 & 0xff) * 2" (parenthesized_expression "(param_1 & 0xff)" (( "(") (binary_expression "param_1 & 0xff" (identifier "param_1") (& "&") (number_literal "0xff")) () ")")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x800")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;" (assignment_expression "uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" (* "*") (cast_expression "(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_allow_pathname_alphabetic_chars_00158148")))) (; ";")) (if_statement "if (uVar1 != 0) {\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);\n    uVar1 = (uint)(iVar2 != 0);\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0015844c" (* "*") (cast_expression "(code *)PTR_strchr_0015844c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0015844c"))) () ")")) (argument_list "(PTR_DAT_001565b0 + 0x290,param_1)" (( "(") (binary_expression "PTR_DAT_001565b0 + 0x290" (identifier "PTR_DAT_001565b0") (+ "+") (number_literal "0x290")) (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar1 = (uint)(iVar2 != 0);" (assignment_expression "uVar1 = (uint)(iVar2 != 0)" (identifier "uVar1") (= "=") (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(int var_1)

{
  type_1 var_2;
  int var_4;
  int *piVar3;
  
  if ((var_1 == (var_1 & 0xffU)) &&
     (piVar3 = (int *)(*(type_2 *)PTR___ctype_b_loc_001582b0)(),
     (*(type_3 *)(*piVar3 + (var_1 & 0xffU) * 2) & 0x800) != 0)) {
    return 1;
  }
  var_2 = *(type_1 *)PTR__rl_allow_pathname_alphabetic_chars_00158148;
  if (var_2 != 0) {
    var_4 = (*(type_2 *)PTR_strchr_0015844c)(var_3 + 0x290,var_1);
    var_2 = (type_1)(var_4 != 0);
  }
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (comma_expression left: (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)))) right: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) right: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement (identifier)))))

uint MASKED(uint param_1)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  
  if ((param_1 == (param_1 & 0xff)) &&
     (piVar3 = (int *)(*(code *)PTR___ctype_b_loc_001582b0)(),
     (*(ushort *)(*piVar3 + (param_1 & 0xff) * 2) & 0x800) != 0)) {
    return 1;
  }
  uVar1 = *(uint *)PTR__rl_allow_pathname_alphabetic_chars_00158148;
  if (uVar1 != 0) {
    iVar2 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x290,param_1);
    uVar1 = (uint)(iVar2 != 0);
  }
  return uVar1;
}

