
VALUE * eval(_Bool evaluate)

{
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  undefined3 extraout_var_01;
  undefined3 extraout_var_02;
  VALUE *v;
  _Bool _Var2;
  VALUE *v_00;
  undefined3 in_register_00000010;
  char *str;
  int iVar1;
  
  v = eval1(evaluate);
  str = PTR_DAT_0003e0f8 + -0x45f4;
LAB_00014454:
  do {
    _Var2 = nextarg(str);
    iVar1 = CONCAT31(extraout_var,_Var2);
    while( true ) {
      if (iVar1 == 0) {
        return v;
      }
      _Var2 = false;
      if (CONCAT31(in_register_00000010,evaluate) != 0) {
        _Var2 = null(v);
      }
      v_00 = eval1(_Var2);
      _Var2 = null(v);
      if (CONCAT31(extraout_var_00,_Var2) == 0) break;
      freev(v);
      _Var2 = null(v_00);
      v = v_00;
      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;
      freev(v_00);
      v = (VALUE *)xmalloc(0x10);
      v->type = integer;
      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);
      _Var2 = nextarg(str);
      iVar1 = CONCAT31(extraout_var_02,_Var2);
    }
    freev(v_00);
  } while( true );
}



undefined4 * FUN_000143dc(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  
  puVar1 = (undefined4 *)FUN_00014260();
  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;
LAB_00014454:
  do {
    iVar2 = FUN_00011f40(puVar5);
    while( true ) {
      if (iVar2 == 0) {
        return puVar1;
      }
      uVar3 = 0;
      if (param_1 != 0) {
        uVar3 = FUN_00012114(puVar1);
      }
      puVar4 = (undefined4 *)FUN_00014260(uVar3);
      iVar2 = FUN_00012114(puVar1);
      if (iVar2 == 0) break;
      FUN_00012024(puVar1);
      iVar2 = FUN_00012114(puVar4);
      puVar1 = puVar4;
      if (iVar2 == 0) goto LAB_00014454;
      FUN_00012024(puVar4);
      puVar1 = (undefined4 *)xmalloc(0x10);
      *puVar1 = 0;
      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);
      iVar2 = FUN_00011f40(puVar5);
    }
    FUN_00012024(puVar4);
  } while( true );
}


