
int blake2smac_init(blake2smac_state *st,ulong outlen,uchar *key,ulong keylen)

{
  int iVar1;
  
  if (st == (blake2smac_state *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);
  }
  if (key != (uchar *)0x0) {
    iVar1 = blake2s_init(st,outlen,key,keylen);
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);
}



void blake2smac_init(long param_1,undefined8 param_2,long param_3)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);
  }
  if (param_3 != 0) {
    blake2s_init();
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);
}


SUB RSP,0x8
TEST RDI,RDI
JZ 0x00157587
TEST RDX,RDX
JZ 0x0015759f
ADD RSP,0x8
JMP 0x00114a80
MOV EDX,0x18
LEA RSI,[0x1b9960]
LEA RDI,[0x1c2da3]
CALL 0x00114270
MOV EDX,0x19
LEA RSI,[0x1b9960]
LEA RDI,[0x1c5e5d]
CALL 0x00114270
(translation_unit "void blake2smac_init(long param_1,undefined8 param_2,long param_3)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}\n\n" (function_definition "void blake2smac_init(long param_1,undefined8 param_2,long param_3)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" primitive_type (function_declarator "blake2smac_init(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" { comment (expression_statement "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);" (call_expression "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18)" identifier (argument_list "("st != NULL","src/mac/blake2/blake2smac.c",0x18)" ( (string_literal ""st != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2smac.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    blake2s_init();\n    return;\n  }" { (expression_statement "blake2s_init();" (call_expression "blake2s_init()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19)" identifier (argument_list "("key != NULL","src/mac/blake2/blake2smac.c",0x19)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2smac.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int blake2smac_init(blake2smac_state *st,ulong outlen,uchar *key,ulong keylen)\n\n{\n  int iVar1;\n  \n  if (st == (blake2smac_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (key != (uchar *)0x0) {\n    iVar1 = blake2s_init(st,outlen,key,keylen);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}\n\n" (function_definition "int blake2smac_init(blake2smac_state *st,ulong outlen,uchar *key,ulong keylen)\n\n{\n  int iVar1;\n  \n  if (st == (blake2smac_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (key != (uchar *)0x0) {\n    iVar1 = blake2s_init(st,outlen,key,keylen);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" primitive_type (function_declarator "blake2smac_init(blake2smac_state *st,ulong outlen,uchar *key,ulong keylen)" identifier (parameter_list "(blake2smac_state *st,ulong outlen,uchar *key,ulong keylen)" ( (parameter_declaration "blake2smac_state *st" type_identifier (pointer_declarator "*st" * identifier)) , (parameter_declaration "ulong outlen" type_identifier identifier) , (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "ulong keylen" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (st == (blake2smac_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (key != (uchar *)0x0) {\n    iVar1 = blake2s_init(st,outlen,key,keylen);\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (st == (blake2smac_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" if (parenthesized_expression "(st == (blake2smac_state *)0x0)" ( (binary_expression "st == (blake2smac_state *)0x0" identifier == (cast_expression "(blake2smac_state *)0x0" ( (type_descriptor "blake2smac_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" { comment (expression_statement "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);" (call_expression "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18)" identifier (argument_list "("st != NULL","src/mac/blake2/blake2smac.c",0x18)" ( (string_literal ""st != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2smac.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (key != (uchar *)0x0) {\n    iVar1 = blake2s_init(st,outlen,key,keylen);\n    return iVar1;\n  }" if (parenthesized_expression "(key != (uchar *)0x0)" ( (binary_expression "key != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = blake2s_init(st,outlen,key,keylen);\n    return iVar1;\n  }" { (expression_statement "iVar1 = blake2s_init(st,outlen,key,keylen);" (assignment_expression "iVar1 = blake2s_init(st,outlen,key,keylen)" identifier = (call_expression "blake2s_init(st,outlen,key,keylen)" identifier (argument_list "(st,outlen,key,keylen)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19)" identifier (argument_list "("key != NULL","src/mac/blake2/blake2smac.c",0x19)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2smac.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "void blake2smac_init(long param_1,undefined8 param_2,long param_3)\n\n{\n  if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}\n\n" (function_definition "void blake2smac_init(long param_1,undefined8 param_2,long param_3)\n\n{\n  if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" primitive_type (function_declarator "blake2smac_init(long param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" { (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" { (expression_statement "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);" (call_expression "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18)" identifier (argument_list "("st != NULL","src/mac/blake2/blake2smac.c",0x18)" ( (string_literal ""st != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2smac.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    blake2s_init();\n    return;\n  }" { (expression_statement "blake2s_init();" (call_expression "blake2s_init()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19)" identifier (argument_list "("key != NULL","src/mac/blake2/blake2smac.c",0x19)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2smac.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "void blake2smac_init(long param_1,undefined8 param_2,long param_3)\n\n{\n  if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" (primitive_type "void") (function_declarator "blake2smac_init(long param_1,undefined8 param_2,long param_3)" (identifier "blake2smac_init") (parameter_list "(long param_1,undefined8 param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }\n  if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);\n  }" ({ "{") (expression_statement "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);" (call_expression "crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18)" (identifier "crypt_argchk") (argument_list "("st != NULL","src/mac/blake2/blake2smac.c",0x18)" (( "(") (string_literal ""st != NULL"" (" """) (string_content "st != NULL") (" """)) (, ",") (string_literal ""src/mac/blake2/blake2smac.c"" (" """) (string_content "src/mac/blake2/blake2smac.c") (" """)) (, ",") (number_literal "0x18") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 != 0) {\n    blake2s_init();\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    blake2s_init();\n    return;\n  }" ({ "{") (expression_statement "blake2s_init();" (call_expression "blake2s_init()" (identifier "blake2s_init") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19)" (identifier "crypt_argchk") (argument_list "("key != NULL","src/mac/blake2/blake2smac.c",0x19)" (( "(") (string_literal ""key != NULL"" (" """) (string_content "key != NULL") (" """)) (, ",") (string_literal ""src/mac/blake2/blake2smac.c"" (" """) (string_content "src/mac/blake2/blake2smac.c") (" """)) (, ",") (number_literal "0x19") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_1,type_2 outlen,type_3 *var_3,type_2 keylen)

{
  int iVar1;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("st != NULL","src/mac/blake2/blake2smac.c",0x18);
  }
  if (var_3 != (type_3 *)0x0) {
    iVar1 = var_4(var_1,outlen,var_3,keylen);
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_2("key != NULL","src/mac/blake2/blake2smac.c",0x19);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))))

void MASKED(long param_1,undefined8 param_2,long param_3)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("st != NULL","src/mac/blake2/blake2smac.c",0x18);
  }
  if (param_3 != 0) {
    blake2s_init();
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("key != NULL","src/mac/blake2/blake2smac.c",0x19);
}

