
Bignum_conflict bignum_from_long(ulong n)

{
  Bignum_conflict pBVar1;
  
  pBVar1 = newbn(1);
  *pBVar1 = 0;
  pBVar1[1] = n;
  if (n != 0) {
    *pBVar1 = 1;
  }
  return pBVar1;
}



void bignum_from_long(int param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_00056a74(1);
  *puVar1 = 0;
  puVar1[1] = param_1;
  if (param_1 != 0) {
    *puVar1 = 1;
  }
  return;
}


lui gp,0x6
addiu gp,gp,0x13f0
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7a78(gp)
addiu t9,t9,0x6a74
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x00056a74
_li a0,0x1
sw zero,0x0(v0)
beq s0,zero,0x00058fc4
_sw s0,0x4(v0)
li v1,0x1
sw v1,0x0(v0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void bignum_from_long(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}\n\n" (function_definition "void bignum_from_long(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}" primitive_type (function_declarator "bignum_from_long(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00056a74(1);" (assignment_expression "puVar1 = (undefined4 *)FUN_00056a74(1)" identifier = (cast_expression "(undefined4 *)FUN_00056a74(1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00056a74(1)" identifier (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_1 != 0) {\n    *puVar1 = 1;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *puVar1 = 1;\n  }" { (expression_statement "*puVar1 = 1;" (assignment_expression "*puVar1 = 1" (pointer_expression "*puVar1" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "Bignum_conflict bignum_from_long(ulong n)\n\n{\n  Bignum_conflict pBVar1;\n  \n  pBVar1 = newbn(1);\n  *pBVar1 = 0;\n  pBVar1[1] = n;\n  if (n != 0) {\n    *pBVar1 = 1;\n  }\n  return pBVar1;\n}\n\n" (function_definition "Bignum_conflict bignum_from_long(ulong n)\n\n{\n  Bignum_conflict pBVar1;\n  \n  pBVar1 = newbn(1);\n  *pBVar1 = 0;\n  pBVar1[1] = n;\n  if (n != 0) {\n    *pBVar1 = 1;\n  }\n  return pBVar1;\n}" type_identifier (function_declarator "bignum_from_long(ulong n)" identifier (parameter_list "(ulong n)" ( (parameter_declaration "ulong n" type_identifier identifier) ))) (compound_statement "{\n  Bignum_conflict pBVar1;\n  \n  pBVar1 = newbn(1);\n  *pBVar1 = 0;\n  pBVar1[1] = n;\n  if (n != 0) {\n    *pBVar1 = 1;\n  }\n  return pBVar1;\n}" { (declaration "Bignum_conflict pBVar1;" type_identifier identifier ;) (expression_statement "pBVar1 = newbn(1);" (assignment_expression "pBVar1 = newbn(1)" identifier = (call_expression "newbn(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (expression_statement "*pBVar1 = 0;" (assignment_expression "*pBVar1 = 0" (pointer_expression "*pBVar1" * identifier) = number_literal) ;) (expression_statement "pBVar1[1] = n;" (assignment_expression "pBVar1[1] = n" (subscript_expression "pBVar1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (n != 0) {\n    *pBVar1 = 1;\n  }" if (parenthesized_expression "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) )) (compound_statement "{\n    *pBVar1 = 1;\n  }" { (expression_statement "*pBVar1 = 1;" (assignment_expression "*pBVar1 = 1" (pointer_expression "*pBVar1" * identifier) = number_literal) ;) })) (return_statement "return pBVar1;" return identifier ;) })))
(translation_unit "void bignum_from_long(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}\n\n" (function_definition "void bignum_from_long(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}" primitive_type (function_declarator "bignum_from_long(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00056a74(1);" (assignment_expression "puVar1 = (undefined4 *)FUN_00056a74(1)" identifier = (cast_expression "(undefined4 *)FUN_00056a74(1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00056a74(1)" identifier (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_1 != 0) {\n    *puVar1 = 1;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *puVar1 = 1;\n  }" { (expression_statement "*puVar1 = 1;" (assignment_expression "*puVar1 = 1" (pointer_expression "*puVar1" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void bignum_from_long(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "bignum_from_long(int param_1)" (identifier "bignum_from_long") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00056a74(1);\n  *puVar1 = 0;\n  puVar1[1] = param_1;\n  if (param_1 != 0) {\n    *puVar1 = 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_00056a74(1);" (assignment_expression "puVar1 = (undefined4 *)FUN_00056a74(1)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00056a74(1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00056a74(1)" (identifier "FUN_00056a74") (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (if_statement "if (param_1 != 0) {\n    *puVar1 = 1;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar1 = 1;\n  }" ({ "{") (expression_statement "*puVar1 = 1;" (assignment_expression "*puVar1 = 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) 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))) (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (return_statement))))

void MASKED(int param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_00056a74(1);
  *puVar1 = 0;
  puVar1[1] = param_1;
  if (param_1 != 0) {
    *puVar1 = 1;
  }
  return;
}

