
void out(char *p,char *m1)

{
  undefined *puVar1;
  
  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {
    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;
  }
  else {
    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;
  }
  (*(code *)PTR___printf_chk_00131e4c)
            (1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,
             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1);
  if (**(int **)PTR_bb_errno_001311d8 != 0) {
    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);
  }
  (*(code *)PTR_bb_putchar_00131384)(10);
  return;
}



void FUN_0006f688(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  
  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {
    puVar1 = PTR_FUN_001311a4 + -0x3208;
  }
  else {
    puVar1 = PTR_FUN_001311a4 + -0x3b0;
  }
  (*(code *)PTR___printf_chk_00131e4c)
            (1,PTR_FUN_001311a4 + -0x1c60,param_1,
             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);
  if (**(int **)PTR_DAT_001311d8 != 0) {
    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);
  }
  (*(code *)PTR_FUN_00131384)(10);
  return;
}


lui gp,0xd
addiu gp,gp,-0x6538
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw gp,0x18(sp)
lw v0,-0x7de4(gp)
lb v0,0x34(v0)
bne v0,zero,0x0006f73c
_lw v0,-0x7fac(gp)
lw v0,-0x7fac(gp)
addiu v0,v0,-0x3208
lw v1,-0x7de4(gp)
lwl a3,0x4(v1)
lwr a3,0x7(v1)
lw a3,0x0(a3)
sw a1,0x14(sp)
sw v0,0x10(sp)
or a2,a0,zero
lw a1,-0x7fac(gp)
addiu a1,a1,-0x1c60
li a0,0x1
lw t9,-0x7304(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,-0x7f78(gp)
lw v0,0x0(v0)
lw v0,0x0(v0)
beq v0,zero,0x0006f71c
_lw a1,-0x7fac(gp)
addiu a1,a1,-0x1c54
li a0,0x1
lw t9,-0x7304(gp)
jalr t9
_nop
lw gp,0x18(sp)
li a0,0xa
lw t9,-0x7dcc(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
b 0x0006f6b8
_addiu v0,v0,-0x3b0
(translation_unit "void FUN_0006f688(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}\n\n" (function_definition "void FUN_0006f688(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}" primitive_type (function_declarator "FUN_0006f688(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" if (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c[0x34] == '\0')" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c[0x34] == '\0'" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x34]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }" { (expression_statement "puVar1 = PTR_FUN_001311a4 + -0x3208;" (assignment_expression "puVar1 = PTR_FUN_001311a4 + -0x3208" identifier = (binary_expression "PTR_FUN_001311a4 + -0x3208" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" else (compound_statement "{\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" { (expression_statement "puVar1 = PTR_FUN_001311a4 + -0x3b0;" (assignment_expression "puVar1 = PTR_FUN_001311a4 + -0x3b0" identifier = (binary_expression "PTR_FUN_001311a4 + -0x3b0" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x1c60" identifier + number_literal) , identifier , (pointer_expression "**(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" * (pointer_expression "*(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" * (cast_expression "(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 4)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 4" identifier + number_literal) ))))) , identifier , identifier ))) ;) (if_statement "if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }" if (parenthesized_expression "(**(int **)PTR_DAT_001311d8 != 0)" ( (binary_expression "**(int **)PTR_DAT_001311d8 != 0" (pointer_expression "**(int **)PTR_DAT_001311d8" * (pointer_expression "*(int **)PTR_DAT_001311d8" * (cast_expression "(int **)PTR_DAT_001311d8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }" { (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_FUN_001311a4 + -0x1c54)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x1c54" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR_FUN_00131384)(10);" (call_expression "(*(code *)PTR_FUN_00131384)(10)" (parenthesized_expression "(*(code *)PTR_FUN_00131384)" ( (pointer_expression "*(code *)PTR_FUN_00131384" * (cast_expression "(code *)PTR_FUN_00131384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void out(char *p,char *m1)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1);\n  if (**(int **)PTR_bb_errno_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_bb_putchar_00131384)(10);\n  return;\n}\n\n" (function_definition "void out(char *p,char *m1)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1);\n  if (**(int **)PTR_bb_errno_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_bb_putchar_00131384)(10);\n  return;\n}" primitive_type (function_declarator "out(char *p,char *m1)" identifier (parameter_list "(char *p,char *m1)" ( (parameter_declaration "char *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *m1" primitive_type (pointer_declarator "*m1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1);\n  if (**(int **)PTR_bb_errno_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_bb_putchar_00131384)(10);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;\n  }" if (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c[0x34] == '\0')" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c[0x34] == '\0'" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x34]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;\n  }" { (expression_statement "puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208;" (assignment_expression "puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3208" identifier = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x3208" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;\n  }" else (compound_statement "{\n    puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;\n  }" { (expression_statement "puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0;" (assignment_expression "puVar1 = PTR_bdcommands_4__name_4__001311a4 + -0x3b0" identifier = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x3b0" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c60,p,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,m1)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x1c60" identifier + number_literal) , identifier , (pointer_expression "**(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" * (pointer_expression "*(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" * (cast_expression "(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 4)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 4" identifier + number_literal) ))))) , identifier , identifier ))) ;) (if_statement "if (**(int **)PTR_bb_errno_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);\n  }" if (parenthesized_expression "(**(int **)PTR_bb_errno_001311d8 != 0)" ( (binary_expression "**(int **)PTR_bb_errno_001311d8 != 0" (pointer_expression "**(int **)PTR_bb_errno_001311d8" * (pointer_expression "*(int **)PTR_bb_errno_001311d8" * (cast_expression "(int **)PTR_bb_errno_001311d8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);\n  }" { (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_bdcommands_4__name_4__001311a4 + -0x1c54)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x1c54" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR_bb_putchar_00131384)(10);" (call_expression "(*(code *)PTR_bb_putchar_00131384)(10)" (parenthesized_expression "(*(code *)PTR_bb_putchar_00131384)" ( (pointer_expression "*(code *)PTR_bb_putchar_00131384" * (cast_expression "(code *)PTR_bb_putchar_00131384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006f688(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}\n\n" (function_definition "void FUN_0006f688(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}" primitive_type (function_declarator "FUN_0006f688(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" if (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c[0x34] == '\0')" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c[0x34] == '\0'" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x34]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }" { (expression_statement "puVar1 = PTR_FUN_001311a4 + -0x3208;" (assignment_expression "puVar1 = PTR_FUN_001311a4 + -0x3208" identifier = (binary_expression "PTR_FUN_001311a4 + -0x3208" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" else (compound_statement "{\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" { (expression_statement "puVar1 = PTR_FUN_001311a4 + -0x3b0;" (assignment_expression "puVar1 = PTR_FUN_001311a4 + -0x3b0" identifier = (binary_expression "PTR_FUN_001311a4 + -0x3b0" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x1c60" identifier + number_literal) , identifier , (pointer_expression "**(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" * (pointer_expression "*(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" * (cast_expression "(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 4)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 4" identifier + number_literal) ))))) , identifier , identifier ))) ;) (if_statement "if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }" if (parenthesized_expression "(**(int **)PTR_DAT_001311d8 != 0)" ( (binary_expression "**(int **)PTR_DAT_001311d8 != 0" (pointer_expression "**(int **)PTR_DAT_001311d8" * (pointer_expression "*(int **)PTR_DAT_001311d8" * (cast_expression "(int **)PTR_DAT_001311d8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }" { (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_FUN_001311a4 + -0x1c54)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x1c54" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR_FUN_00131384)(10);" (call_expression "(*(code *)PTR_FUN_00131384)(10)" (parenthesized_expression "(*(code *)PTR_FUN_00131384)" ( (pointer_expression "*(code *)PTR_FUN_00131384" * (cast_expression "(code *)PTR_FUN_00131384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( 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 (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT , (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0006f688(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006f688(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0006f688") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }\n  (*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);\n  if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }\n  (*(code *)PTR_FUN_00131384)(10);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }\n  else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" (if "if") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c[0x34] == '\0')" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c[0x34] == '\0'" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x34]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (number_literal "0x34") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    puVar1 = PTR_FUN_001311a4 + -0x3208;\n  }" ({ "{") (expression_statement "puVar1 = PTR_FUN_001311a4 + -0x3208;" (assignment_expression "puVar1 = PTR_FUN_001311a4 + -0x3208" (identifier "puVar1") (= "=") (binary_expression "PTR_FUN_001311a4 + -0x3208" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x3208"))) (; ";")) (} "}")) (else_clause "else {\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" (else "else") (compound_statement "{\n    puVar1 = PTR_FUN_001311a4 + -0x3b0;\n  }" ({ "{") (expression_statement "puVar1 = PTR_FUN_001311a4 + -0x3b0;" (assignment_expression "puVar1 = PTR_FUN_001311a4 + -0x3b0" (identifier "puVar1") (= "=") (binary_expression "PTR_FUN_001311a4 + -0x3b0" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x3b0"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)\n            (1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00131e4c" (* "*") (cast_expression "(code *)PTR___printf_chk_00131e4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00131e4c"))) () ")")) (argument_list "(1,PTR_FUN_001311a4 + -0x1c60,param_1,\n             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x1c60" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x1c60")) (, ",") (identifier "param_1") (, ",") (pointer_expression "**(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" (* "*") (pointer_expression "*(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" (* "*") (cast_expression "(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 4)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 4" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "4")) () ")"))))) (, ",") (identifier "puVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (**(int **)PTR_DAT_001311d8 != 0) {\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }" (if "if") (parenthesized_expression "(**(int **)PTR_DAT_001311d8 != 0)" (( "(") (binary_expression "**(int **)PTR_DAT_001311d8 != 0" (pointer_expression "**(int **)PTR_DAT_001311d8" (* "*") (pointer_expression "*(int **)PTR_DAT_001311d8" (* "*") (cast_expression "(int **)PTR_DAT_001311d8" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_001311d8")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);\n  }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00131e4c" (* "*") (cast_expression "(code *)PTR___printf_chk_00131e4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00131e4c"))) () ")")) (argument_list "(1,PTR_FUN_001311a4 + -0x1c54)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x1c54" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x1c54")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_FUN_00131384)(10);" (call_expression "(*(code *)PTR_FUN_00131384)(10)" (parenthesized_expression "(*(code *)PTR_FUN_00131384)" (( "(") (pointer_expression "*(code *)PTR_FUN_00131384" (* "*") (cast_expression "(code *)PTR_FUN_00131384" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00131384"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *p,char *m1)

{
  type_1 *puVar1;
  
  if (var_2[0x34] == '\0') {
    puVar1 = var_1 + -0x3208;
  }
  else {
    puVar1 = var_1 + -0x3b0;
  }
  (*(type_2 *)PTR___printf_chk_00131e4c)
            (1,var_1 + -0x1c60,p,
             **(type_3 **)(var_2 + 4),puVar1,m1);
  if (**(int **)PTR_bb_errno_001311d8 != 0) {
    (*(type_2 *)PTR___printf_chk_00131e4c)(1,var_1 + -0x1c54);
  }
  (*(type_2 *)PTR_bb_putchar_00131384)(10);
  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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  
  if (PTR_bb_common_bufsiz1_0013136c[0x34] == '\0') {
    puVar1 = PTR_FUN_001311a4 + -0x3208;
  }
  else {
    puVar1 = PTR_FUN_001311a4 + -0x3b0;
  }
  (*(code *)PTR___printf_chk_00131e4c)
            (1,PTR_FUN_001311a4 + -0x1c60,param_1,
             **(undefined4 **)(PTR_bb_common_bufsiz1_0013136c + 4),puVar1,param_2);
  if (**(int **)PTR_DAT_001311d8 != 0) {
    (*(code *)PTR___printf_chk_00131e4c)(1,PTR_FUN_001311a4 + -0x1c54);
  }
  (*(code *)PTR_FUN_00131384)(10);
  return;
}

