
void set_program_name(char *argv0)

{
  int iVar1;
  int iVar2;
  int iVar3;
  
  if (argv0 == (char *)0x0) {
    (*(code *)PTR_fwrite_0002b2d4)
              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);
    (*(code *)PTR_abort_0002b230)();
    return;
  }
  iVar1 = (*(code *)PTR_strrchr_0002b25c)(argv0,0x2f);
  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)) {
    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);
    if (iVar2 == 0) {
      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);
      if (iVar2 != 0) {
        *(int *)PTR_program_name_0002b124 = iVar3;
        *(int *)PTR_program_invocation_name_0002b268 = iVar3;
        return;
      }
      argv0 = (char *)(iVar1 + 4);
      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;
    }
  }
  *(char **)PTR_program_name_0002b124 = argv0;
  *(char **)PTR_program_invocation_name_0002b268 = argv0;
  return;
}



void set_program_name(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  
  if (param_1 == 0) {
    (*(code *)PTR_fwrite_0002b2d4)
              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);
    (*(code *)PTR_abort_0002b230)();
    return;
  }
  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);
  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {
    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);
    if (iVar2 == 0) {
      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);
      if (iVar2 != 0) {
        *(int *)PTR_program_name_0002b124 = iVar3;
        *(int *)PTR_program_invocation_name_0002b268 = iVar3;
        return;
      }
      param_1 = iVar1 + 4;
      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;
    }
  }
  *(int *)PTR_program_name_0002b124 = param_1;
  *(int *)PTR_program_invocation_name_0002b268 = param_1;
  return;
}