lui gp,0x3
addiu gp,gp,0x1ce4
addu gp,gp,t9
addiu sp,sp,-0x40
sw s6,0x34(sp)
lw s6,-0x7fcc(gp)
sw gp,0x10(sp)
sw s7,0x38(sp)
or s7,a0,zero
addiu s6,s6,0x4260
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
or t9,s6,zero
sw s2,0x24(sp)
sw s0,0x1c(sp)
sw ra,0x3c(sp)
bal 0x00014260
_sw s1,0x20(sp)
lw gp,0x10(sp)
or s0,v0,zero
lw s5,-0x7fc8(gp)
lw s4,-0x7fcc(gp)
lw s2,-0x7fcc(gp)
lw s3,-0x7fcc(gp)
addiu s5,s5,-0x45f4
addiu s4,s4,0x1f40
addiu s2,s2,0x2114
addiu s3,s3,0x2024
or t9,s4,zero
bal 0x00011f40
_or a0,s5,zero
or a0,s0,zero
beq v0,zero,0x00014514
_or v1,zero,zero
beq s7,zero,0x00014484
_or t9,s6,zero
or t9,s2,zero
bal 0x00012114
_nop
or v1,v0,zero
or t9,s6,zero
bal 0x00014260
_or a0,v1,zero
or a0,s0,zero
or t9,s2,zero
bal 0x00012114
_or s1,v0,zero
beq v0,zero,0x00014544
_or a0,s0,zero
or t9,s3,zero
bal 0x00012024
_or s0,s1,zero
or t9,s2,zero
bal 0x00012114
_or a0,s1,zero
beq v0,zero,0x00014454
_or t9,s4,zero
or t9,s3,zero
bal 0x00012024
_or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7fc4(gp)
bal 0x00017e30
_li a0,0x10
or a1,zero,zero
lw gp,0x10(sp)
addiu a0,v0,0x4
sw zero,0x0(v0)
lw t9,-0x7e7c(gp)
jalr t9
_or s0,v0,zero
or t9,s4,zero
bal 0x00011f40
_or a0,s5,zero
or a0,s0,zero
bne v0,zero,0x00014468
_or v1,zero,zero
lw ra,0x3c(sp)
or v0,s0,zero
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
or t9,s3,zero
bal 0x00012024
_or a0,s1,zero
b 0x00014454
_or t9,s4,zero
(translation_unit "undefined4 * FUN_000143dc(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}\n\n" (function_definition "undefined4 * FUN_000143dc(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}" type_identifier (pointer_declarator "* FUN_000143dc(int param_1)" * (function_declarator "FUN_000143dc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00014260();" (assignment_expression "puVar1 = (undefined4 *)FUN_00014260()" identifier = (cast_expression "(undefined4 *)FUN_00014260()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00014260()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar5 = PTR_DAT_0003e0f8 + -0x45f4;" (assignment_expression "puVar5 = PTR_DAT_0003e0f8 + -0x45f4" identifier = (binary_expression "PTR_DAT_0003e0f8 + -0x45f4" identifier + number_literal)) ;) (labeled_statement "LAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );" statement_identifier : (do_statement "do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );" do (compound_statement "{\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  }" { (expression_statement "iVar2 = FUN_00011f40(puVar5);" (assignment_expression "iVar2 = FUN_00011f40(puVar5)" identifier = (call_expression "FUN_00011f40(puVar5)" identifier (argument_list "(puVar5)" ( identifier )))) ;) (while_statement "while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }" { (if_statement "if (iVar2 == 0) {\n        return puVar1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar1;\n      }" { (return_statement "return puVar1;" return identifier ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = FUN_00012114(puVar1);\n      }" { (expression_statement "uVar3 = FUN_00012114(puVar1);" (assignment_expression "uVar3 = FUN_00012114(puVar1)" identifier = (call_expression "FUN_00012114(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) })) (expression_statement "puVar4 = (undefined4 *)FUN_00014260(uVar3);" (assignment_expression "puVar4 = (undefined4 *)FUN_00014260(uVar3)" identifier = (cast_expression "(undefined4 *)FUN_00014260(uVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00014260(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))))) ;) (expression_statement "iVar2 = FUN_00012114(puVar1);" (assignment_expression "iVar2 = FUN_00012114(puVar1)" identifier = (call_expression "FUN_00012114(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00012024(puVar1);" (call_expression "FUN_00012024(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_00012114(puVar4);" (assignment_expression "iVar2 = FUN_00012114(puVar4)" identifier = (call_expression "FUN_00012114(puVar4)" identifier (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar1 = puVar4;" (assignment_expression "puVar1 = puVar4" identifier = identifier) ;) (if_statement "if (iVar2 == 0) goto LAB_00014454;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00014454;" goto statement_identifier ;)) (expression_statement "FUN_00012024(puVar4);" (call_expression "FUN_00012024(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x10)" identifier = (cast_expression "(undefined4 *)xmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "(*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);" (call_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0)" (parenthesized_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)" ( (pointer_expression "*(code *)PTR___gmpz_init_set_ui_0003e244" * (cast_expression "(code *)PTR___gmpz_init_set_ui_0003e244" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + 1,0)" ( (binary_expression "puVar1 + 1" identifier + number_literal) , number_literal ))) ;) (expression_statement "iVar2 = FUN_00011f40(puVar5);" (assignment_expression "iVar2 = FUN_00011f40(puVar5)" identifier = (call_expression "FUN_00011f40(puVar5)" identifier (argument_list "(puVar5)" ( identifier )))) ;) })) (expression_statement "FUN_00012024(puVar4);" (call_expression "FUN_00012024(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "VALUE * eval(_Bool evaluate)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  undefined3 extraout_var_02;\n  VALUE *v;\n  _Bool _Var2;\n  VALUE *v_00;\n  undefined3 in_register_00000010;\n  char *str;\n  int iVar1;\n  \n  v = eval1(evaluate);\n  str = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    _Var2 = nextarg(str);\n    iVar1 = CONCAT31(extraout_var,_Var2);\n    while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }\n    freev(v_00);\n  } while( true );\n}\n\n" (function_definition "VALUE * eval(_Bool evaluate)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  undefined3 extraout_var_02;\n  VALUE *v;\n  _Bool _Var2;\n  VALUE *v_00;\n  undefined3 in_register_00000010;\n  char *str;\n  int iVar1;\n  \n  v = eval1(evaluate);\n  str = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    _Var2 = nextarg(str);\n    iVar1 = CONCAT31(extraout_var,_Var2);\n    while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }\n    freev(v_00);\n  } while( true );\n}" type_identifier (pointer_declarator "* eval(_Bool evaluate)" * (function_declarator "eval(_Bool evaluate)" identifier (parameter_list "(_Bool evaluate)" ( (parameter_declaration "_Bool evaluate" type_identifier identifier) )))) (compound_statement "{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  undefined3 extraout_var_02;\n  VALUE *v;\n  _Bool _Var2;\n  VALUE *v_00;\n  undefined3 in_register_00000010;\n  char *str;\n  int iVar1;\n  \n  v = eval1(evaluate);\n  str = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    _Var2 = nextarg(str);\n    iVar1 = CONCAT31(extraout_var,_Var2);\n    while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }\n    freev(v_00);\n  } while( true );\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "undefined3 extraout_var_01;" type_identifier identifier ;) (declaration "undefined3 extraout_var_02;" type_identifier identifier ;) (declaration "VALUE *v;" type_identifier (pointer_declarator "*v" * identifier) ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "VALUE *v_00;" type_identifier (pointer_declarator "*v_00" * identifier) ;) (declaration "undefined3 in_register_00000010;" type_identifier identifier ;) (declaration "char *str;" primitive_type (pointer_declarator "*str" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "v = eval1(evaluate);" (assignment_expression "v = eval1(evaluate)" identifier = (call_expression "eval1(evaluate)" identifier (argument_list "(evaluate)" ( identifier )))) ;) (expression_statement "str = PTR_DAT_0003e0f8 + -0x45f4;" (assignment_expression "str = PTR_DAT_0003e0f8 + -0x45f4" identifier = (binary_expression "PTR_DAT_0003e0f8 + -0x45f4" identifier + number_literal)) ;) (labeled_statement "LAB_00014454:\n  do {\n    _Var2 = nextarg(str);\n    iVar1 = CONCAT31(extraout_var,_Var2);\n    while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }\n    freev(v_00);\n  } while( true );" statement_identifier : (do_statement "do {\n    _Var2 = nextarg(str);\n    iVar1 = CONCAT31(extraout_var,_Var2);\n    while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }\n    freev(v_00);\n  } while( true );" do (compound_statement "{\n    _Var2 = nextarg(str);\n    iVar1 = CONCAT31(extraout_var,_Var2);\n    while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }\n    freev(v_00);\n  }" { (expression_statement "_Var2 = nextarg(str);" (assignment_expression "_Var2 = nextarg(str)" identifier = (call_expression "nextarg(str)" identifier (argument_list "(str)" ( identifier )))) ;) (expression_statement "iVar1 = CONCAT31(extraout_var,_Var2);" (assignment_expression "iVar1 = CONCAT31(extraout_var,_Var2)" identifier = (call_expression "CONCAT31(extraout_var,_Var2)" identifier (argument_list "(extraout_var,_Var2)" ( identifier , identifier )))) ;) (while_statement "while( true ) {\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (iVar1 == 0) {\n        return v;\n      }\n      _Var2 = false;\n      if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }\n      v_00 = eval1(_Var2);\n      _Var2 = null(v);\n      if (CONCAT31(extraout_var_00,_Var2) == 0) break;\n      freev(v);\n      _Var2 = null(v_00);\n      v = v_00;\n      if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;\n      freev(v_00);\n      v = (VALUE *)xmalloc(0x10);\n      v->type = integer;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);\n      _Var2 = nextarg(str);\n      iVar1 = CONCAT31(extraout_var_02,_Var2);\n    }" { (if_statement "if (iVar1 == 0) {\n        return v;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return v;\n      }" { (return_statement "return v;" return identifier ;) })) (expression_statement "_Var2 = false;" (assignment_expression "_Var2 = false" identifier = false) ;) (if_statement "if (CONCAT31(in_register_00000010,evaluate) != 0) {\n        _Var2 = null(v);\n      }" if (parenthesized_expression "(CONCAT31(in_register_00000010,evaluate) != 0)" ( (binary_expression "CONCAT31(in_register_00000010,evaluate) != 0" (call_expression "CONCAT31(in_register_00000010,evaluate)" identifier (argument_list "(in_register_00000010,evaluate)" ( identifier , identifier ))) != number_literal) )) (compound_statement "{\n        _Var2 = null(v);\n      }" { (expression_statement "_Var2 = null(v);" (assignment_expression "_Var2 = null(v)" identifier = (call_expression "null(v)" identifier (argument_list "(v)" ( identifier )))) ;) })) (expression_statement "v_00 = eval1(_Var2);" (assignment_expression "v_00 = eval1(_Var2)" identifier = (call_expression "eval1(_Var2)" identifier (argument_list "(_Var2)" ( identifier )))) ;) (expression_statement "_Var2 = null(v);" (assignment_expression "_Var2 = null(v)" identifier = (call_expression "null(v)" identifier (argument_list "(v)" ( identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_00,_Var2) == 0) break;" if (parenthesized_expression "(CONCAT31(extraout_var_00,_Var2) == 0)" ( (binary_expression "CONCAT31(extraout_var_00,_Var2) == 0" (call_expression "CONCAT31(extraout_var_00,_Var2)" identifier (argument_list "(extraout_var_00,_Var2)" ( identifier , identifier ))) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "freev(v);" (call_expression "freev(v)" identifier (argument_list "(v)" ( identifier ))) ;) (expression_statement "_Var2 = null(v_00);" (assignment_expression "_Var2 = null(v_00)" identifier = (call_expression "null(v_00)" identifier (argument_list "(v_00)" ( identifier )))) ;) (expression_statement "v = v_00;" (assignment_expression "v = v_00" identifier = identifier) ;) (if_statement "if (CONCAT31(extraout_var_01,_Var2) == 0) goto LAB_00014454;" if (parenthesized_expression "(CONCAT31(extraout_var_01,_Var2) == 0)" ( (binary_expression "CONCAT31(extraout_var_01,_Var2) == 0" (call_expression "CONCAT31(extraout_var_01,_Var2)" identifier (argument_list "(extraout_var_01,_Var2)" ( identifier , identifier ))) == number_literal) )) (goto_statement "goto LAB_00014454;" goto statement_identifier ;)) (expression_statement "freev(v_00);" (call_expression "freev(v_00)" identifier (argument_list "(v_00)" ( identifier ))) ;) (expression_statement "v = (VALUE *)xmalloc(0x10);" (assignment_expression "v = (VALUE *)xmalloc(0x10)" identifier = (cast_expression "(VALUE *)xmalloc(0x10)" ( (type_descriptor "VALUE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "v->type = integer;" (assignment_expression "v->type = integer" (field_expression "v->type" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);" (call_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0)" (parenthesized_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)" ( (pointer_expression "*(code *)PTR___gmpz_init_set_ui_0003e244" * (cast_expression "(code *)PTR___gmpz_init_set_ui_0003e244" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&v->u,0)" ( (pointer_expression "&v->u" & (field_expression "v->u" identifier -> field_identifier)) , number_literal ))) ;) (expression_statement "_Var2 = nextarg(str);" (assignment_expression "_Var2 = nextarg(str)" identifier = (call_expression "nextarg(str)" identifier (argument_list "(str)" ( identifier )))) ;) (expression_statement "iVar1 = CONCAT31(extraout_var_02,_Var2);" (assignment_expression "iVar1 = CONCAT31(extraout_var_02,_Var2)" identifier = (call_expression "CONCAT31(extraout_var_02,_Var2)" identifier (argument_list "(extraout_var_02,_Var2)" ( identifier , identifier )))) ;) })) (expression_statement "freev(v_00);" (call_expression "freev(v_00)" identifier (argument_list "(v_00)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "undefined4 * FUN_000143dc(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}\n\n" (function_definition "undefined4 * FUN_000143dc(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}" type_identifier (pointer_declarator "* FUN_000143dc(int param_1)" * (function_declarator "FUN_000143dc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00014260();" (assignment_expression "puVar1 = (undefined4 *)FUN_00014260()" identifier = (cast_expression "(undefined4 *)FUN_00014260()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00014260()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar5 = PTR_DAT_0003e0f8 + -0x45f4;" (assignment_expression "puVar5 = PTR_DAT_0003e0f8 + -0x45f4" identifier = (binary_expression "PTR_DAT_0003e0f8 + -0x45f4" identifier + number_literal)) ;) (labeled_statement "LAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );" statement_identifier : (do_statement "do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );" do (compound_statement "{\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  }" { (expression_statement "iVar2 = FUN_00011f40(puVar5);" (assignment_expression "iVar2 = FUN_00011f40(puVar5)" identifier = (call_expression "FUN_00011f40(puVar5)" identifier (argument_list "(puVar5)" ( identifier )))) ;) (while_statement "while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }" { (if_statement "if (iVar2 == 0) {\n        return puVar1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return puVar1;\n      }" { (return_statement "return puVar1;" return identifier ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = FUN_00012114(puVar1);\n      }" { (expression_statement "uVar3 = FUN_00012114(puVar1);" (assignment_expression "uVar3 = FUN_00012114(puVar1)" identifier = (call_expression "FUN_00012114(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) })) (expression_statement "puVar4 = (undefined4 *)FUN_00014260(uVar3);" (assignment_expression "puVar4 = (undefined4 *)FUN_00014260(uVar3)" identifier = (cast_expression "(undefined4 *)FUN_00014260(uVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00014260(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))))) ;) (expression_statement "iVar2 = FUN_00012114(puVar1);" (assignment_expression "iVar2 = FUN_00012114(puVar1)" identifier = (call_expression "FUN_00012114(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00012024(puVar1);" (call_expression "FUN_00012024(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_00012114(puVar4);" (assignment_expression "iVar2 = FUN_00012114(puVar4)" identifier = (call_expression "FUN_00012114(puVar4)" identifier (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar1 = puVar4;" (assignment_expression "puVar1 = puVar4" identifier = identifier) ;) (if_statement "if (iVar2 == 0) goto LAB_00014454;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00014454;" goto statement_identifier ;)) (expression_statement "FUN_00012024(puVar4);" (call_expression "FUN_00012024(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x10)" identifier = (cast_expression "(undefined4 *)xmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "(*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);" (call_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0)" (parenthesized_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)" ( (pointer_expression "*(code *)PTR___gmpz_init_set_ui_0003e244" * (cast_expression "(code *)PTR___gmpz_init_set_ui_0003e244" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + 1,0)" ( (binary_expression "puVar1 + 1" identifier + number_literal) , number_literal ))) ;) (expression_statement "iVar2 = FUN_00011f40(puVar5);" (assignment_expression "iVar2 = FUN_00011f40(puVar5)" identifier = (call_expression "FUN_00011f40(puVar5)" identifier (argument_list "(puVar5)" ( identifier )))) ;) })) (expression_statement "FUN_00012024(puVar4);" (call_expression "FUN_00012024(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (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) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "undefined4 * FUN_000143dc(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_000143dc(int param_1)" (* "*") (function_declarator "FUN_000143dc(int param_1)" (identifier "FUN_000143dc") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  \n  puVar1 = (undefined4 *)FUN_00014260();\n  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;\nLAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_00014260();" (assignment_expression "puVar1 = (undefined4 *)FUN_00014260()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00014260()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00014260()" (identifier "FUN_00014260") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar5 = PTR_DAT_0003e0f8 + -0x45f4;" (assignment_expression "puVar5 = PTR_DAT_0003e0f8 + -0x45f4" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0003e0f8 + -0x45f4" (identifier "PTR_DAT_0003e0f8") (+ "+") (number_literal "-0x45f4"))) (; ";")) (labeled_statement "LAB_00014454:\n  do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );" (statement_identifier "LAB_00014454") (: ":") (do_statement "do {\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  } while( true );" (do "do") (compound_statement "{\n    iVar2 = FUN_00011f40(puVar5);\n    while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }\n    FUN_00012024(puVar4);\n  }" ({ "{") (expression_statement "iVar2 = FUN_00011f40(puVar5);" (assignment_expression "iVar2 = FUN_00011f40(puVar5)" (identifier "iVar2") (= "=") (call_expression "FUN_00011f40(puVar5)" (identifier "FUN_00011f40") (argument_list "(puVar5)" (( "(") (identifier "puVar5") () ")")))) (; ";")) (while_statement "while( true ) {\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (iVar2 == 0) {\n        return puVar1;\n      }\n      uVar3 = 0;\n      if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }\n      puVar4 = (undefined4 *)FUN_00014260(uVar3);\n      iVar2 = FUN_00012114(puVar1);\n      if (iVar2 == 0) break;\n      FUN_00012024(puVar1);\n      iVar2 = FUN_00012114(puVar4);\n      puVar1 = puVar4;\n      if (iVar2 == 0) goto LAB_00014454;\n      FUN_00012024(puVar4);\n      puVar1 = (undefined4 *)xmalloc(0x10);\n      *puVar1 = 0;\n      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);\n      iVar2 = FUN_00011f40(puVar5);\n    }" ({ "{") (if_statement "if (iVar2 == 0) {\n        return puVar1;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return puVar1;\n      }" ({ "{") (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 != 0) {\n        uVar3 = FUN_00012114(puVar1);\n      }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = FUN_00012114(puVar1);\n      }" ({ "{") (expression_statement "uVar3 = FUN_00012114(puVar1);" (assignment_expression "uVar3 = FUN_00012114(puVar1)" (identifier "uVar3") (= "=") (call_expression "FUN_00012114(puVar1)" (identifier "FUN_00012114") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)FUN_00014260(uVar3);" (assignment_expression "puVar4 = (undefined4 *)FUN_00014260(uVar3)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_00014260(uVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00014260(uVar3)" (identifier "FUN_00014260") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))))) (; ";")) (expression_statement "iVar2 = FUN_00012114(puVar1);" (assignment_expression "iVar2 = FUN_00012114(puVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_00012114(puVar1)" (identifier "FUN_00012114") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_00012024(puVar1);" (call_expression "FUN_00012024(puVar1)" (identifier "FUN_00012024") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "iVar2 = FUN_00012114(puVar4);" (assignment_expression "iVar2 = FUN_00012114(puVar4)" (identifier "iVar2") (= "=") (call_expression "FUN_00012114(puVar4)" (identifier "FUN_00012114") (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar1 = puVar4;" (assignment_expression "puVar1 = puVar4" (identifier "puVar1") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00014454;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00014454;" (goto "goto") (statement_identifier "LAB_00014454") (; ";"))) (expression_statement "FUN_00012024(puVar4);" (call_expression "FUN_00012024(puVar4)" (identifier "FUN_00012024") (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x10)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)xmalloc(0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x10)" (identifier "xmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);" (call_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0)" (parenthesized_expression "(*(code *)PTR___gmpz_init_set_ui_0003e244)" (( "(") (pointer_expression "*(code *)PTR___gmpz_init_set_ui_0003e244" (* "*") (cast_expression "(code *)PTR___gmpz_init_set_ui_0003e244" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_init_set_ui_0003e244"))) () ")")) (argument_list "(puVar1 + 1,0)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar2 = FUN_00011f40(puVar5);" (assignment_expression "iVar2 = FUN_00011f40(puVar5)" (identifier "iVar2") (= "=") (call_expression "FUN_00011f40(puVar5)" (identifier "FUN_00011f40") (argument_list "(puVar5)" (( "(") (identifier "puVar5") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00012024(puVar4);" (call_expression "FUN_00012024(puVar4)" (identifier "FUN_00012024") (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

type_1 * function_1(type_2 evaluate)

{
  type_3 extraout_var;
  type_3 extraout_var_00;
  type_3 extraout_var_01;
  type_3 extraout_var_02;
  type_1 *v;
  type_2 _Var2;
  type_1 *v_00;
  type_3 in_register_00000010;
  char *str;
  int var_5;
  
  v = var_1(evaluate);
  str = var_2 + -0x45f4;
LAB_00014454:
  do {
    _Var2 = var_3(str);
    var_5 = var_4(extraout_var,_Var2);
    while( true ) {
      if (var_5 == 0) {
        return v;
      }
      _Var2 = false;
      if (var_4(in_register_00000010,evaluate) != 0) {
        _Var2 = var_6(v);
      }
      v_00 = var_1(_Var2);
      _Var2 = var_6(v);
      if (var_4(extraout_var_00,_Var2) == 0) break;
      var_7(v);
      _Var2 = var_6(v_00);
      v = v_00;
      if (var_4(extraout_var_01,_Var2) == 0) goto LAB_00014454;
      var_7(v_00);
      v = (type_1 *)var_8(0x10);
      v->type = integer;
      (*(type_4 *)PTR___gmpz_init_set_ui_0003e244)(&v->u,0);
      _Var2 = var_3(str);
      var_5 = var_4(extraout_var_02,_Var2);
    }
    var_7(v_00);
  } while( true );
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (true)))))))

undefined4 * MASKED(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  
  puVar1 = (undefined4 *)FUN_00014260();
  puVar5 = PTR_DAT_0003e0f8 + -0x45f4;
LAB_00014454:
  do {
    iVar2 = FUN_00011f40(puVar5);
    while( true ) {
      if (iVar2 == 0) {
        return puVar1;
      }
      uVar3 = 0;
      if (param_1 != 0) {
        uVar3 = FUN_00012114(puVar1);
      }
      puVar4 = (undefined4 *)FUN_00014260(uVar3);
      iVar2 = FUN_00012114(puVar1);
      if (iVar2 == 0) break;
      FUN_00012024(puVar1);
      iVar2 = FUN_00012114(puVar4);
      puVar1 = puVar4;
      if (iVar2 == 0) goto LAB_00014454;
      FUN_00012024(puVar4);
      puVar1 = (undefined4 *)xmalloc(0x10);
      *puVar1 = 0;
      (*(code *)PTR___gmpz_init_set_ui_0003e244)(puVar1 + 1,0);
      iVar2 = FUN_00011f40(puVar5);
    }
    FUN_00012024(puVar4);
  } while( true );
}

