
int rpl_getopt_internal(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,
                       int long_only,int posixly_correct)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  
  puVar2 = PTR_rpl_optind_0002a144;
  puVar1 = PTR_DAT_0002a0f8;
  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;
  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;
  iVar3 = _getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,
                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct);
  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);
  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);
  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);
  return iVar3;
}



void rpl_getopt_internal(void)

{
  undefined *puVar1;
  undefined *puVar2;
  
  puVar2 = PTR_rpl_optind_0002a144;
  puVar1 = PTR_DAT_0002a0f8;
  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;
  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;
  _getopt_internal_r();
  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);
  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);
  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);
  return;
}


lui gp,0x2
addiu gp,gp,-0x5928
addu gp,gp,t9
addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
sw s0,0x28(sp)
sw gp,0x20(sp)
lw s1,-0x7fd8(gp)
lw s2,-0x7f8c(gp)
lw v0,0x0(s2)
sw v0,-0x5b90(s1)
addiu s0,s1,-0x5b90
lw v0,-0x7f08(gp)
lw v0,0x0(v0)
sw v0,0x4(s0)
lw v0,0x50(sp)
sw v0,0x1c(sp)
sw s0,0x18(sp)
lw v0,0x4c(sp)
sw v0,0x14(sp)
lw v0,0x48(sp)
sw v0,0x10(sp)
lw t9,-0x7f04(gp)
bal 0x000172b4
_nop
lw gp,0x20(sp)
lw v1,-0x5b90(s1)
sw v1,0x0(s2)
lw a0,0xc(s0)
lw v1,-0x7fa4(gp)
sw a0,0x0(v1)
lw a0,0x8(s0)
lw v1,-0x7f00(gp)
sw a0,0x0(v1)
lw ra,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "void rpl_getopt_internal(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}\n\n" (function_definition "void rpl_getopt_internal(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}" primitive_type (function_declarator "rpl_getopt_internal(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = PTR_rpl_optind_0002a144;" (assignment_expression "puVar2 = PTR_rpl_optind_0002a144" identifier = identifier) ;) (expression_statement "puVar1 = PTR_DAT_0002a0f8;" (assignment_expression "puVar1 = PTR_DAT_0002a0f8" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0f8 + -0x5b90)" ( (binary_expression "PTR_DAT_0002a0f8 + -0x5b90" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_rpl_optind_0002a144" * (cast_expression "(undefined4 *)PTR_rpl_optind_0002a144" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8" (pointer_expression "*(undefined4 *)(puVar1 + -0x5b8c)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b8c)" ( (binary_expression "puVar1 + -0x5b8c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_rpl_opterr_0002a1c8" * (cast_expression "(undefined4 *)PTR_rpl_opterr_0002a1c8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "_getopt_internal_r();" (call_expression "_getopt_internal_r()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);" (assignment_expression "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90)" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b90)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b90)" ( (binary_expression "puVar1 + -0x5b90" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);" (assignment_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84)" (pointer_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c" * (cast_expression "(undefined4 *)PTR_rpl_optarg_0002a12c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b84)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b84)" ( (binary_expression "puVar1 + -0x5b84" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);" (assignment_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88)" (pointer_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0" * (cast_expression "(undefined4 *)PTR_rpl_optopt_0002a1d0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b88)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b88)" ( (binary_expression "puVar1 + -0x5b88" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))
(translation_unit "int rpl_getopt_internal(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                       int long_only,int posixly_correct)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  iVar3 = _getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct);\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return iVar3;\n}\n\n" (function_definition "int rpl_getopt_internal(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                       int long_only,int posixly_correct)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  iVar3 = _getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct);\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return iVar3;\n}" primitive_type (function_declarator "rpl_getopt_internal(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                       int long_only,int posixly_correct)" identifier (parameter_list "(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                       int long_only,int posixly_correct)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "char *optstring" primitive_type (pointer_declarator "*optstring" * identifier)) , (parameter_declaration "rpl_option *longopts" type_identifier (pointer_declarator "*longopts" * identifier)) , (parameter_declaration "int *longind" primitive_type (pointer_declarator "*longind" * identifier)) , (parameter_declaration "int long_only" primitive_type identifier) , (parameter_declaration "int posixly_correct" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  iVar3 = _getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct);\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return iVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_rpl_optind_0002a144;" (assignment_expression "puVar2 = PTR_rpl_optind_0002a144" identifier = identifier) ;) (expression_statement "puVar1 = PTR_DAT_0002a0f8;" (assignment_expression "puVar1 = PTR_DAT_0002a0f8" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0f8 + -0x5b90)" ( (binary_expression "PTR_DAT_0002a0f8 + -0x5b90" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_rpl_optind_0002a144" * (cast_expression "(undefined4 *)PTR_rpl_optind_0002a144" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8" (pointer_expression "*(undefined4 *)(puVar1 + -0x5b8c)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b8c)" ( (binary_expression "puVar1 + -0x5b8c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_rpl_opterr_0002a1c8" * (cast_expression "(undefined4 *)PTR_rpl_opterr_0002a1c8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = _getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct);" (assignment_expression "iVar3 = _getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct)" identifier = (call_expression "_getopt_internal_r(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct)" identifier (argument_list "(argc,argv,optstring,longopts,longind,long_only,\n                             (_getopt_data *)(puVar1 + -0x5b90),posixly_correct)" ( identifier , identifier , identifier , identifier , identifier , identifier , (cast_expression "(_getopt_data *)(puVar1 + -0x5b90)" ( (type_descriptor "_getopt_data *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b90)" ( (binary_expression "puVar1 + -0x5b90" identifier + number_literal) ))) , identifier )))) ;) (expression_statement "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);" (assignment_expression "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90)" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b90)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b90)" ( (binary_expression "puVar1 + -0x5b90" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);" (assignment_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84)" (pointer_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c" * (cast_expression "(undefined4 *)PTR_rpl_optarg_0002a12c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b84)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b84)" ( (binary_expression "puVar1 + -0x5b84" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);" (assignment_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88)" (pointer_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0" * (cast_expression "(undefined4 *)PTR_rpl_optopt_0002a1d0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b88)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b88)" ( (binary_expression "puVar1 + -0x5b88" identifier + number_literal) ))))) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "void rpl_getopt_internal(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}\n\n" (function_definition "void rpl_getopt_internal(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}" primitive_type (function_declarator "rpl_getopt_internal(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = PTR_rpl_optind_0002a144;" (assignment_expression "puVar2 = PTR_rpl_optind_0002a144" identifier = identifier) ;) (expression_statement "puVar1 = PTR_DAT_0002a0f8;" (assignment_expression "puVar1 = PTR_DAT_0002a0f8" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0f8 + -0x5b90)" ( (binary_expression "PTR_DAT_0002a0f8 + -0x5b90" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_rpl_optind_0002a144" * (cast_expression "(undefined4 *)PTR_rpl_optind_0002a144" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8" (pointer_expression "*(undefined4 *)(puVar1 + -0x5b8c)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b8c)" ( (binary_expression "puVar1 + -0x5b8c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_rpl_opterr_0002a1c8" * (cast_expression "(undefined4 *)PTR_rpl_opterr_0002a1c8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "_getopt_internal_r();" (call_expression "_getopt_internal_r()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);" (assignment_expression "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90)" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b90)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b90)" ( (binary_expression "puVar1 + -0x5b90" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);" (assignment_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84)" (pointer_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c" * (cast_expression "(undefined4 *)PTR_rpl_optarg_0002a12c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b84)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b84)" ( (binary_expression "puVar1 + -0x5b84" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);" (assignment_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88)" (pointer_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0" * (cast_expression "(undefined4 *)PTR_rpl_optopt_0002a1d0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar1 + -0x5b88)" * (cast_expression "(undefined4 *)(puVar1 + -0x5b88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b88)" ( (binary_expression "puVar1 + -0x5b88" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })))
(function_definition "void rpl_getopt_internal(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}" (primitive_type "void") (function_declarator "rpl_getopt_internal(void)" (identifier "rpl_getopt_internal") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_rpl_optind_0002a144;\n  puVar1 = PTR_DAT_0002a0f8;\n  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;\n  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;\n  _getopt_internal_r();\n  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);\n  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);\n  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = PTR_rpl_optind_0002a144;" (assignment_expression "puVar2 = PTR_rpl_optind_0002a144" (identifier "puVar2") (= "=") (identifier "PTR_rpl_optind_0002a144")) (; ";")) (expression_statement "puVar1 = PTR_DAT_0002a0f8;" (assignment_expression "puVar1 = PTR_DAT_0002a0f8" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0002a0f8")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;" (assignment_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144" (pointer_expression "*(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a0f8 + -0x5b90)" (( "(") (binary_expression "PTR_DAT_0002a0f8 + -0x5b90" (identifier "PTR_DAT_0002a0f8") (+ "+") (number_literal "-0x5b90")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)PTR_rpl_optind_0002a144" (* "*") (cast_expression "(undefined4 *)PTR_rpl_optind_0002a144" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_optind_0002a144")))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;" (assignment_expression "*(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8" (pointer_expression "*(undefined4 *)(puVar1 + -0x5b8c)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5b8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5b8c)" (( "(") (binary_expression "puVar1 + -0x5b8c" (identifier "puVar1") (+ "+") (number_literal "-0x5b8c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)PTR_rpl_opterr_0002a1c8" (* "*") (cast_expression "(undefined4 *)PTR_rpl_opterr_0002a1c8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_opterr_0002a1c8")))) (; ";")) (expression_statement "_getopt_internal_r();" (call_expression "_getopt_internal_r()" (identifier "_getopt_internal_r") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);" (assignment_expression "*(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90)" (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (pointer_expression "*(undefined4 *)(puVar1 + -0x5b90)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5b90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5b90)" (( "(") (binary_expression "puVar1 + -0x5b90" (identifier "puVar1") (+ "+") (number_literal "-0x5b90")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);" (assignment_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84)" (pointer_expression "*(undefined4 *)PTR_rpl_optarg_0002a12c" (* "*") (cast_expression "(undefined4 *)PTR_rpl_optarg_0002a12c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_optarg_0002a12c"))) (= "=") (pointer_expression "*(undefined4 *)(puVar1 + -0x5b84)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5b84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5b84)" (( "(") (binary_expression "puVar1 + -0x5b84" (identifier "puVar1") (+ "+") (number_literal "-0x5b84")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);" (assignment_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88)" (pointer_expression "*(undefined4 *)PTR_rpl_optopt_0002a1d0" (* "*") (cast_expression "(undefined4 *)PTR_rpl_optopt_0002a1d0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_optopt_0002a1d0"))) (= "=") (pointer_expression "*(undefined4 *)(puVar1 + -0x5b88)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x5b88)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5b88)" (( "(") (binary_expression "puVar1 + -0x5b88" (identifier "puVar1") (+ "+") (number_literal "-0x5b88")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  undefined *puVar2;
  
  puVar2 = PTR_rpl_optind_0002a144;
  puVar1 = PTR_DAT_0002a0f8;
  *(undefined4 *)(PTR_DAT_0002a0f8 + -0x5b90) = *(undefined4 *)PTR_rpl_optind_0002a144;
  *(undefined4 *)(puVar1 + -0x5b8c) = *(undefined4 *)PTR_rpl_opterr_0002a1c8;
  _getopt_internal_r();
  *(undefined4 *)puVar2 = *(undefined4 *)(puVar1 + -0x5b90);
  *(undefined4 *)PTR_rpl_optarg_0002a12c = *(undefined4 *)(puVar1 + -0x5b84);
  *(undefined4 *)PTR_rpl_optopt_0002a1d0 = *(undefined4 *)(puVar1 + -0x5b88);
  return;
}

