
int __gmp_scanf(char *fmt,...)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 in_a1;
  undefined4 uVar4;
  int *piVar5;
  undefined4 in_a2;
  undefined4 in_a3;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined *puVar8;
  undefined4 uVar9;
  undefined4 local_res4;
  undefined4 local_res8;
  undefined4 local_resc;
  int iStack_3c;
  char **ppcStack_38;
  int *piStack_34;
  undefined *puStack_30;
  undefined4 uStack_2c;
  char *pcStack_20;
  undefined4 *puStack_1c;
  va_list ap;
  
  puVar1 = PTR___stack_chk_guard_00097540;
  puVar6 = &local_res4;
  uVar4 = *(undefined4 *)PTR_stdin_00097314;
  iVar2 = *(int *)PTR___stack_chk_guard_00097540;
  local_res4 = in_a1;
  local_res8 = in_a2;
  local_resc = in_a3;
  iVar3 = (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4);
  if (iVar2 == *(int *)puVar1) {
    return iVar3;
  }
  uVar9 = 0x7b608;
  puVar8 = PTR___stack_chk_fail_000974d0;
  (*(code *)PTR___stack_chk_fail_000974d0)();
  ppcStack_38 = &pcStack_20;
  puStack_30 = puVar1;
  piVar5 = &iStack_3c;
  puVar7 = *(undefined4 **)(puVar8 + 0x1bf30);
  piStack_34 = (int *)*puVar7;
  iStack_3c = iVar2;
  uStack_2c = uVar9;
  pcStack_20 = fmt;
  puStack_1c = puVar6;
  iVar2 = (**(code **)(puVar8 + 0x1bf84))
                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38);
  if (piStack_34 == (int *)*puVar7) {
    return iVar2;
  }
  (**(code **)(puVar8 + 0x1bec0))();
  iVar2 = *piStack_34;
  *piStack_34 = iVar2 + (int)piVar5;
  return iVar2;
}



void __gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *piVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined *puVar7;
  undefined4 uVar8;
  undefined4 local_res4;
  undefined4 local_res8;
  undefined4 local_resc;
  int iStack_3c;
  undefined4 *puStack_38;
  int *piStack_34;
  undefined *puStack_30;
  undefined4 uStack_2c;
  undefined4 uStack_20;
  undefined4 *puStack_1c;
  
  puVar1 = PTR___stack_chk_guard_00097540;
  puVar5 = &local_res4;
  uVar3 = *(undefined4 *)PTR_stdin_00097314;
  iVar2 = *(int *)PTR___stack_chk_guard_00097540;
  local_res4 = param_2;
  local_res8 = param_3;
  local_resc = param_4;
  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);
  if (iVar2 == *(int *)puVar1) {
    return;
  }
  uVar8 = 0x7b608;
  puVar7 = PTR___stack_chk_fail_000974d0;
  (*(code *)PTR___stack_chk_fail_000974d0)();
  puStack_38 = &uStack_20;
  puStack_30 = puVar1;
  piVar4 = &iStack_3c;
  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);
  piStack_34 = (int *)*puVar6;
  iStack_3c = iVar2;
  uStack_2c = uVar8;
  uStack_20 = param_1;
  puStack_1c = puVar5;
  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);
  if (piStack_34 == (int *)*puVar6) {
    return;
  }
  (**(code **)(puVar7 + 0x1bec0))();
  *piStack_34 = *piStack_34 + (int)piVar4;
  return;
}


