
int unlzma_main(int argc,char **argv)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  uint extraout_v1;
  
  uVar1 = (*(code *)PTR_getopt32_0012a30c)
                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30);
  uVar3 = (uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2);
  if (uVar3 == 0x6d) {
    if ((uVar1 & 0x60) != 0) goto LAB_00098a34;
    (*(code *)PTR_bb_show_usage_0012a1dc)();
    uVar3 = extraout_v1;
  }
  if (uVar3 == 99) {
    *(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;
  }
LAB_00098a34:
  iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,
                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,
                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),
                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24);
  return iVar2;
}



void FUN_000989bc(undefined4 param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);
  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {
    if ((uVar1 & 0x60) == 0) {
      (*(code *)PTR_FUN_0012a1dc)();
      return;
    }
  }
  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {
    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;
  }
  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38
               ,PTR_FUN_0012a1a8 + -0x5f24);
  return;
}


lui gp,0xa
addiu gp,gp,-0x686c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7e44(gp)
or a0,a1,zero
sw s0,0x18(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a1,-0x7fa8(gp)
jalr t9
_addiu a1,a1,-0x5f30
li a0,0x6d
lw gp,0x10(sp)
lw v1,-0x7fa4(gp)
lw v1,0x0(v1)
lbu v1,0x2(v1)
bne v1,a0,0x00098a1c
_andi v0,v0,0x60
bne v0,zero,0x00098a34
_lw t9,-0x7f74(gp)
jalr t9
_nop
li v0,0x63
bne v1,v0,0x00098a34
_lw v1,-0x7e1c(gp)
lw v0,0x0(v1)
ori v0,v0,0x1
sw v0,0x0(v1)
lw v0,-0x7064(gp)
lw a3,-0x7fa8(gp)
lw a2,-0x7728(gp)
lw ra,0x1c(sp)
lw a0,0x0(v0)
addiu a3,a3,-0x5f24
lw a1,-0x771c(gp)
addiu a2,a2,-0x7f38
lw t9,-0x772c(gp)
sll a0,a0,0x2
addu a0,s0,a0
lw s0,0x18(sp)
b 0x00098294
_addiu sp,sp,0x20
(translation_unit "void FUN_000989bc(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}\n\n" (function_definition "void FUN_000989bc(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}" primitive_type (function_declarator "FUN_000989bc(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30)" identifier = (call_expression "(*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30)" (parenthesized_expression "(*(code *)PTR_FUN_0012a30c)" ( (pointer_expression "*(code *)PTR_FUN_0012a30c" * (cast_expression "(code *)PTR_FUN_0012a30c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_FUN_0012a1a8 + -0x5f30)" ( identifier , (binary_expression "PTR_FUN_0012a1a8 + -0x5f30" identifier + number_literal) )))) ;) (if_statement "if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" if (parenthesized_expression "(*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm')" ( (binary_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm'" (pointer_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2)" * (cast_expression "(char *)(*(int *)PTR_DAT_0012a1ac + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a1ac + 2)" ( (binary_expression "*(int *)PTR_DAT_0012a1ac + 2" (pointer_expression "*(int *)PTR_DAT_0012a1ac" * (cast_expression "(int *)PTR_DAT_0012a1ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == (char_literal "'m'" ' character ')) )) (compound_statement "{\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }" { (if_statement "if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }" if (parenthesized_expression "((uVar1 & 0x60) == 0)" ( (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" ( (binary_expression "uVar1 & 0x60" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }" { (expression_statement "(*(code *)PTR_FUN_0012a1dc)();" (call_expression "(*(code *)PTR_FUN_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a1dc)" ( (pointer_expression "*(code *)PTR_FUN_0012a1dc" * (cast_expression "(code *)PTR_FUN_0012a1dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" else (if_statement "if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" if (parenthesized_expression "(*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c')" ( (binary_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c'" (pointer_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2)" * (cast_expression "(char *)(*(int *)PTR_DAT_0012a1ac + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a1ac + 2)" ( (binary_expression "*(int *)PTR_DAT_0012a1ac + 2" (pointer_expression "*(int *)PTR_DAT_0012a1ac" * (cast_expression "(int *)PTR_DAT_0012a1ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == (char_literal "'c'" ' character ')) )) (compound_statement "{\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" { (expression_statement "*(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;" (assignment_expression "*(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1" (pointer_expression "*(uint *)PTR_DAT_0012a334" * (cast_expression "(uint *)PTR_DAT_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(uint *)PTR_DAT_0012a334 | 1" (pointer_expression "*(uint *)PTR_DAT_0012a334" * (cast_expression "(uint *)PTR_DAT_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) | number_literal)) ;) })))) (expression_statement "FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);" (call_expression "FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24)" identifier (argument_list "(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24)" ( (binary_expression "param_2 + *(int *)PTR_optind_0012b0ec * 4" identifier + (binary_expression "*(int *)PTR_optind_0012b0ec * 4" (pointer_expression "*(int *)PTR_optind_0012b0ec" * (cast_expression "(int *)PTR_optind_0012b0ec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal)) , identifier , (binary_expression "PTR_LAB_0012aa28 + -0x7f38" identifier + number_literal) , (binary_expression "PTR_FUN_0012a1a8 + -0x5f24" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int unlzma_main(int argc,char **argv)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint extraout_v1;\n  \n  uVar1 = (*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30);\n  uVar3 = (uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2);\n  if (uVar3 == 0x6d) {\n    if ((uVar1 & 0x60) != 0) goto LAB_00098a34;\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n    uVar3 = extraout_v1;\n  }\n  if (uVar3 == 99) {\n    *(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;\n  }\nLAB_00098a34:\n  iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24);\n  return iVar2;\n}\n\n" (function_definition "int unlzma_main(int argc,char **argv)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint extraout_v1;\n  \n  uVar1 = (*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30);\n  uVar3 = (uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2);\n  if (uVar3 == 0x6d) {\n    if ((uVar1 & 0x60) != 0) goto LAB_00098a34;\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n    uVar3 = extraout_v1;\n  }\n  if (uVar3 == 99) {\n    *(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;\n  }\nLAB_00098a34:\n  iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24);\n  return iVar2;\n}" primitive_type (function_declarator "unlzma_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint extraout_v1;\n  \n  uVar1 = (*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30);\n  uVar3 = (uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2);\n  if (uVar3 == 0x6d) {\n    if ((uVar1 & 0x60) != 0) goto LAB_00098a34;\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n    uVar3 = extraout_v1;\n  }\n  if (uVar3 == 99) {\n    *(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;\n  }\nLAB_00098a34:\n  iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24);\n  return iVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30);" (assignment_expression "uVar1 = (*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30" identifier = (binary_expression "(*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f30" (call_expression "(*(code *)PTR_getopt32_0012a30c)\n                    (argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" (parenthesized_expression "(*(code *)PTR_getopt32_0012a30c)" ( (pointer_expression "*(code *)PTR_getopt32_0012a30c" * (cast_expression "(code *)PTR_getopt32_0012a30c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(argv,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" ( identifier , (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier) ))) (ERROR "9__f_l_0012a1a8" number_literal identifier) + number_literal)) (ERROR ")" )) ;) (expression_statement "uVar3 = (uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2);" (assignment_expression "uVar3 = (uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2)" identifier = (binary_expression "(uint)*(byte *)(*(int *)PTR_applet_name_0012a1ac + 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)PTR_applet_name_0012a1ac + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_applet_name_0012a1ac + 2)" ( (binary_expression "*(int *)PTR_applet_name_0012a1ac + 2" (pointer_expression "*(int *)PTR_applet_name_0012a1ac" * (cast_expression "(int *)PTR_applet_name_0012a1ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (uVar3 == 0x6d) {\n    if ((uVar1 & 0x60) != 0) goto LAB_00098a34;\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n    uVar3 = extraout_v1;\n  }" if (parenthesized_expression "(uVar3 == 0x6d)" ( (binary_expression "uVar3 == 0x6d" identifier == number_literal) )) (compound_statement "{\n    if ((uVar1 & 0x60) != 0) goto LAB_00098a34;\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n    uVar3 = extraout_v1;\n  }" { (if_statement "if ((uVar1 & 0x60) != 0) goto LAB_00098a34;" if (parenthesized_expression "((uVar1 & 0x60) != 0)" ( (binary_expression "(uVar1 & 0x60) != 0" (parenthesized_expression "(uVar1 & 0x60)" ( (binary_expression "uVar1 & 0x60" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00098a34;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_bb_show_usage_0012a1dc)();" (call_expression "(*(code *)PTR_bb_show_usage_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_bb_show_usage_0012a1dc)" ( (pointer_expression "*(code *)PTR_bb_show_usage_0012a1dc" * (cast_expression "(code *)PTR_bb_show_usage_0012a1dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar3 = extraout_v1;" (assignment_expression "uVar3 = extraout_v1" identifier = identifier) ;) })) (if_statement "if (uVar3 == 99) {\n    *(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;\n  }" if (parenthesized_expression "(uVar3 == 99)" ( (binary_expression "uVar3 == 99" identifier == number_literal) )) (compound_statement "{\n    *(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;\n  }" { (expression_statement "*(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1;" (assignment_expression "*(uint *)PTR_option_mask32_0012a334 = *(uint *)PTR_option_mask32_0012a334 | 1" (pointer_expression "*(uint *)PTR_option_mask32_0012a334" * (cast_expression "(uint *)PTR_option_mask32_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(uint *)PTR_option_mask32_0012a334 | 1" (pointer_expression "*(uint *)PTR_option_mask32_0012a334" * (cast_expression "(uint *)PTR_option_mask32_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) | number_literal)) ;) })) (labeled_statement "LAB_00098a34:\n  iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24);" statement_identifier : (expression_statement "iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24);" (assignment_expression "iVar2 = bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24" identifier = (binary_expression "bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5f24" (call_expression "bbunpack(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" identifier (argument_list "(argv + *(int *)PTR_optind_0012b0ec,\n                   (_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34,\n                   (_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38),\n                   PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" ( (binary_expression "argv + *(int *)PTR_optind_0012b0ec" identifier + (pointer_expression "*(int *)PTR_optind_0012b0ec" * (cast_expression "(int *)PTR_optind_0012b0ec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) , (cast_expression "(_func_longlong_transformer_state_t_ptr *)PTR_unpack_lzma_stream_0012aa34" ( (type_descriptor "_func_longlong_transformer_state_t_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(_func_char_ptr_char_ptr_char_ptr *)(PTR_LAB_0012aa28 + -0x7f38)" ( (type_descriptor "_func_char_ptr_char_ptr_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012aa28 + -0x7f38)" ( (binary_expression "PTR_LAB_0012aa28 + -0x7f38" identifier + number_literal) ))) , (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier) ))) (ERROR "9__f_l_0012a1a8" number_literal identifier) + number_literal)) (ERROR ")" )) ;)) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "void FUN_000989bc(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}\n\n" (function_definition "void FUN_000989bc(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}" primitive_type (function_declarator "FUN_000989bc(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30)" identifier = (call_expression "(*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30)" (parenthesized_expression "(*(code *)PTR_FUN_0012a30c)" ( (pointer_expression "*(code *)PTR_FUN_0012a30c" * (cast_expression "(code *)PTR_FUN_0012a30c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_FUN_0012a1a8 + -0x5f30)" ( identifier , (binary_expression "PTR_FUN_0012a1a8 + -0x5f30" identifier + number_literal) )))) ;) (if_statement "if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" if (parenthesized_expression "(*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm')" ( (binary_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm'" (pointer_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2)" * (cast_expression "(char *)(*(int *)PTR_DAT_0012a1ac + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a1ac + 2)" ( (binary_expression "*(int *)PTR_DAT_0012a1ac + 2" (pointer_expression "*(int *)PTR_DAT_0012a1ac" * (cast_expression "(int *)PTR_DAT_0012a1ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == (char_literal "'m'" ' character ')) )) (compound_statement "{\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }" { (if_statement "if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }" if (parenthesized_expression "((uVar1 & 0x60) == 0)" ( (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" ( (binary_expression "uVar1 & 0x60" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }" { (expression_statement "(*(code *)PTR_FUN_0012a1dc)();" (call_expression "(*(code *)PTR_FUN_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a1dc)" ( (pointer_expression "*(code *)PTR_FUN_0012a1dc" * (cast_expression "(code *)PTR_FUN_0012a1dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" else (if_statement "if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" if (parenthesized_expression "(*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c')" ( (binary_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c'" (pointer_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2)" * (cast_expression "(char *)(*(int *)PTR_DAT_0012a1ac + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a1ac + 2)" ( (binary_expression "*(int *)PTR_DAT_0012a1ac + 2" (pointer_expression "*(int *)PTR_DAT_0012a1ac" * (cast_expression "(int *)PTR_DAT_0012a1ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == (char_literal "'c'" ' character ')) )) (compound_statement "{\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" { (expression_statement "*(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;" (assignment_expression "*(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1" (pointer_expression "*(uint *)PTR_DAT_0012a334" * (cast_expression "(uint *)PTR_DAT_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(uint *)PTR_DAT_0012a334 | 1" (pointer_expression "*(uint *)PTR_DAT_0012a334" * (cast_expression "(uint *)PTR_DAT_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) | number_literal)) ;) })))) (expression_statement "FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);" (call_expression "FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24)" identifier (argument_list "(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24)" ( (binary_expression "param_2 + *(int *)PTR_optind_0012b0ec * 4" identifier + (binary_expression "*(int *)PTR_optind_0012b0ec * 4" (pointer_expression "*(int *)PTR_optind_0012b0ec" * (cast_expression "(int *)PTR_optind_0012b0ec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal)) , identifier , (binary_expression "PTR_LAB_0012aa28 + -0x7f38" identifier + number_literal) , (binary_expression "PTR_FUN_0012a1a8 + -0x5f24" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) | LIT)) ;) })))) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) * LIT)) , IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000989bc(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000989bc(undefined4 param_1,int param_2)" (identifier "FUN_000989bc") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);\n  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }\n  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30)" (parenthesized_expression "(*(code *)PTR_FUN_0012a30c)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a30c" (* "*") (cast_expression "(code *)PTR_FUN_0012a30c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a30c"))) () ")")) (argument_list "(param_2,PTR_FUN_0012a1a8 + -0x5f30)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_FUN_0012a1a8 + -0x5f30" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x5f30")) () ")")))) (; ";")) (if_statement "if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }\n  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm')" (( "(") (binary_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm'" (pointer_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2)" (* "*") (cast_expression "(char *)(*(int *)PTR_DAT_0012a1ac + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_DAT_0012a1ac + 2)" (( "(") (binary_expression "*(int *)PTR_DAT_0012a1ac + 2" (pointer_expression "*(int *)PTR_DAT_0012a1ac" (* "*") (cast_expression "(int *)PTR_DAT_0012a1ac" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a1ac"))) (+ "+") (number_literal "2")) () ")")))) (== "==") (char_literal "'m'" (' "'") (character "m") (' "'"))) () ")")) (compound_statement "{\n    if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }\n  }" ({ "{") (if_statement "if ((uVar1 & 0x60) == 0) {\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }" (if "if") (parenthesized_expression "((uVar1 & 0x60) == 0)" (( "(") (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" (( "(") (binary_expression "uVar1 & 0x60" (identifier "uVar1") (& "&") (number_literal "0x60")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_0012a1dc)();\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_0012a1dc)();" (call_expression "(*(code *)PTR_FUN_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a1dc)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1dc" (* "*") (cast_expression "(code *)PTR_FUN_0012a1dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1dc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" (else "else") (if_statement "if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c')" (( "(") (binary_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c'" (pointer_expression "*(char *)(*(int *)PTR_DAT_0012a1ac + 2)" (* "*") (cast_expression "(char *)(*(int *)PTR_DAT_0012a1ac + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_DAT_0012a1ac + 2)" (( "(") (binary_expression "*(int *)PTR_DAT_0012a1ac + 2" (pointer_expression "*(int *)PTR_DAT_0012a1ac" (* "*") (cast_expression "(int *)PTR_DAT_0012a1ac" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a1ac"))) (+ "+") (number_literal "2")) () ")")))) (== "==") (char_literal "'c'" (' "'") (character "c") (' "'"))) () ")")) (compound_statement "{\n    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;\n  }" ({ "{") (expression_statement "*(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;" (assignment_expression "*(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1" (pointer_expression "*(uint *)PTR_DAT_0012a334" (* "*") (cast_expression "(uint *)PTR_DAT_0012a334" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a334"))) (= "=") (binary_expression "*(uint *)PTR_DAT_0012a334 | 1" (pointer_expression "*(uint *)PTR_DAT_0012a334" (* "*") (cast_expression "(uint *)PTR_DAT_0012a334" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a334"))) (| "|") (number_literal "1"))) (; ";")) (} "}"))))) (expression_statement "FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24);" (call_expression "FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24)" (identifier "FUN_00098294") (argument_list "(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38\n               ,PTR_FUN_0012a1a8 + -0x5f24)" (( "(") (binary_expression "param_2 + *(int *)PTR_optind_0012b0ec * 4" (identifier "param_2") (+ "+") (binary_expression "*(int *)PTR_optind_0012b0ec * 4" (pointer_expression "*(int *)PTR_optind_0012b0ec" (* "*") (cast_expression "(int *)PTR_optind_0012b0ec" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_0012b0ec"))) (* "*") (number_literal "4"))) (, ",") (identifier "PTR_FUN_0012aa34") (, ",") (binary_expression "PTR_LAB_0012aa28 + -0x7f38" (identifier "PTR_LAB_0012aa28") (+ "+") (number_literal "-0x7f38")) (, ",") (binary_expression "PTR_FUN_0012a1a8 + -0x5f24" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x5f24")) () ")"))) (; ";")) (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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) right: (char_literal (character)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (return_statement)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = (*(code *)PTR_FUN_0012a30c)(param_2,PTR_FUN_0012a1a8 + -0x5f30);
  if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'm') {
    if ((uVar1 & 0x60) == 0) {
      (*(code *)PTR_FUN_0012a1dc)();
      return;
    }
  }
  else if (*(char *)(*(int *)PTR_DAT_0012a1ac + 2) == 'c') {
    *(uint *)PTR_DAT_0012a334 = *(uint *)PTR_DAT_0012a334 | 1;
  }
  FUN_00098294(param_2 + *(int *)PTR_optind_0012b0ec * 4,PTR_FUN_0012aa34,PTR_LAB_0012aa28 + -0x7f38
               ,PTR_FUN_0012a1a8 + -0x5f24);
  return;
}