lui gp,0x2
addiu gp,gp,-0x3b0
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
beq a0,zero,0x00013584
_sw s0,0x18(sp)
lw t9,-0x7e84(gp)
li a1,0x2f
jalr t9
_or s0,a0,zero
lw gp,0x10(sp)
beq v0,zero,0x00013530
_or s1,v0,zero
addiu s2,v0,0x1
subu v0,s2,s0
slti v0,v0,0x7
bne v0,zero,0x00013530
_li a2,0x7
lw a1,-0x7fc8(gp)
lw t9,-0x7eac(gp)
addiu a0,s1,-0x6
jalr t9
_addiu a1,a1,-0x67fc
bne v0,zero,0x00013530
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a2,0x3
lw t9,-0x7eac(gp)
or a0,s2,zero
jalr t9
_addiu a1,a1,-0x67f4
bne v0,zero,0x00013558
_lw gp,0x10(sp)
lw v0,-0x7e98(gp)
addiu s0,s1,0x4
sw s0,0x0(v0)
lw v0,-0x7fbc(gp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
sw s0,0x0(v0)
lw v0,-0x7e78(gp)
sw s0,0x0(v0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw v0,-0x7fbc(gp)
or s0,s2,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
sw s0,0x0(v0)
lw v0,-0x7e78(gp)
sw s0,0x0(v0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw v0,-0x7ddc(gp)
li a2,0x37
lw a0,-0x7fc8(gp)
li a1,0x1
lw t9,-0x7e0c(gp)
lw a3,0x0(v0)
jalr t9
_addiu a0,a0,-0x6834
lw gp,0x10(sp)
lw t9,-0x7eb0(gp)
jalr t9
_nop
(translation_unit "void set_program_name(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}\n\n" (function_definition "void set_program_name(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}" primitive_type (function_declarator "set_program_name(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" { (expression_statement "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);" (call_expression "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" (parenthesized_expression "(*(code *)PTR_fwrite_0002b2d4)" ( (pointer_expression "*(code *)PTR_fwrite_0002b2d4" * (cast_expression "(code *)PTR_fwrite_0002b2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" ( (binary_expression "PTR_DAT_0002b118 + -0x6834" identifier + number_literal) , number_literal , number_literal , (pointer_expression "*(undefined4 *)PTR_stderr_0002b304" * (cast_expression "(undefined4 *)PTR_stderr_0002b304" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_abort_0002b230)();" (call_expression "(*(code *)PTR_abort_0002b230)()" (parenthesized_expression "(*(code *)PTR_abort_0002b230)" ( (pointer_expression "*(code *)PTR_abort_0002b230" * (cast_expression "(code *)PTR_abort_0002b230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f)" identifier = (call_expression "(*(code *)PTR_strrchr_0002b25c)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_0002b25c)" ( (pointer_expression "*(code *)PTR_strrchr_0002b25c" * (cast_expression "(code *)PTR_strrchr_0002b25c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }" if (parenthesized_expression "((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1))" ( (binary_expression "(iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = iVar1 + 1, 6 < iVar3 - param_1)" ( (comma_expression "iVar3 = iVar1 + 1, 6 < iVar3 - param_1" (assignment_expression "iVar3 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) , (binary_expression "6 < iVar3 - param_1" number_literal < (binary_expression "iVar3 - param_1" identifier - identifier))) ))) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" identifier = (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" ( (pointer_expression "*(code *)PTR_strncmp_0002b234" * (cast_expression "(code *)PTR_strncmp_0002b234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" ( (binary_expression "iVar1 + -6" identifier + number_literal) , (binary_expression "PTR_DAT_0002b118 + -0x67fc" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" identifier = (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" ( (pointer_expression "*(code *)PTR_strncmp_0002b234" * (cast_expression "(code *)PTR_strncmp_0002b234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" ( identifier , (binary_expression "PTR_DAT_0002b118 + -0x67f4" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" { (expression_statement "*(int *)PTR_program_name_0002b124 = iVar3;" (assignment_expression "*(int *)PTR_program_name_0002b124 = iVar3" (pointer_expression "*(int *)PTR_program_name_0002b124" * (cast_expression "(int *)PTR_program_name_0002b124" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = iVar3;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = iVar3" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" * (cast_expression "(int *)PTR_program_invocation_name_0002b268" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_1 = iVar1 + 4;" (assignment_expression "param_1 = iVar1 + 4" identifier = (binary_expression "iVar1 + 4" identifier + number_literal)) ;) (expression_statement "*(int *)PTR_program_invocation_short_name_0002b248 = param_1;" (assignment_expression "*(int *)PTR_program_invocation_short_name_0002b248 = param_1" (pointer_expression "*(int *)PTR_program_invocation_short_name_0002b248" * (cast_expression "(int *)PTR_program_invocation_short_name_0002b248" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) })) (expression_statement "*(int *)PTR_program_name_0002b124 = param_1;" (assignment_expression "*(int *)PTR_program_name_0002b124 = param_1" (pointer_expression "*(int *)PTR_program_name_0002b124" * (cast_expression "(int *)PTR_program_name_0002b124" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = param_1;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = param_1" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" * (cast_expression "(int *)PTR_program_invocation_name_0002b268" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_program_name(char *argv0)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (argv0 == (char *)0x0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(argv0,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }\n  }\n  *(char **)PTR_program_name_0002b124 = argv0;\n  *(char **)PTR_program_invocation_name_0002b268 = argv0;\n  return;\n}\n\n" (function_definition "void set_program_name(char *argv0)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (argv0 == (char *)0x0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(argv0,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }\n  }\n  *(char **)PTR_program_name_0002b124 = argv0;\n  *(char **)PTR_program_invocation_name_0002b268 = argv0;\n  return;\n}" primitive_type (function_declarator "set_program_name(char *argv0)" identifier (parameter_list "(char *argv0)" ( (parameter_declaration "char *argv0" primitive_type (pointer_declarator "*argv0" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (argv0 == (char *)0x0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(argv0,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }\n  }\n  *(char **)PTR_program_name_0002b124 = argv0;\n  *(char **)PTR_program_invocation_name_0002b268 = argv0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (argv0 == (char *)0x0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" if (parenthesized_expression "(argv0 == (char *)0x0)" ( (binary_expression "argv0 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" { (expression_statement "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);" (call_expression "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" (parenthesized_expression "(*(code *)PTR_fwrite_0002b2d4)" ( (pointer_expression "*(code *)PTR_fwrite_0002b2d4" * (cast_expression "(code *)PTR_fwrite_0002b2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" ( (binary_expression "PTR_DAT_0002b118 + -0x6834" identifier + number_literal) , number_literal , number_literal , (pointer_expression "*(undefined4 *)PTR_stderr_0002b304" * (cast_expression "(undefined4 *)PTR_stderr_0002b304" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_abort_0002b230)();" (call_expression "(*(code *)PTR_abort_0002b230)()" (parenthesized_expression "(*(code *)PTR_abort_0002b230)" ( (pointer_expression "*(code *)PTR_abort_0002b230" * (cast_expression "(code *)PTR_abort_0002b230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_strrchr_0002b25c)(argv0,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_0002b25c)(argv0,0x2f)" identifier = (call_expression "(*(code *)PTR_strrchr_0002b25c)(argv0,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_0002b25c)" ( (pointer_expression "*(code *)PTR_strrchr_0002b25c" * (cast_expression "(code *)PTR_strrchr_0002b25c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(argv0,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }\n  }" if (parenthesized_expression "((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0))" ( (binary_expression "(iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0)" ( (comma_expression "iVar3 = iVar1 + 1, 6 < iVar3 - (int)argv0" (assignment_expression "iVar3 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) , (binary_expression "6 < iVar3 - (int)argv0" number_literal < (binary_expression "iVar3 - (int)argv0" identifier - (cast_expression "(int)argv0" ( (type_descriptor "int" primitive_type) ) identifier)))) ))) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" identifier = (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" ( (pointer_expression "*(code *)PTR_strncmp_0002b234" * (cast_expression "(code *)PTR_strncmp_0002b234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" ( (binary_expression "iVar1 + -6" identifier + number_literal) , (binary_expression "PTR_DAT_0002b118 + -0x67fc" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      argv0 = (char *)(iVar1 + 4);\n      *(char **)PTR_program_invocation_short_name_0002b248 = argv0;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" identifier = (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" ( (pointer_expression "*(code *)PTR_strncmp_0002b234" * (cast_expression "(code *)PTR_strncmp_0002b234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" ( identifier , (binary_expression "PTR_DAT_0002b118 + -0x67f4" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" { (expression_statement "*(int *)PTR_program_name_0002b124 = iVar3;" (assignment_expression "*(int *)PTR_program_name_0002b124 = iVar3" (pointer_expression "*(int *)PTR_program_name_0002b124" * (cast_expression "(int *)PTR_program_name_0002b124" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = iVar3;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = iVar3" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" * (cast_expression "(int *)PTR_program_invocation_name_0002b268" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "argv0 = (char *)(iVar1 + 4);" (assignment_expression "argv0 = (char *)(iVar1 + 4)" identifier = (cast_expression "(char *)(iVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ;) (expression_statement "*(char **)PTR_program_invocation_short_name_0002b248 = argv0;" (assignment_expression "*(char **)PTR_program_invocation_short_name_0002b248 = argv0" (pointer_expression "*(char **)PTR_program_invocation_short_name_0002b248" * (cast_expression "(char **)PTR_program_invocation_short_name_0002b248" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) })) })) (expression_statement "*(char **)PTR_program_name_0002b124 = argv0;" (assignment_expression "*(char **)PTR_program_name_0002b124 = argv0" (pointer_expression "*(char **)PTR_program_name_0002b124" * (cast_expression "(char **)PTR_program_name_0002b124" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(char **)PTR_program_invocation_name_0002b268 = argv0;" (assignment_expression "*(char **)PTR_program_invocation_name_0002b268 = argv0" (pointer_expression "*(char **)PTR_program_invocation_name_0002b268" * (cast_expression "(char **)PTR_program_invocation_name_0002b268" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_program_name(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}\n\n" (function_definition "void set_program_name(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}" primitive_type (function_declarator "set_program_name(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" { (expression_statement "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);" (call_expression "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" (parenthesized_expression "(*(code *)PTR_fwrite_0002b2d4)" ( (pointer_expression "*(code *)PTR_fwrite_0002b2d4" * (cast_expression "(code *)PTR_fwrite_0002b2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" ( (binary_expression "PTR_DAT_0002b118 + -0x6834" identifier + number_literal) , number_literal , number_literal , (pointer_expression "*(undefined4 *)PTR_stderr_0002b304" * (cast_expression "(undefined4 *)PTR_stderr_0002b304" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_abort_0002b230)();" (call_expression "(*(code *)PTR_abort_0002b230)()" (parenthesized_expression "(*(code *)PTR_abort_0002b230)" ( (pointer_expression "*(code *)PTR_abort_0002b230" * (cast_expression "(code *)PTR_abort_0002b230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f)" identifier = (call_expression "(*(code *)PTR_strrchr_0002b25c)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_0002b25c)" ( (pointer_expression "*(code *)PTR_strrchr_0002b25c" * (cast_expression "(code *)PTR_strrchr_0002b25c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }" if (parenthesized_expression "((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1))" ( (binary_expression "(iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = iVar1 + 1, 6 < iVar3 - param_1)" ( (comma_expression "iVar3 = iVar1 + 1, 6 < iVar3 - param_1" (assignment_expression "iVar3 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) , (binary_expression "6 < iVar3 - param_1" number_literal < (binary_expression "iVar3 - param_1" identifier - identifier))) ))) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" identifier = (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" ( (pointer_expression "*(code *)PTR_strncmp_0002b234" * (cast_expression "(code *)PTR_strncmp_0002b234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" ( (binary_expression "iVar1 + -6" identifier + number_literal) , (binary_expression "PTR_DAT_0002b118 + -0x67fc" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" identifier = (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" ( (pointer_expression "*(code *)PTR_strncmp_0002b234" * (cast_expression "(code *)PTR_strncmp_0002b234" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" ( identifier , (binary_expression "PTR_DAT_0002b118 + -0x67f4" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" { (expression_statement "*(int *)PTR_program_name_0002b124 = iVar3;" (assignment_expression "*(int *)PTR_program_name_0002b124 = iVar3" (pointer_expression "*(int *)PTR_program_name_0002b124" * (cast_expression "(int *)PTR_program_name_0002b124" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = iVar3;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = iVar3" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" * (cast_expression "(int *)PTR_program_invocation_name_0002b268" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_1 = iVar1 + 4;" (assignment_expression "param_1 = iVar1 + 4" identifier = (binary_expression "iVar1 + 4" identifier + number_literal)) ;) (expression_statement "*(int *)PTR_program_invocation_short_name_0002b248 = param_1;" (assignment_expression "*(int *)PTR_program_invocation_short_name_0002b248 = param_1" (pointer_expression "*(int *)PTR_program_invocation_short_name_0002b248" * (cast_expression "(int *)PTR_program_invocation_short_name_0002b248" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) })) (expression_statement "*(int *)PTR_program_name_0002b124 = param_1;" (assignment_expression "*(int *)PTR_program_name_0002b124 = param_1" (pointer_expression "*(int *)PTR_program_name_0002b124" * (cast_expression "(int *)PTR_program_name_0002b124" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = param_1;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = param_1" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" * (cast_expression "(int *)PTR_program_invocation_name_0002b268" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression LIT < (binary_expression IDENT - IDENT))) ))) )) (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) , (binary_expression IDENT + LIT) , LIT )))) ;) (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 ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (return_statement return ;) })))
(function_definition "void set_program_name(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}" (primitive_type "void") (function_declarator "set_program_name(int param_1)" (identifier "set_program_name") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }\n  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);\n  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }\n  *(int *)PTR_program_name_0002b124 = param_1;\n  *(int *)PTR_program_invocation_name_0002b268 = param_1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_1 == 0) {\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);\n    (*(code *)PTR_abort_0002b230)();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);" (call_expression "(*(code *)PTR_fwrite_0002b2d4)\n              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" (parenthesized_expression "(*(code *)PTR_fwrite_0002b2d4)" (( "(") (pointer_expression "*(code *)PTR_fwrite_0002b2d4" (* "*") (cast_expression "(code *)PTR_fwrite_0002b2d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fwrite_0002b2d4"))) () ")")) (argument_list "(PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304)" (( "(") (binary_expression "PTR_DAT_0002b118 + -0x6834" (identifier "PTR_DAT_0002b118") (+ "+") (number_literal "-0x6834")) (, ",") (number_literal "1") (, ",") (number_literal "0x37") (, ",") (pointer_expression "*(undefined4 *)PTR_stderr_0002b304" (* "*") (cast_expression "(undefined4 *)PTR_stderr_0002b304" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_0002b304"))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_abort_0002b230)();" (call_expression "(*(code *)PTR_abort_0002b230)()" (parenthesized_expression "(*(code *)PTR_abort_0002b230)" (( "(") (pointer_expression "*(code *)PTR_abort_0002b230" (* "*") (cast_expression "(code *)PTR_abort_0002b230" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_0002b230"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strrchr_0002b25c)(param_1,0x2f)" (parenthesized_expression "(*(code *)PTR_strrchr_0002b25c)" (( "(") (pointer_expression "*(code *)PTR_strrchr_0002b25c" (* "*") (cast_expression "(code *)PTR_strrchr_0002b25c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strrchr_0002b25c"))) () ")")) (argument_list "(param_1,0x2f)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1))" (( "(") (binary_expression "(iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = iVar1 + 1, 6 < iVar3 - param_1)" (( "(") (comma_expression "iVar3 = iVar1 + 1, 6 < iVar3 - param_1" (assignment_expression "iVar3 = iVar1 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (, ",") (binary_expression "6 < iVar3 - param_1" (number_literal "6") (< "<") (binary_expression "iVar3 - param_1" (identifier "iVar3") (- "-") (identifier "param_1")))) () ")"))) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);\n    if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" (( "(") (pointer_expression "*(code *)PTR_strncmp_0002b234" (* "*") (cast_expression "(code *)PTR_strncmp_0002b234" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_0002b234"))) () ")")) (argument_list "(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7)" (( "(") (binary_expression "iVar1 + -6" (identifier "iVar1") (+ "+") (number_literal "-6")) (, ",") (binary_expression "PTR_DAT_0002b118 + -0x67fc" (identifier "PTR_DAT_0002b118") (+ "+") (number_literal "-0x67fc")) (, ",") (number_literal "7") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);\n      if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }\n      param_1 = iVar1 + 4;\n      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002b234)" (( "(") (pointer_expression "*(code *)PTR_strncmp_0002b234" (* "*") (cast_expression "(code *)PTR_strncmp_0002b234" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_0002b234"))) () ")")) (argument_list "(iVar3,PTR_DAT_0002b118 + -0x67f4,3)" (( "(") (identifier "iVar3") (, ",") (binary_expression "PTR_DAT_0002b118 + -0x67f4" (identifier "PTR_DAT_0002b118") (+ "+") (number_literal "-0x67f4")) (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(int *)PTR_program_name_0002b124 = iVar3;\n        *(int *)PTR_program_invocation_name_0002b268 = iVar3;\n        return;\n      }" ({ "{") (expression_statement "*(int *)PTR_program_name_0002b124 = iVar3;" (assignment_expression "*(int *)PTR_program_name_0002b124 = iVar3" (pointer_expression "*(int *)PTR_program_name_0002b124" (* "*") (cast_expression "(int *)PTR_program_name_0002b124" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_program_name_0002b124"))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = iVar3;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = iVar3" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" (* "*") (cast_expression "(int *)PTR_program_invocation_name_0002b268" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_program_invocation_name_0002b268"))) (= "=") (identifier "iVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_1 = iVar1 + 4;" (assignment_expression "param_1 = iVar1 + 4" (identifier "param_1") (= "=") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(int *)PTR_program_invocation_short_name_0002b248 = param_1;" (assignment_expression "*(int *)PTR_program_invocation_short_name_0002b248 = param_1" (pointer_expression "*(int *)PTR_program_invocation_short_name_0002b248" (* "*") (cast_expression "(int *)PTR_program_invocation_short_name_0002b248" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_program_invocation_short_name_0002b248"))) (= "=") (identifier "param_1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "*(int *)PTR_program_name_0002b124 = param_1;" (assignment_expression "*(int *)PTR_program_name_0002b124 = param_1" (pointer_expression "*(int *)PTR_program_name_0002b124" (* "*") (cast_expression "(int *)PTR_program_name_0002b124" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_program_name_0002b124"))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int *)PTR_program_invocation_name_0002b268 = param_1;" (assignment_expression "*(int *)PTR_program_invocation_name_0002b268 = param_1" (pointer_expression "*(int *)PTR_program_invocation_name_0002b268" (* "*") (cast_expression "(int *)PTR_program_invocation_name_0002b268" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_program_invocation_name_0002b268"))) (= "=") (identifier "param_1")) (; ";")) (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) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (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)) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (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))) (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) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (identifier))))))) 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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (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 (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (return_statement))))

void MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  
  if (param_1 == 0) {
    (*(code *)PTR_fwrite_0002b2d4)
              (PTR_DAT_0002b118 + -0x6834,1,0x37,*(undefined4 *)PTR_stderr_0002b304);
    (*(code *)PTR_abort_0002b230)();
    return;
  }
  iVar1 = (*(code *)PTR_strrchr_0002b25c)(param_1,0x2f);
  if ((iVar1 != 0) && (iVar3 = iVar1 + 1, 6 < iVar3 - param_1)) {
    iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar1 + -6,PTR_DAT_0002b118 + -0x67fc,7);
    if (iVar2 == 0) {
      iVar2 = (*(code *)PTR_strncmp_0002b234)(iVar3,PTR_DAT_0002b118 + -0x67f4,3);
      if (iVar2 != 0) {
        *(int *)PTR_program_name_0002b124 = iVar3;
        *(int *)PTR_program_invocation_name_0002b268 = iVar3;
        return;
      }
      param_1 = iVar1 + 4;
      *(int *)PTR_program_invocation_short_name_0002b248 = param_1;
    }
  }
  *(int *)PTR_program_name_0002b124 = param_1;
  *(int *)PTR_program_invocation_name_0002b268 = param_1;
  return;
}