lui gp,0x2
addiu gp,gp,0x3ac0
addu gp,gp,t9
addiu sp,sp,-0x28
lw v1,-0x7d2c(gp)
lw t9,-0x7aac(gp)
addiu v0,sp,0x2c
sw s0,0x20(sp)
sw a2,0x30(sp)
or a2,a0,zero
sw a3,0x34(sp)
or a3,v0,zero
sw a1,0x2c(sp)
sw v0,0x18(sp)
lw s0,-0x7b00(gp)
lw a0,-0x7fa0(gp)
lw a1,0x0(v1)
sw gp,0x10(sp)
sw ra,0x24(sp)
lw v0,0x0(s0)
sw v0,0x1c(sp)
jalr t9
_nop
lw a0,0x1c(sp)
lw v1,0x0(s0)
bne a0,v1,0x0007b5fc
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7b70(gp)
jalr t9
_nop
nop
nop
(translation_unit "void __gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}\n\n" (function_definition "void __gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}" primitive_type (function_declarator "__gmp_scanf(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  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 local_res4;" type_identifier identifier ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "int iStack_3c;" primitive_type identifier ;) (declaration "undefined4 *puStack_38;" type_identifier (pointer_declarator "*puStack_38" * identifier) ;) (declaration "int *piStack_34;" primitive_type (pointer_declarator "*piStack_34" * identifier) ;) (declaration "undefined *puStack_30;" type_identifier (pointer_declarator "*puStack_30" * identifier) ;) (declaration "undefined4 uStack_2c;" type_identifier identifier ;) (declaration "undefined4 uStack_20;" type_identifier identifier ;) (declaration "undefined4 *puStack_1c;" type_identifier (pointer_declarator "*puStack_1c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar5 = &local_res4;" (assignment_expression "puVar5 = &local_res4" identifier = (pointer_expression "&local_res4" & identifier)) ;) (expression_statement "uVar3 = *(undefined4 *)PTR_stdin_00097314;" (assignment_expression "uVar3 = *(undefined4 *)PTR_stdin_00097314" identifier = (pointer_expression "*(undefined4 *)PTR_stdin_00097314" * (cast_expression "(undefined4 *)PTR_stdin_00097314" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" * (cast_expression "(int *)PTR___stack_chk_guard_00097540" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res4 = param_2;" (assignment_expression "local_res4 = param_2" identifier = identifier) ;) (expression_statement "local_res8 = param_3;" (assignment_expression "local_res8 = param_3" identifier = identifier) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);" (call_expression "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3)" (parenthesized_expression "(*(code *)PTR___gmp_doscan_00097594)" ( (pointer_expression "*(code *)PTR___gmp_doscan_00097594" * (cast_expression "(code *)PTR___gmp_doscan_00097594" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR___gmp_fscanf_funs_000970a0,uVar3)" ( identifier , identifier ))) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar8 = 0x7b608;" (assignment_expression "uVar8 = 0x7b608" identifier = number_literal) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar7 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_38 = &uStack_20;" (assignment_expression "puStack_38 = &uStack_20" identifier = (pointer_expression "&uStack_20" & identifier)) ;) (expression_statement "puStack_30 = puVar1;" (assignment_expression "puStack_30 = puVar1" identifier = identifier) ;) (expression_statement "piVar4 = &iStack_3c;" (assignment_expression "piVar4 = &iStack_3c" identifier = (pointer_expression "&iStack_3c" & identifier)) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);" (assignment_expression "puVar6 = *(undefined4 **)(puVar7 + 0x1bf30)" identifier = (pointer_expression "*(undefined4 **)(puVar7 + 0x1bf30)" * (cast_expression "(undefined4 **)(puVar7 + 0x1bf30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1bf30)" ( (binary_expression "puVar7 + 0x1bf30" identifier + number_literal) ))))) ;) (expression_statement "piStack_34 = (int *)*puVar6;" (assignment_expression "piStack_34 = (int *)*puVar6" identifier = (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "iStack_3c = iVar2;" (assignment_expression "iStack_3c = iVar2" identifier = identifier) ;) (expression_statement "uStack_2c = uVar8;" (assignment_expression "uStack_2c = uVar8" identifier = identifier) ;) (expression_statement "uStack_20 = param_1;" (assignment_expression "uStack_20 = param_1" identifier = identifier) ;) (expression_statement "puStack_1c = puVar5;" (assignment_expression "puStack_1c = puVar5" identifier = identifier) ;) (expression_statement "(**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);" (call_expression "(**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38)" (parenthesized_expression "(**(code **)(puVar7 + 0x1bf84))" ( (pointer_expression "**(code **)(puVar7 + 0x1bf84)" * (pointer_expression "*(code **)(puVar7 + 0x1bf84)" * (cast_expression "(code **)(puVar7 + 0x1bf84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1bf84)" ( (binary_expression "puVar7 + 0x1bf84" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38)" ( (pointer_expression "*(undefined4 *)(puVar7 + 0x1bc58)" * (cast_expression "(undefined4 *)(puVar7 + 0x1bc58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1bc58)" ( (binary_expression "puVar7 + 0x1bc58" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) (if_statement "if (piStack_34 == (int *)*puVar6) {\n    return;\n  }" if (parenthesized_expression "(piStack_34 == (int *)*puVar6)" ( (binary_expression "piStack_34 == (int *)*puVar6" identifier == (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(puVar7 + 0x1bec0))();" (call_expression "(**(code **)(puVar7 + 0x1bec0))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1bec0))" ( (pointer_expression "**(code **)(puVar7 + 0x1bec0)" * (pointer_expression "*(code **)(puVar7 + 0x1bec0)" * (cast_expression "(code **)(puVar7 + 0x1bec0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1bec0)" ( (binary_expression "puVar7 + 0x1bec0" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "*piStack_34 = *piStack_34 + (int)piVar4;" (assignment_expression "*piStack_34 = *piStack_34 + (int)piVar4" (pointer_expression "*piStack_34" * identifier) = (binary_expression "*piStack_34 + (int)piVar4" (pointer_expression "*piStack_34" * identifier) + (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit "int __gmp_scanf(char *fmt,...)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 in_a1;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined *puVar8;\n  undefined4 uVar9;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  char **ppcStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  char *pcStack_20;\n  undefined4 *puStack_1c;\n  va_list ap;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar6 = &local_res4;\n  uVar4 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = in_a1;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  iVar3 = (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4);\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }\n  uVar9 = 0x7b608;\n  puVar8 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  ppcStack_38 = &pcStack_20;\n  puStack_30 = puVar1;\n  piVar5 = &iStack_3c;\n  puVar7 = *(undefined4 **)(puVar8 + 0x1bf30);\n  piStack_34 = (int *)*puVar7;\n  iStack_3c = iVar2;\n  uStack_2c = uVar9;\n  pcStack_20 = fmt;\n  puStack_1c = puVar6;\n  iVar2 = (**(code **)(puVar8 + 0x1bf84))\n                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38);\n  if (piStack_34 == (int *)*puVar7) {\n    return iVar2;\n  }\n  (**(code **)(puVar8 + 0x1bec0))();\n  iVar2 = *piStack_34;\n  *piStack_34 = iVar2 + (int)piVar5;\n  return iVar2;\n}\n\n" (function_definition "int __gmp_scanf(char *fmt,...)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 in_a1;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined *puVar8;\n  undefined4 uVar9;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  char **ppcStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  char *pcStack_20;\n  undefined4 *puStack_1c;\n  va_list ap;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar6 = &local_res4;\n  uVar4 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = in_a1;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  iVar3 = (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4);\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }\n  uVar9 = 0x7b608;\n  puVar8 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  ppcStack_38 = &pcStack_20;\n  puStack_30 = puVar1;\n  piVar5 = &iStack_3c;\n  puVar7 = *(undefined4 **)(puVar8 + 0x1bf30);\n  piStack_34 = (int *)*puVar7;\n  iStack_3c = iVar2;\n  uStack_2c = uVar9;\n  pcStack_20 = fmt;\n  puStack_1c = puVar6;\n  iVar2 = (**(code **)(puVar8 + 0x1bf84))\n                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38);\n  if (piStack_34 == (int *)*puVar7) {\n    return iVar2;\n  }\n  (**(code **)(puVar8 + 0x1bec0))();\n  iVar2 = *piStack_34;\n  *piStack_34 = iVar2 + (int)piVar5;\n  return iVar2;\n}" primitive_type (function_declarator "__gmp_scanf(char *fmt,...)" identifier (parameter_list "(char *fmt,...)" ( (parameter_declaration "char *fmt" primitive_type (pointer_declarator "*fmt" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 in_a1;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined *puVar8;\n  undefined4 uVar9;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  char **ppcStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  char *pcStack_20;\n  undefined4 *puStack_1c;\n  va_list ap;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar6 = &local_res4;\n  uVar4 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = in_a1;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  iVar3 = (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4);\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }\n  uVar9 = 0x7b608;\n  puVar8 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  ppcStack_38 = &pcStack_20;\n  puStack_30 = puVar1;\n  piVar5 = &iStack_3c;\n  puVar7 = *(undefined4 **)(puVar8 + 0x1bf30);\n  piStack_34 = (int *)*puVar7;\n  iStack_3c = iVar2;\n  uStack_2c = uVar9;\n  pcStack_20 = fmt;\n  puStack_1c = puVar6;\n  iVar2 = (**(code **)(puVar8 + 0x1bf84))\n                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38);\n  if (piStack_34 == (int *)*puVar7) {\n    return iVar2;\n  }\n  (**(code **)(puVar8 + 0x1bec0))();\n  iVar2 = *piStack_34;\n  *piStack_34 = iVar2 + (int)piVar5;\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 in_a1;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 local_res4;" type_identifier identifier ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "int iStack_3c;" primitive_type identifier ;) (declaration "char **ppcStack_38;" primitive_type (pointer_declarator "**ppcStack_38" * (pointer_declarator "*ppcStack_38" * identifier)) ;) (declaration "int *piStack_34;" primitive_type (pointer_declarator "*piStack_34" * identifier) ;) (declaration "undefined *puStack_30;" type_identifier (pointer_declarator "*puStack_30" * identifier) ;) (declaration "undefined4 uStack_2c;" type_identifier identifier ;) (declaration "char *pcStack_20;" primitive_type (pointer_declarator "*pcStack_20" * identifier) ;) (declaration "undefined4 *puStack_1c;" type_identifier (pointer_declarator "*puStack_1c" * identifier) ;) (declaration "va_list ap;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar6 = &local_res4;" (assignment_expression "puVar6 = &local_res4" identifier = (pointer_expression "&local_res4" & identifier)) ;) (expression_statement "uVar4 = *(undefined4 *)PTR_stdin_00097314;" (assignment_expression "uVar4 = *(undefined4 *)PTR_stdin_00097314" identifier = (pointer_expression "*(undefined4 *)PTR_stdin_00097314" * (cast_expression "(undefined4 *)PTR_stdin_00097314" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" * (cast_expression "(int *)PTR___stack_chk_guard_00097540" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res4 = in_a1;" (assignment_expression "local_res4 = in_a1" identifier = identifier) ;) (expression_statement "local_res8 = in_a2;" (assignment_expression "local_res8 = in_a2" identifier = identifier) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4);" (assignment_expression "iVar3 = (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4)" identifier = (call_expression "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4)" (parenthesized_expression "(*(code *)PTR___gmp_doscan_00097594)" ( (pointer_expression "*(code *)PTR___gmp_doscan_00097594" * (cast_expression "(code *)PTR___gmp_doscan_00097594" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR___gmp_fscanf_funs_000970a0,uVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "uVar9 = 0x7b608;" (assignment_expression "uVar9 = 0x7b608" identifier = number_literal) ;) (expression_statement "puVar8 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar8 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "ppcStack_38 = &pcStack_20;" (assignment_expression "ppcStack_38 = &pcStack_20" identifier = (pointer_expression "&pcStack_20" & identifier)) ;) (expression_statement "puStack_30 = puVar1;" (assignment_expression "puStack_30 = puVar1" identifier = identifier) ;) (expression_statement "piVar5 = &iStack_3c;" (assignment_expression "piVar5 = &iStack_3c" identifier = (pointer_expression "&iStack_3c" & identifier)) ;) (expression_statement "puVar7 = *(undefined4 **)(puVar8 + 0x1bf30);" (assignment_expression "puVar7 = *(undefined4 **)(puVar8 + 0x1bf30)" identifier = (pointer_expression "*(undefined4 **)(puVar8 + 0x1bf30)" * (cast_expression "(undefined4 **)(puVar8 + 0x1bf30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1bf30)" ( (binary_expression "puVar8 + 0x1bf30" identifier + number_literal) ))))) ;) (expression_statement "piStack_34 = (int *)*puVar7;" (assignment_expression "piStack_34 = (int *)*puVar7" identifier = (cast_expression "(int *)*puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "iStack_3c = iVar2;" (assignment_expression "iStack_3c = iVar2" identifier = identifier) ;) (expression_statement "uStack_2c = uVar9;" (assignment_expression "uStack_2c = uVar9" identifier = identifier) ;) (expression_statement "pcStack_20 = fmt;" (assignment_expression "pcStack_20 = fmt" identifier = identifier) ;) (expression_statement "puStack_1c = puVar6;" (assignment_expression "puStack_1c = puVar6" identifier = identifier) ;) (expression_statement "iVar2 = (**(code **)(puVar8 + 0x1bf84))\n                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38);" (assignment_expression "iVar2 = (**(code **)(puVar8 + 0x1bf84))\n                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38)" identifier = (call_expression "(**(code **)(puVar8 + 0x1bf84))\n                    (*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38)" (parenthesized_expression "(**(code **)(puVar8 + 0x1bf84))" ( (pointer_expression "**(code **)(puVar8 + 0x1bf84)" * (pointer_expression "*(code **)(puVar8 + 0x1bf84)" * (cast_expression "(code **)(puVar8 + 0x1bf84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1bf84)" ( (binary_expression "puVar8 + 0x1bf84" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar8 + 0x1bc58),piVar5,uVar4,ppcStack_38)" ( (pointer_expression "*(undefined4 *)(puVar8 + 0x1bc58)" * (cast_expression "(undefined4 *)(puVar8 + 0x1bc58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1bc58)" ( (binary_expression "puVar8 + 0x1bc58" identifier + number_literal) )))) , identifier , identifier , identifier )))) ;) (if_statement "if (piStack_34 == (int *)*puVar7) {\n    return iVar2;\n  }" if (parenthesized_expression "(piStack_34 == (int *)*puVar7)" ( (binary_expression "piStack_34 == (int *)*puVar7" identifier == (cast_expression "(int *)*puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "(**(code **)(puVar8 + 0x1bec0))();" (call_expression "(**(code **)(puVar8 + 0x1bec0))()" (parenthesized_expression "(**(code **)(puVar8 + 0x1bec0))" ( (pointer_expression "**(code **)(puVar8 + 0x1bec0)" * (pointer_expression "*(code **)(puVar8 + 0x1bec0)" * (cast_expression "(code **)(puVar8 + 0x1bec0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1bec0)" ( (binary_expression "puVar8 + 0x1bec0" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *piStack_34;" (assignment_expression "iVar2 = *piStack_34" identifier = (pointer_expression "*piStack_34" * identifier)) ;) (expression_statement "*piStack_34 = iVar2 + (int)piVar5;" (assignment_expression "*piStack_34 = iVar2 + (int)piVar5" (pointer_expression "*piStack_34" * identifier) = (binary_expression "iVar2 + (int)piVar5" identifier + (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "void __gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}\n\n" (function_definition "void __gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}" primitive_type (function_declarator "__gmp_scanf(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  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 local_res4;" type_identifier identifier ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "int iStack_3c;" primitive_type identifier ;) (declaration "undefined4 *puStack_38;" type_identifier (pointer_declarator "*puStack_38" * identifier) ;) (declaration "int *piStack_34;" primitive_type (pointer_declarator "*piStack_34" * identifier) ;) (declaration "undefined *puStack_30;" type_identifier (pointer_declarator "*puStack_30" * identifier) ;) (declaration "undefined4 uStack_2c;" type_identifier identifier ;) (declaration "undefined4 uStack_20;" type_identifier identifier ;) (declaration "undefined4 *puStack_1c;" type_identifier (pointer_declarator "*puStack_1c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar5 = &local_res4;" (assignment_expression "puVar5 = &local_res4" identifier = (pointer_expression "&local_res4" & identifier)) ;) (expression_statement "uVar3 = *(undefined4 *)PTR_stdin_00097314;" (assignment_expression "uVar3 = *(undefined4 *)PTR_stdin_00097314" identifier = (pointer_expression "*(undefined4 *)PTR_stdin_00097314" * (cast_expression "(undefined4 *)PTR_stdin_00097314" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" * (cast_expression "(int *)PTR___stack_chk_guard_00097540" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res4 = param_2;" (assignment_expression "local_res4 = param_2" identifier = identifier) ;) (expression_statement "local_res8 = param_3;" (assignment_expression "local_res8 = param_3" identifier = identifier) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);" (call_expression "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3)" (parenthesized_expression "(*(code *)PTR___gmp_doscan_00097594)" ( (pointer_expression "*(code *)PTR___gmp_doscan_00097594" * (cast_expression "(code *)PTR___gmp_doscan_00097594" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR___gmp_fscanf_funs_000970a0,uVar3)" ( identifier , identifier ))) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar8 = 0x7b608;" (assignment_expression "uVar8 = 0x7b608" identifier = number_literal) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar7 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_38 = &uStack_20;" (assignment_expression "puStack_38 = &uStack_20" identifier = (pointer_expression "&uStack_20" & identifier)) ;) (expression_statement "puStack_30 = puVar1;" (assignment_expression "puStack_30 = puVar1" identifier = identifier) ;) (expression_statement "piVar4 = &iStack_3c;" (assignment_expression "piVar4 = &iStack_3c" identifier = (pointer_expression "&iStack_3c" & identifier)) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);" (assignment_expression "puVar6 = *(undefined4 **)(puVar7 + 0x1bf30)" identifier = (pointer_expression "*(undefined4 **)(puVar7 + 0x1bf30)" * (cast_expression "(undefined4 **)(puVar7 + 0x1bf30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1bf30)" ( (binary_expression "puVar7 + 0x1bf30" identifier + number_literal) ))))) ;) (expression_statement "piStack_34 = (int *)*puVar6;" (assignment_expression "piStack_34 = (int *)*puVar6" identifier = (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "iStack_3c = iVar2;" (assignment_expression "iStack_3c = iVar2" identifier = identifier) ;) (expression_statement "uStack_2c = uVar8;" (assignment_expression "uStack_2c = uVar8" identifier = identifier) ;) (expression_statement "uStack_20 = param_1;" (assignment_expression "uStack_20 = param_1" identifier = identifier) ;) (expression_statement "puStack_1c = puVar5;" (assignment_expression "puStack_1c = puVar5" identifier = identifier) ;) (expression_statement "(**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);" (call_expression "(**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38)" (parenthesized_expression "(**(code **)(puVar7 + 0x1bf84))" ( (pointer_expression "**(code **)(puVar7 + 0x1bf84)" * (pointer_expression "*(code **)(puVar7 + 0x1bf84)" * (cast_expression "(code **)(puVar7 + 0x1bf84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1bf84)" ( (binary_expression "puVar7 + 0x1bf84" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38)" ( (pointer_expression "*(undefined4 *)(puVar7 + 0x1bc58)" * (cast_expression "(undefined4 *)(puVar7 + 0x1bc58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1bc58)" ( (binary_expression "puVar7 + 0x1bc58" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) (if_statement "if (piStack_34 == (int *)*puVar6) {\n    return;\n  }" if (parenthesized_expression "(piStack_34 == (int *)*puVar6)" ( (binary_expression "piStack_34 == (int *)*puVar6" identifier == (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(puVar7 + 0x1bec0))();" (call_expression "(**(code **)(puVar7 + 0x1bec0))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1bec0))" ( (pointer_expression "**(code **)(puVar7 + 0x1bec0)" * (pointer_expression "*(code **)(puVar7 + 0x1bec0)" * (cast_expression "(code **)(puVar7 + 0x1bec0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1bec0)" ( (binary_expression "puVar7 + 0x1bec0" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "*piStack_34 = *piStack_34 + (int)piVar4;" (assignment_expression "*piStack_34 = *piStack_34 + (int)piVar4" (pointer_expression "*piStack_34" * identifier) = (binary_expression "*piStack_34 + (int)piVar4" (pointer_expression "*piStack_34" * identifier) + (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (return_statement "return;" return ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (return_statement return ;) })))
(function_definition "void __gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}" (primitive_type "void") (function_declarator "__gmp_scanf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "__gmp_scanf") (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  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  int iStack_3c;\n  undefined4 *puStack_38;\n  int *piStack_34;\n  undefined *puStack_30;\n  undefined4 uStack_2c;\n  undefined4 uStack_20;\n  undefined4 *puStack_1c;\n  \n  puVar1 = PTR___stack_chk_guard_00097540;\n  puVar5 = &local_res4;\n  uVar3 = *(undefined4 *)PTR_stdin_00097314;\n  iVar2 = *(int *)PTR___stack_chk_guard_00097540;\n  local_res4 = param_2;\n  local_res8 = param_3;\n  local_resc = param_4;\n  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x7b608;\n  puVar7 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  puStack_38 = &uStack_20;\n  puStack_30 = puVar1;\n  piVar4 = &iStack_3c;\n  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);\n  piStack_34 = (int *)*puVar6;\n  iStack_3c = iVar2;\n  uStack_2c = uVar8;\n  uStack_20 = param_1;\n  puStack_1c = puVar5;\n  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);\n  if (piStack_34 == (int *)*puVar6) {\n    return;\n  }\n  (**(code **)(puVar7 + 0x1bec0))();\n  *piStack_34 = *piStack_34 + (int)piVar4;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 local_res4;" (type_identifier "undefined4") (identifier "local_res4") (; ";")) (declaration "undefined4 local_res8;" (type_identifier "undefined4") (identifier "local_res8") (; ";")) (declaration "undefined4 local_resc;" (type_identifier "undefined4") (identifier "local_resc") (; ";")) (declaration "int iStack_3c;" (primitive_type "int") (identifier "iStack_3c") (; ";")) (declaration "undefined4 *puStack_38;" (type_identifier "undefined4") (pointer_declarator "*puStack_38" (* "*") (identifier "puStack_38")) (; ";")) (declaration "int *piStack_34;" (primitive_type "int") (pointer_declarator "*piStack_34" (* "*") (identifier "piStack_34")) (; ";")) (declaration "undefined *puStack_30;" (type_identifier "undefined") (pointer_declarator "*puStack_30" (* "*") (identifier "puStack_30")) (; ";")) (declaration "undefined4 uStack_2c;" (type_identifier "undefined4") (identifier "uStack_2c") (; ";")) (declaration "undefined4 uStack_20;" (type_identifier "undefined4") (identifier "uStack_20") (; ";")) (declaration "undefined4 *puStack_1c;" (type_identifier "undefined4") (pointer_declarator "*puStack_1c" (* "*") (identifier "puStack_1c")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00097540" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00097540")) (; ";")) (expression_statement "puVar5 = &local_res4;" (assignment_expression "puVar5 = &local_res4" (identifier "puVar5") (= "=") (pointer_expression "&local_res4" (& "&") (identifier "local_res4"))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)PTR_stdin_00097314;" (assignment_expression "uVar3 = *(undefined4 *)PTR_stdin_00097314" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)PTR_stdin_00097314" (* "*") (cast_expression "(undefined4 *)PTR_stdin_00097314" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdin_00097314")))) (; ";")) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_00097540;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_00097540" (identifier "iVar2") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00097540" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00097540" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00097540")))) (; ";")) (expression_statement "local_res4 = param_2;" (assignment_expression "local_res4 = param_2" (identifier "local_res4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_res8 = param_3;" (assignment_expression "local_res8 = param_3" (identifier "local_res8") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (expression_statement "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);" (call_expression "(*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3)" (parenthesized_expression "(*(code *)PTR___gmp_doscan_00097594)" (( "(") (pointer_expression "*(code *)PTR___gmp_doscan_00097594" (* "*") (cast_expression "(code *)PTR___gmp_doscan_00097594" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_doscan_00097594"))) () ")")) (argument_list "(PTR___gmp_fscanf_funs_000970a0,uVar3)" (( "(") (identifier "PTR___gmp_fscanf_funs_000970a0") (, ",") (identifier "uVar3") () ")"))) (; ";")) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 == *(int *)puVar1)" (( "(") (binary_expression "iVar2 == *(int *)puVar1" (identifier "iVar2") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar8 = 0x7b608;" (assignment_expression "uVar8 = 0x7b608" (identifier "uVar8") (= "=") (number_literal "0x7b608")) (; ";")) (expression_statement "puVar7 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar7 = PTR___stack_chk_fail_000974d0" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_fail_000974d0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000974d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000974d0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puStack_38 = &uStack_20;" (assignment_expression "puStack_38 = &uStack_20" (identifier "puStack_38") (= "=") (pointer_expression "&uStack_20" (& "&") (identifier "uStack_20"))) (; ";")) (expression_statement "puStack_30 = puVar1;" (assignment_expression "puStack_30 = puVar1" (identifier "puStack_30") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "piVar4 = &iStack_3c;" (assignment_expression "piVar4 = &iStack_3c" (identifier "piVar4") (= "=") (pointer_expression "&iStack_3c" (& "&") (identifier "iStack_3c"))) (; ";")) (expression_statement "puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);" (assignment_expression "puVar6 = *(undefined4 **)(puVar7 + 0x1bf30)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)(puVar7 + 0x1bf30)" (* "*") (cast_expression "(undefined4 **)(puVar7 + 0x1bf30)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1bf30)" (( "(") (binary_expression "puVar7 + 0x1bf30" (identifier "puVar7") (+ "+") (number_literal "0x1bf30")) () ")"))))) (; ";")) (expression_statement "piStack_34 = (int *)*puVar6;" (assignment_expression "piStack_34 = (int *)*puVar6" (identifier "piStack_34") (= "=") (cast_expression "(int *)*puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (expression_statement "iStack_3c = iVar2;" (assignment_expression "iStack_3c = iVar2" (identifier "iStack_3c") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "uStack_2c = uVar8;" (assignment_expression "uStack_2c = uVar8" (identifier "uStack_2c") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uStack_20 = param_1;" (assignment_expression "uStack_20 = param_1" (identifier "uStack_20") (= "=") (identifier "param_1")) (; ";")) (expression_statement "puStack_1c = puVar5;" (assignment_expression "puStack_1c = puVar5" (identifier "puStack_1c") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);" (call_expression "(**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38)" (parenthesized_expression "(**(code **)(puVar7 + 0x1bf84))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x1bf84)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x1bf84)" (* "*") (cast_expression "(code **)(puVar7 + 0x1bf84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1bf84)" (( "(") (binary_expression "puVar7 + 0x1bf84" (identifier "puVar7") (+ "+") (number_literal "0x1bf84")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38)" (( "(") (pointer_expression "*(undefined4 *)(puVar7 + 0x1bc58)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 0x1bc58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x1bc58)" (( "(") (binary_expression "puVar7 + 0x1bc58" (identifier "puVar7") (+ "+") (number_literal "0x1bc58")) () ")")))) (, ",") (identifier "piVar4") (, ",") (identifier "uVar3") (, ",") (identifier "puStack_38") () ")"))) (; ";")) (if_statement "if (piStack_34 == (int *)*puVar6) {\n    return;\n  }" (if "if") (parenthesized_expression "(piStack_34 == (int *)*puVar6)" (( "(") (binary_expression "piStack_34 == (int *)*puVar6" (identifier "piStack_34") (== "==") (cast_expression "(int *)*puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar7 + 0x1bec0))();" (call_expression "(**(code **)(puVar7 + 0x1bec0))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1bec0))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x1bec0)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x1bec0)" (* "*") (cast_expression "(code **)(puVar7 + 0x1bec0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1bec0)" (( "(") (binary_expression "puVar7 + 0x1bec0" (identifier "puVar7") (+ "+") (number_literal "0x1bec0")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*piStack_34 = *piStack_34 + (int)piVar4;" (assignment_expression "*piStack_34 = *piStack_34 + (int)piVar4" (pointer_expression "*piStack_34" (* "*") (identifier "piStack_34")) (= "=") (binary_expression "*piStack_34 + (int)piVar4" (pointer_expression "*piStack_34" (* "*") (identifier "piStack_34")) (+ "+") (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(char *fmt,...)

{
  type_1 *puVar1;
  int var_1;
  int iVar3;
  type_2 in_a1;
  type_2 uVar4;
  int *piVar5;
  type_2 in_a2;
  type_2 in_a3;
  type_2 *puVar6;
  type_2 *puVar7;
  type_1 *var_2;
  type_2 uVar9;
  type_2 local_res4;
  type_2 local_res8;
  type_2 local_resc;
  int iStack_3c;
  char **ppcStack_38;
  int *var_3;
  type_1 *puStack_30;
  type_2 uStack_2c;
  char *pcStack_20;
  type_2 *puStack_1c;
  type_3 ap;
  
  puVar1 = PTR___stack_chk_guard_00097540;
  puVar6 = &local_res4;
  uVar4 = *(type_2 *)PTR_stdin_00097314;
  var_1 = *(int *)PTR___stack_chk_guard_00097540;
  local_res4 = in_a1;
  local_res8 = in_a2;
  local_resc = in_a3;
  iVar3 = (*(type_4 *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar4);
  if (var_1 == *(int *)puVar1) {
    return iVar3;
  }
  uVar9 = 0x7b608;
  var_2 = PTR___stack_chk_fail_000974d0;
  (*(type_4 *)PTR___stack_chk_fail_000974d0)();
  ppcStack_38 = &pcStack_20;
  puStack_30 = puVar1;
  piVar5 = &iStack_3c;
  puVar7 = *(type_2 **)(var_2 + 0x1bf30);
  var_3 = (int *)*puVar7;
  iStack_3c = var_1;
  uStack_2c = uVar9;
  pcStack_20 = fmt;
  puStack_1c = puVar6;
  var_1 = (**(type_4 **)(var_2 + 0x1bf84))
                    (*(type_2 *)(var_2 + 0x1bc58),piVar5,uVar4,ppcStack_38);
  if (var_3 == (int *)*puVar7) {
    return var_1;
  }
  (**(type_4 **)(var_2 + 0x1bec0))();
  var_1 = *var_3;
  *var_3 = var_1 + (int)piVar5;
  return var_1;
}


(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)) (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (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: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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 (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) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (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))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (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))))))) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (return_statement))))

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

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *piVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined *puVar7;
  undefined4 uVar8;
  undefined4 local_res4;
  undefined4 local_res8;
  undefined4 local_resc;
  int iStack_3c;
  undefined4 *puStack_38;
  int *piStack_34;
  undefined *puStack_30;
  undefined4 uStack_2c;
  undefined4 uStack_20;
  undefined4 *puStack_1c;
  
  puVar1 = PTR___stack_chk_guard_00097540;
  puVar5 = &local_res4;
  uVar3 = *(undefined4 *)PTR_stdin_00097314;
  iVar2 = *(int *)PTR___stack_chk_guard_00097540;
  local_res4 = param_2;
  local_res8 = param_3;
  local_resc = param_4;
  (*(code *)PTR___gmp_doscan_00097594)(PTR___gmp_fscanf_funs_000970a0,uVar3);
  if (iVar2 == *(int *)puVar1) {
    return;
  }
  uVar8 = 0x7b608;
  puVar7 = PTR___stack_chk_fail_000974d0;
  (*(code *)PTR___stack_chk_fail_000974d0)();
  puStack_38 = &uStack_20;
  puStack_30 = puVar1;
  piVar4 = &iStack_3c;
  puVar6 = *(undefined4 **)(puVar7 + 0x1bf30);
  piStack_34 = (int *)*puVar6;
  iStack_3c = iVar2;
  uStack_2c = uVar8;
  uStack_20 = param_1;
  puStack_1c = puVar5;
  (**(code **)(puVar7 + 0x1bf84))(*(undefined4 *)(puVar7 + 0x1bc58),piVar4,uVar3,puStack_38);
  if (piStack_34 == (int *)*puVar6) {
    return;
  }
  (**(code **)(puVar7 + 0x1bec0))();
  *piStack_34 = *piStack_34 + (int)piVar4;
  return;
}

