
int __gmp_snprintf(char *buf,size_t size,char *fmt,...)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  undefined4 in_a3;
  undefined4 local_resc;
  va_list ap;
  gmp_snprintf_t d;
  
  puVar1 = PTR___stack_chk_guard_0009d540;
  puVar2 = *(undefined4 **)PTR___stack_chk_guard_0009d540;
  local_resc = in_a3;
  d.buf = buf;
  d.size = size;
  iVar3 = (*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc);
  if (puVar2 == *(undefined4 **)puVar1) {
    return iVar3;
  }
  (*(code *)PTR___stack_chk_fail_0009d4d0)();
  if (puVar2[1] != 0) {
    *(undefined1 *)*puVar2 = 0;
  }
  return 0;
}



undefined4
__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 local_resc;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 *local_c;
  
  puVar1 = PTR___stack_chk_guard_0009d540;
  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;
  local_resc = param_4;
  local_14 = param_1;
  local_10 = param_2;
  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)
                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);
  if (local_c == *(undefined4 **)puVar1) {
    return uVar2;
  }
  (*(code *)PTR___stack_chk_fail_0009d4d0)();
  if (local_c[1] != 0) {
    *(undefined1 *)*local_c = 0;
  }
  return 0;
}


lui gp,0x2
addiu gp,gp,0x50c0
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7e84(gp)
addiu v0,sp,0x3c
sw s0,0x28(sp)
sw a3,0x3c(sp)
or a3,v0,zero
sw v0,0x18(sp)
lw s0,-0x7b00(gp)
sw a0,0x1c(sp)
sw a1,0x20(sp)
addiu a1,sp,0x1c
sw gp,0x10(sp)
sw ra,0x2c(sp)
lw v0,0x0(s0)
lw a0,-0x7e8c(gp)
sw v0,0x24(sp)
jalr t9
_nop
lw a0,0x24(sp)
lw v1,0x0(s0)
bne a0,v1,0x0007fff4
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7b70(gp)
jalr t9
_nop
lw v0,0x4(a0)
beq v0,zero,0x00080014
_nop
lw v0,0x0(a0)
sb zero,0x0(v0)
jr ra
_or v0,zero,zero
(translation_unit "undefined4\n__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\n__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0009d540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0009d540" identifier = identifier) ;) (expression_statement "local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;" (assignment_expression "local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0009d540" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_0009d540" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "local_14 = param_1;" (assignment_expression "local_14 = param_1" identifier = identifier) ;) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" identifier = identifier) ;) (expression_statement "uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);" (assignment_expression "uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" identifier = (call_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)" ( (pointer_expression "*(code *)PTR___gmp_doprnt_0009d1bc" * (cast_expression "(code *)PTR___gmp_doprnt_0009d1bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" ( identifier , (pointer_expression "&local_14" & identifier) , identifier , (pointer_expression "&local_resc" & identifier) )))) ;) (if_statement "if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }" if (parenthesized_expression "(local_c == *(undefined4 **)puVar1)" ( (binary_expression "local_c == *(undefined4 **)puVar1" identifier == (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0009d4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0009d4d0" * (cast_expression "(code *)PTR___stack_chk_fail_0009d4d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }" if (parenthesized_expression "(local_c[1] != 0)" ( (binary_expression "local_c[1] != 0" (subscript_expression "local_c[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    *(undefined1 *)*local_c = 0;\n  }" { (expression_statement "*(undefined1 *)*local_c = 0;" (assignment_expression "*(undefined1 *)*local_c = 0" (pointer_expression "*(undefined1 *)*local_c" * (cast_expression "(undefined1 *)*local_c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_c" * identifier))) = number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int __gmp_snprintf(char *buf,size_t size,char *fmt,...)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 in_a3;\n  undefined4 local_resc;\n  va_list ap;\n  gmp_snprintf_t d;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  puVar2 = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = in_a3;\n  d.buf = buf;\n  d.size = size;\n  iVar3 = (*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc);\n  if (puVar2 == *(undefined4 **)puVar1) {\n    return iVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (puVar2[1] != 0) {\n    *(undefined1 *)*puVar2 = 0;\n  }\n  return 0;\n}\n\n" (function_definition "int __gmp_snprintf(char *buf,size_t size,char *fmt,...)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 in_a3;\n  undefined4 local_resc;\n  va_list ap;\n  gmp_snprintf_t d;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  puVar2 = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = in_a3;\n  d.buf = buf;\n  d.size = size;\n  iVar3 = (*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc);\n  if (puVar2 == *(undefined4 **)puVar1) {\n    return iVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (puVar2[1] != 0) {\n    *(undefined1 *)*puVar2 = 0;\n  }\n  return 0;\n}" primitive_type (function_declarator "__gmp_snprintf(char *buf,size_t size,char *fmt,...)" identifier (parameter_list "(char *buf,size_t size,char *fmt,...)" ( (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "size_t size" primitive_type identifier) , (parameter_declaration "char *fmt" primitive_type (pointer_declarator "*fmt" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 in_a3;\n  undefined4 local_resc;\n  va_list ap;\n  gmp_snprintf_t d;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  puVar2 = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = in_a3;\n  d.buf = buf;\n  d.size = size;\n  iVar3 = (*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc);\n  if (puVar2 == *(undefined4 **)puVar1) {\n    return iVar3;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (puVar2[1] != 0) {\n    *(undefined1 *)*puVar2 = 0;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "va_list ap;" type_identifier identifier ;) (declaration "gmp_snprintf_t d;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0009d540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0009d540" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined4 **)PTR___stack_chk_guard_0009d540;" (assignment_expression "puVar2 = *(undefined4 **)PTR___stack_chk_guard_0009d540" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0009d540" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_0009d540" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (expression_statement "d.buf = buf;" (assignment_expression "d.buf = buf" (field_expression "d.buf" identifier . field_identifier) = identifier) ;) (expression_statement "d.size = size;" (assignment_expression "d.size = size" (field_expression "d.size" identifier . field_identifier) = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc);" (assignment_expression "iVar3 = (*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc)" identifier = (call_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc)" (parenthesized_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)" ( (pointer_expression "*(code *)PTR___gmp_doprnt_0009d1bc" * (cast_expression "(code *)PTR___gmp_doprnt_0009d1bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR___gmp_snprintf_funs_0009d1b4,&d,fmt,&local_resc)" ( identifier , (pointer_expression "&d" & identifier) , identifier , (pointer_expression "&local_resc" & identifier) )))) ;) (if_statement "if (puVar2 == *(undefined4 **)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(puVar2 == *(undefined4 **)puVar1)" ( (binary_expression "puVar2 == *(undefined4 **)puVar1" identifier == (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0009d4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0009d4d0" * (cast_expression "(code *)PTR___stack_chk_fail_0009d4d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar2[1] != 0) {\n    *(undefined1 *)*puVar2 = 0;\n  }" if (parenthesized_expression "(puVar2[1] != 0)" ( (binary_expression "puVar2[1] != 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    *(undefined1 *)*puVar2 = 0;\n  }" { (expression_statement "*(undefined1 *)*puVar2 = 0;" (assignment_expression "*(undefined1 *)*puVar2 = 0" (pointer_expression "*(undefined1 *)*puVar2" * (cast_expression "(undefined1 *)*puVar2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) = number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4\n__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\n__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0009d540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0009d540" identifier = identifier) ;) (expression_statement "local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;" (assignment_expression "local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0009d540" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_0009d540" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "local_14 = param_1;" (assignment_expression "local_14 = param_1" identifier = identifier) ;) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" identifier = identifier) ;) (expression_statement "uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);" (assignment_expression "uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" identifier = (call_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)" ( (pointer_expression "*(code *)PTR___gmp_doprnt_0009d1bc" * (cast_expression "(code *)PTR___gmp_doprnt_0009d1bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" ( identifier , (pointer_expression "&local_14" & identifier) , identifier , (pointer_expression "&local_resc" & identifier) )))) ;) (if_statement "if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }" if (parenthesized_expression "(local_c == *(undefined4 **)puVar1)" ( (binary_expression "local_c == *(undefined4 **)puVar1" identifier == (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0009d4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0009d4d0" * (cast_expression "(code *)PTR___stack_chk_fail_0009d4d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }" if (parenthesized_expression "(local_c[1] != 0)" ( (binary_expression "local_c[1] != 0" (subscript_expression "local_c[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    *(undefined1 *)*local_c = 0;\n  }" { (expression_statement "*(undefined1 *)*local_c = 0;" (assignment_expression "*(undefined1 *)*local_c = 0" (pointer_expression "*(undefined1 *)*local_c" * (cast_expression "(undefined1 *)*local_c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_c" * identifier))) = number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = LIT) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4\n__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "__gmp_snprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "__gmp_snprintf") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 local_resc;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 *local_c;\n  \n  puVar1 = PTR___stack_chk_guard_0009d540;\n  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;\n  local_resc = param_4;\n  local_14 = param_1;\n  local_10 = param_2;\n  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);\n  if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }\n  (*(code *)PTR___stack_chk_fail_0009d4d0)();\n  if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 local_resc;" (type_identifier "undefined4") (identifier "local_resc") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (declaration "undefined4 *local_c;" (type_identifier "undefined4") (pointer_declarator "*local_c" (* "*") (identifier "local_c")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_0009d540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0009d540" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_0009d540")) (; ";")) (expression_statement "local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;" (assignment_expression "local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540" (identifier "local_c") (= "=") (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0009d540" (* "*") (cast_expression "(undefined4 **)PTR___stack_chk_guard_0009d540" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0009d540")))) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_14 = param_1;" (assignment_expression "local_14 = param_1" (identifier "local_14") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" (identifier "local_10") (= "=") (identifier "param_2")) (; ";")) (expression_statement "uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc);" (assignment_expression "uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)\n                    (PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___gmp_doprnt_0009d1bc)" (( "(") (pointer_expression "*(code *)PTR___gmp_doprnt_0009d1bc" (* "*") (cast_expression "(code *)PTR___gmp_doprnt_0009d1bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_doprnt_0009d1bc"))) () ")")) (argument_list "(PTR___gmp_snprintf_funs_0009d1b4,&local_14,param_3,&local_resc)" (( "(") (identifier "PTR___gmp_snprintf_funs_0009d1b4") (, ",") (pointer_expression "&local_14" (& "&") (identifier "local_14")) (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_resc" (& "&") (identifier "local_resc")) () ")")))) (; ";")) (if_statement "if (local_c == *(undefined4 **)puVar1) {\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(local_c == *(undefined4 **)puVar1)" (( "(") (binary_expression "local_c == *(undefined4 **)puVar1" (identifier "local_c") (== "==") (pointer_expression "*(undefined4 **)puVar1" (* "*") (cast_expression "(undefined4 **)puVar1" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return uVar2;\n  }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_0009d4d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0009d4d0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0009d4d0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0009d4d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0009d4d0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_c[1] != 0) {\n    *(undefined1 *)*local_c = 0;\n  }" (if "if") (parenthesized_expression "(local_c[1] != 0)" (( "(") (binary_expression "local_c[1] != 0" (subscript_expression "local_c[1]" (identifier "local_c") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)*local_c = 0;\n  }" ({ "{") (expression_statement "*(undefined1 *)*local_c = 0;" (assignment_expression "*(undefined1 *)*local_c = 0" (pointer_expression "*(undefined1 *)*local_c" (* "*") (cast_expression "(undefined1 *)*local_c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_c" (* "*") (identifier "local_c")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (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))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) consequence: (compound_statement (return_statement (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (number_literal))))) (return_statement (number_literal)))))

undefined4
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 local_resc;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 *local_c;
  
  puVar1 = PTR___stack_chk_guard_0009d540;
  local_c = *(undefined4 **)PTR___stack_chk_guard_0009d540;
  local_resc = param_4;
  local_14 = param_1;
  local_10 = param_2;
  uVar2 = (*(code *)PTR___gmp_doprnt_0009d1bc)
                    (PTR_MASKED_funs_0009d1b4,&local_14,param_3,&local_resc);
  if (local_c == *(undefined4 **)puVar1) {
    return uVar2;
  }
  (*(code *)PTR___stack_chk_fail_0009d4d0)();
  if (local_c[1] != 0) {
    *(undefined1 *)*local_c = 0;
  }
  return 0;
}

