
DH * load_dh_param(char *dhfile)

{
  int iVar1;
  DH *pDVar2;
  
  iVar1 = (*(code *)PTR_BIO_new_file_000c04e4)
                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0);
  if (iVar1 == 0) {
    pDVar2 = (DH *)0x0;
  }
  else {
    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);
  }
  (*(code *)PTR_BIO_free_000bf96c)(iVar1);
  return pDVar2;
}



undefined4 FUN_0005e80c(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  int in_t9;
  
  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);
  if (iVar1 == 0) {
    uVar2 = 0;
  }
  else {
    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);
  }
  (**(code **)(&LAB_00061160 + in_t9))(iVar1);
  return uVar2;
}


lui gp,0x7
addiu gp,gp,-0x74ac
addu gp,gp,t9
lw a1,-0x7fb8(gp)
addiu sp,sp,-0x28
lw t9,-0x6e7c(gp)
addiu a1,a1,-0x37f0
sw gp,0x10(sp)
sw s0,0x1c(sp)
sw ra,0x24(sp)
jalr t9
_sw s1,0x20(sp)
lw gp,0x10(sp)
beq v0,zero,0x0005e88c
_or s0,v0,zero
lw t9,-0x7654(gp)
or a3,zero,zero
or a2,zero,zero
or a1,zero,zero
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
or s1,v0,zero
lw t9,-0x79f4(gp)
jalr t9
_or a0,s0,zero
or v0,s1,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
b 0x0005e868
_or s1,zero,zero
(translation_unit "undefined4 FUN_0005e80c(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0005e80c(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0005e80c(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" identifier = (call_expression "(**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" (parenthesized_expression "(**(code **)(in_t9 + 0x61cd8))" ( (pointer_expression "**(code **)(in_t9 + 0x61cd8)" * (pointer_expression "*(code **)(in_t9 + 0x61cd8)" * (cast_expression "(code **)(in_t9 + 0x61cd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x61cd8)" ( (binary_expression "in_t9 + 0x61cd8" identifier + number_literal) ))))) )) (argument_list "(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" ( identifier , (binary_expression "*(int *)(&LAB_00060b9c + in_t9) + -0x37f0" (pointer_expression "*(int *)(&LAB_00060b9c + in_t9)" * (cast_expression "(int *)(&LAB_00060b9c + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&LAB_00060b9c + in_t9)" ( (binary_expression "&LAB_00060b9c + in_t9" (pointer_expression "&LAB_00060b9c" & identifier) + identifier) )))) + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" else (compound_statement "{\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" { (expression_statement "uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);" (assignment_expression "uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0)" identifier = (call_expression "(**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0)" (parenthesized_expression "(**(code **)(&LAB_00061500 + in_t9))" ( (pointer_expression "**(code **)(&LAB_00061500 + in_t9)" * (pointer_expression "*(code **)(&LAB_00061500 + in_t9)" * (cast_expression "(code **)(&LAB_00061500 + in_t9)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&LAB_00061500 + in_t9)" ( (binary_expression "&LAB_00061500 + in_t9" (pointer_expression "&LAB_00061500" & identifier) + identifier) ))))) )) (argument_list "(iVar1,0,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) }))) (expression_statement "(**(code **)(&LAB_00061160 + in_t9))(iVar1);" (call_expression "(**(code **)(&LAB_00061160 + in_t9))(iVar1)" (parenthesized_expression "(**(code **)(&LAB_00061160 + in_t9))" ( (pointer_expression "**(code **)(&LAB_00061160 + in_t9)" * (pointer_expression "*(code **)(&LAB_00061160 + in_t9)" * (cast_expression "(code **)(&LAB_00061160 + in_t9)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&LAB_00061160 + in_t9)" ( (binary_expression "&LAB_00061160 + in_t9" (pointer_expression "&LAB_00061160" & identifier) + identifier) ))))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "DH * load_dh_param(char *dhfile)\n\n{\n  int iVar1;\n  DH *pDVar2;\n  \n  iVar1 = (*(code *)PTR_BIO_new_file_000c04e4)\n                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0);\n  if (iVar1 == 0) {\n    pDVar2 = (DH *)0x0;\n  }\n  else {\n    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);\n  }\n  (*(code *)PTR_BIO_free_000bf96c)(iVar1);\n  return pDVar2;\n}\n\n" (function_definition "DH * load_dh_param(char *dhfile)\n\n{\n  int iVar1;\n  DH *pDVar2;\n  \n  iVar1 = (*(code *)PTR_BIO_new_file_000c04e4)\n                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0);\n  if (iVar1 == 0) {\n    pDVar2 = (DH *)0x0;\n  }\n  else {\n    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);\n  }\n  (*(code *)PTR_BIO_free_000bf96c)(iVar1);\n  return pDVar2;\n}" type_identifier (pointer_declarator "* load_dh_param(char *dhfile)" * (function_declarator "load_dh_param(char *dhfile)" identifier (parameter_list "(char *dhfile)" ( (parameter_declaration "char *dhfile" primitive_type (pointer_declarator "*dhfile" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  DH *pDVar2;\n  \n  iVar1 = (*(code *)PTR_BIO_new_file_000c04e4)\n                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0);\n  if (iVar1 == 0) {\n    pDVar2 = (DH *)0x0;\n  }\n  else {\n    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);\n  }\n  (*(code *)PTR_BIO_free_000bf96c)(iVar1);\n  return pDVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "DH *pDVar2;" type_identifier (pointer_declarator "*pDVar2" * identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_BIO_new_file_000c04e4)\n                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0);" (assignment_expression "iVar1 = (*(code *)PTR_BIO_new_file_000c04e4)\n                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0)" identifier = (call_expression "(*(code *)PTR_BIO_new_file_000c04e4)\n                    (dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0)" (parenthesized_expression "(*(code *)PTR_BIO_new_file_000c04e4)" ( (pointer_expression "*(code *)PTR_BIO_new_file_000c04e4" * (cast_expression "(code *)PTR_BIO_new_file_000c04e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dhfile,PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0)" ( identifier , (binary_expression "PTR_s_of_ec_order__d___tmp_2______NULL_000bf3a8 + -0x37f0" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    pDVar2 = (DH *)0x0;\n  }\n  else {\n    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    pDVar2 = (DH *)0x0;\n  }" { (expression_statement "pDVar2 = (DH *)0x0;" (assignment_expression "pDVar2 = (DH *)0x0" identifier = (cast_expression "(DH *)0x0" ( (type_descriptor "DH *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);\n  }" else (compound_statement "{\n    pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);\n  }" { (expression_statement "pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0);" (assignment_expression "pDVar2 = (DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0)" identifier = (cast_expression "(DH *)(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0)" ( (type_descriptor "DH *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)(iVar1,0,0,0)" (parenthesized_expression "(*(code *)PTR_PEM_read_bio_DHparams_000bfd0c)" ( (pointer_expression "*(code *)PTR_PEM_read_bio_DHparams_000bfd0c" * (cast_expression "(code *)PTR_PEM_read_bio_DHparams_000bfd0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))))) ;) }))) (expression_statement "(*(code *)PTR_BIO_free_000bf96c)(iVar1);" (call_expression "(*(code *)PTR_BIO_free_000bf96c)(iVar1)" (parenthesized_expression "(*(code *)PTR_BIO_free_000bf96c)" ( (pointer_expression "*(code *)PTR_BIO_free_000bf96c" * (cast_expression "(code *)PTR_BIO_free_000bf96c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return pDVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_0005e80c(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0005e80c(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0005e80c(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" identifier = (call_expression "(**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" (parenthesized_expression "(**(code **)(in_t9 + 0x61cd8))" ( (pointer_expression "**(code **)(in_t9 + 0x61cd8)" * (pointer_expression "*(code **)(in_t9 + 0x61cd8)" * (cast_expression "(code **)(in_t9 + 0x61cd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x61cd8)" ( (binary_expression "in_t9 + 0x61cd8" identifier + number_literal) ))))) )) (argument_list "(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" ( identifier , (binary_expression "*(int *)(&LAB_00060b9c + in_t9) + -0x37f0" (pointer_expression "*(int *)(&LAB_00060b9c + in_t9)" * (cast_expression "(int *)(&LAB_00060b9c + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&LAB_00060b9c + in_t9)" ( (binary_expression "&LAB_00060b9c + in_t9" (pointer_expression "&LAB_00060b9c" & identifier) + identifier) )))) + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" else (compound_statement "{\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" { (expression_statement "uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);" (assignment_expression "uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0)" identifier = (call_expression "(**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0)" (parenthesized_expression "(**(code **)(&LAB_00061500 + in_t9))" ( (pointer_expression "**(code **)(&LAB_00061500 + in_t9)" * (pointer_expression "*(code **)(&LAB_00061500 + in_t9)" * (cast_expression "(code **)(&LAB_00061500 + in_t9)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&LAB_00061500 + in_t9)" ( (binary_expression "&LAB_00061500 + in_t9" (pointer_expression "&LAB_00061500" & identifier) + identifier) ))))) )) (argument_list "(iVar1,0,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) }))) (expression_statement "(**(code **)(&LAB_00061160 + in_t9))(iVar1);" (call_expression "(**(code **)(&LAB_00061160 + in_t9))(iVar1)" (parenthesized_expression "(**(code **)(&LAB_00061160 + in_t9))" ( (pointer_expression "**(code **)(&LAB_00061160 + in_t9)" * (pointer_expression "*(code **)(&LAB_00061160 + in_t9)" * (cast_expression "(code **)(&LAB_00061160 + in_t9)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&LAB_00061160 + in_t9)" ( (binary_expression "&LAB_00061160 + in_t9" (pointer_expression "&LAB_00061160" & identifier) + identifier) ))))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (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 ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) )) (argument_list ( IDENT , LIT , LIT , LIT )))) ;) }))) (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 (pointer_expression & IDENT) + IDENT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0005e80c(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0005e80c(undefined4 param_1)" (identifier "FUN_0005e80c") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_t9;\n  \n  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);\n  if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }\n  (**(code **)(&LAB_00061160 + in_t9))(iVar1);\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" (parenthesized_expression "(**(code **)(in_t9 + 0x61cd8))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x61cd8)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x61cd8)" (* "*") (cast_expression "(code **)(in_t9 + 0x61cd8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x61cd8)" (( "(") (binary_expression "in_t9 + 0x61cd8" (identifier "in_t9") (+ "+") (number_literal "0x61cd8")) () ")"))))) () ")")) (argument_list "(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0)" (( "(") (identifier "param_1") (, ",") (binary_expression "*(int *)(&LAB_00060b9c + in_t9) + -0x37f0" (pointer_expression "*(int *)(&LAB_00060b9c + in_t9)" (* "*") (cast_expression "(int *)(&LAB_00060b9c + in_t9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&LAB_00060b9c + in_t9)" (( "(") (binary_expression "&LAB_00060b9c + in_t9" (pointer_expression "&LAB_00060b9c" (& "&") (identifier "LAB_00060b9c")) (+ "+") (identifier "in_t9")) () ")")))) (+ "+") (number_literal "-0x37f0")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" (else "else") (compound_statement "{\n    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);\n  }" ({ "{") (expression_statement "uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);" (assignment_expression "uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0)" (parenthesized_expression "(**(code **)(&LAB_00061500 + in_t9))" (( "(") (pointer_expression "**(code **)(&LAB_00061500 + in_t9)" (* "*") (pointer_expression "*(code **)(&LAB_00061500 + in_t9)" (* "*") (cast_expression "(code **)(&LAB_00061500 + in_t9)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&LAB_00061500 + in_t9)" (( "(") (binary_expression "&LAB_00061500 + in_t9" (pointer_expression "&LAB_00061500" (& "&") (identifier "LAB_00061500")) (+ "+") (identifier "in_t9")) () ")"))))) () ")")) (argument_list "(iVar1,0,0,0)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (expression_statement "(**(code **)(&LAB_00061160 + in_t9))(iVar1);" (call_expression "(**(code **)(&LAB_00061160 + in_t9))(iVar1)" (parenthesized_expression "(**(code **)(&LAB_00061160 + in_t9))" (( "(") (pointer_expression "**(code **)(&LAB_00061160 + in_t9)" (* "*") (pointer_expression "*(code **)(&LAB_00061160 + in_t9)" (* "*") (cast_expression "(code **)(&LAB_00061160 + in_t9)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&LAB_00061160 + in_t9)" (( "(") (binary_expression "&LAB_00061160 + in_t9" (pointer_expression "&LAB_00061160" (& "&") (identifier "LAB_00061160")) (+ "+") (identifier "in_t9")) () ")"))))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

type_1 * function_1(char *dhfile)

{
  int var_2;
  type_1 *pDVar2;
  
  var_2 = (*(type_2 *)PTR_BIO_new_file_000c04e4)
                    (dhfile,var_1 + -0x37f0);
  if (var_2 == 0) {
    pDVar2 = (type_1 *)0x0;
  }
  else {
    pDVar2 = (type_1 *)(*(type_2 *)PTR_PEM_read_bio_DHparams_000bfd0c)(var_2,0,0,0);
  }
  (*(type_2 *)PTR_BIO_free_000bf96c)(var_2);
  return pDVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (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: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (identifier))))))) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal)))))))) (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: (pointer_expression argument: (identifier)) right: (identifier))))))) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  int in_t9;
  
  iVar1 = (**(code **)(in_t9 + 0x61cd8))(param_1,*(int *)(&LAB_00060b9c + in_t9) + -0x37f0);
  if (iVar1 == 0) {
    uVar2 = 0;
  }
  else {
    uVar2 = (**(code **)(&LAB_00061500 + in_t9))(iVar1,0,0,0);
  }
  (**(code **)(&LAB_00061160 + in_t9))(iVar1);
  return uVar2;
}

