
int blake2bmac_memory_multi
              (uchar *key,ulong keylen,uchar *mac,ulong *maclen,uchar *in,ulong inlen,...)

{
  int iVar1;
  uint uVar2;
  ulong *puVar3;
  long in_FS_OFFSET;
  va_list args;
  blake2bmac_state st;
  long local_60;
  ulong local_58 [6];
  
  local_60 = *(long *)(in_FS_OFFSET + 0x28);
  if (key == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);
  }
  if (in == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);
  }
  if (mac == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);
  }
  if (maclen == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);
  }
  args[0].overflow_arg_area = &stack0x00000008;
  args[0].gp_offset = 0x30;
  iVar1 = blake2bmac_init(&st,*maclen,key,keylen);
  if (iVar1 == 0) {
    while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {
      if (args[0].gp_offset < 0x30) {
        uVar2 = args[0].gp_offset + 8;
        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);
        if (in == (uchar *)0x0) goto LAB_0015e8c8;
        if (0x2f < uVar2) goto LAB_0015e8b6;
        args[0].gp_offset = args[0].gp_offset + 0x10;
        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);
      }
      else {
                    /* WARNING: Load size is inaccurate */
        in = *args[0].overflow_arg_area;
        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);
        uVar2 = args[0].gp_offset;
        if (in == (uchar *)0x0) {
LAB_0015e8c8:
          iVar1 = blake2bmac_done(&st,mac,maclen);
          break;
        }
LAB_0015e8b6:
        args[0].gp_offset = uVar2;
        puVar3 = (ulong *)args[0].overflow_arg_area;
        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);
      }
      inlen = *puVar3;
    }
  }
  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return iVar1;
}



void blake2bmac_memory_multi
               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,
               long param_6)

{
  int iVar1;
  uint uVar2;
  long *plVar3;
  long in_FS_OFFSET;
  uint local_220;
  long *local_218;
  undefined1 local_208 [424];
  long local_60;
  long local_58 [6];
  
  local_60 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);
  }
  if (param_5 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);
  }
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);
  }
  if (param_4 == (undefined8 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);
  }
  local_218 = (long *)&stack0x00000008;
  local_220 = 0x30;
  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);
  if (iVar1 == 0) {
    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {
      if (local_220 < 0x30) {
        uVar2 = local_220 + 8;
        param_5 = *(long *)((long)local_58 + (ulong)local_220);
        if (param_5 == 0) goto LAB_0015e8c8;
        if (0x2f < uVar2) goto LAB_0015e8b6;
        local_220 = local_220 + 0x10;
        plVar3 = (long *)((long)local_58 + (ulong)uVar2);
      }
      else {
        param_5 = *local_218;
        local_218 = local_218 + 1;
        uVar2 = local_220;
        if (param_5 == 0) {
LAB_0015e8c8:
          blake2bmac_done(local_208,param_3,param_4);
          break;
        }
LAB_0015e8b6:
        local_220 = uVar2;
        plVar3 = local_218;
        local_218 = local_218 + 1;
      }
      param_6 = *plVar3;
    }
  }
  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return;
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x200
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x1c8],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x0015e941
MOV R13,R8
TEST R8,R8
JZ 0x0015e929
MOV R12,RDX
TEST RDX,RDX
JZ 0x0015e911
MOV RBP,RCX
TEST RCX,RCX
JZ 0x0015e8f9
LEA RDX,[RSP + 0x1d0]
LEA RBX,[RSP + 0x20]
MOV RCX,RSI
MOV RSI,qword ptr [RBP]
LEA RAX,[RSP + 0x230]
MOV qword ptr [RSP + 0x18],RDX
MOV RDX,RDI
MOV RDI,RBX
MOV R14,R9
MOV dword ptr [RSP + 0x8],0x30
MOV qword ptr [RSP + 0x10],RAX
CALL 0x001132c0
TEST EAX,EAX
JZ 0x0015e885
JMP 0x0015e8d6
MOV R8,qword ptr [RSP + 0x18]
MOV ESI,EDI
LEA ECX,[RDI + 0x8]
MOV dword ptr [RSP + 0x8],ECX
MOV R13,qword ptr [R8 + RSI*0x1]
TEST R13,R13
JZ 0x0015e8c8
CMP ECX,0x2f
JA 0x0015e95e
ADD EDI,0x10
ADD R8,RCX
MOV dword ptr [RSP + 0x8],EDI
MOV R14,qword ptr [R8]
MOV RDX,R14
MOV RSI,R13
MOV RDI,RBX
CALL 0x00114860
TEST EAX,EAX
JNZ 0x0015e8d6
MOV EDI,dword ptr [RSP + 0x8]
CMP EDI,0x2f
JBE 0x0015e858
MOV R9,qword ptr [RSP + 0x10]
MOV R13,qword ptr [R9]
LEA R8,[R9 + 0x8]
MOV qword ptr [RSP + 0x10],R8
TEST R13,R13
JZ 0x0015e8c8
LEA R10,[R8 + 0x8]
MOV qword ptr [RSP + 0x10],R10
JMP 0x0015e882
MOV RDX,RBP
MOV RSI,R12
MOV RDI,RBX
CALL 0x00113170
MOV RBX,qword ptr [RSP + 0x1c8]
XOR RBX,qword ptr FS:[0x28]
JNZ 0x0015e959
ADD RSP,0x200
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV EDX,0x25
LEA RSI,[0x1c4de0]
LEA RDI,[0x1c4d5c]
CALL 0x00114270
MOV EDX,0x24
LEA RSI,[0x1c4de0]
LEA RDI,[0x1cb1ea]
CALL 0x00114270
MOV EDX,0x23
LEA RSI,[0x1c4de0]
LEA RDI,[0x1b77d0]
CALL 0x00114270
MOV EDX,0x22
LEA RSI,[0x1c4de0]
LEA RDI,[0x1d547d]
CALL 0x00114270
CALL 0x00113880
MOV R8,qword ptr [RSP + 0x10]
JMP 0x0015e8b6
(translation_unit "void blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}\n\n" (function_definition "void blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}" primitive_type (function_declarator "blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)" ( (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) , (parameter_declaration "undefined8 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uint local_220;" type_identifier identifier ;) (declaration "long *local_218;" (sized_type_specifier "long" long) (pointer_declarator "*local_218" * identifier) ;) (declaration "undefined1 local_208 [424];" type_identifier (array_declarator "local_208 [424]" identifier [ number_literal ]) ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_58 [6];" (sized_type_specifier "long" long) (array_declarator "local_58 [6]" identifier [ number_literal ]) ;) (expression_statement "local_60 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_60 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\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("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }" { comment (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" identifier (argument_list "("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);" (call_expression "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" identifier (argument_list "("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" { comment (expression_statement "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);" (call_expression "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" identifier (argument_list "("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" ( (string_literal ""mac != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_4 == (undefined8 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" if (parenthesized_expression "(param_4 == (undefined8 *)0x0)" ( (binary_expression "param_4 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" { comment (expression_statement "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);" (call_expression "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" identifier (argument_list "("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" ( (string_literal ""maclen != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_218 = (long *)&stack0x00000008;" (assignment_expression "local_218 = (long *)&stack0x00000008" identifier = (cast_expression "(long *)&stack0x00000008" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier))) ;) (expression_statement "local_220 = 0x30;" (assignment_expression "local_220 = 0x30" identifier = number_literal) ;) (expression_statement "iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);" (assignment_expression "iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2)" identifier = (call_expression "blake2bmac_init(local_208,*param_4,param_1,param_2)" identifier (argument_list "(local_208,*param_4,param_1,param_2)" ( identifier , (pointer_expression "*param_4" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }" { (while_statement "while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }" while (parenthesized_expression "(iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0)" ( (comma_expression "iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0" (assignment_expression "iVar1 = blake2bmac_process(local_208,param_5,param_6)" identifier = (call_expression "blake2bmac_process(local_208,param_5,param_6)" identifier (argument_list "(local_208,param_5,param_6)" ( identifier , identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }" { (if_statement "if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" if (parenthesized_expression "(local_220 < 0x30)" ( (binary_expression "local_220 < 0x30" identifier < number_literal) )) (compound_statement "{\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }" { (expression_statement "uVar2 = local_220 + 8;" (assignment_expression "uVar2 = local_220 + 8" identifier = (binary_expression "local_220 + 8" identifier + number_literal)) ;) (expression_statement "param_5 = *(long *)((long)local_58 + (ulong)local_220);" (assignment_expression "param_5 = *(long *)((long)local_58 + (ulong)local_220)" identifier = (pointer_expression "*(long *)((long)local_58 + (ulong)local_220)" * (cast_expression "(long *)((long)local_58 + (ulong)local_220)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_58 + (ulong)local_220)" ( (binary_expression "(long)local_58 + (ulong)local_220" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)local_220" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (if_statement "if (param_5 == 0) goto LAB_0015e8c8;" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0015e8c8;" goto statement_identifier ;)) (if_statement "if (0x2f < uVar2) goto LAB_0015e8b6;" if (parenthesized_expression "(0x2f < uVar2)" ( (binary_expression "0x2f < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0015e8b6;" goto statement_identifier ;)) (expression_statement "local_220 = local_220 + 0x10;" (assignment_expression "local_220 = local_220 + 0x10" identifier = (binary_expression "local_220 + 0x10" identifier + number_literal)) ;) (expression_statement "plVar3 = (long *)((long)local_58 + (ulong)uVar2);" (assignment_expression "plVar3 = (long *)((long)local_58 + (ulong)uVar2)" identifier = (cast_expression "(long *)((long)local_58 + (ulong)uVar2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_58 + (ulong)uVar2)" ( (binary_expression "(long)local_58 + (ulong)uVar2" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )))) ;) }) (else_clause "else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" else (compound_statement "{\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" { (expression_statement "param_5 = *local_218;" (assignment_expression "param_5 = *local_218" identifier = (pointer_expression "*local_218" * identifier)) ;) (expression_statement "local_218 = local_218 + 1;" (assignment_expression "local_218 = local_218 + 1" identifier = (binary_expression "local_218 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = local_220;" (assignment_expression "uVar2 = local_220" identifier = identifier) ;) (if_statement "if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }" { (labeled_statement "LAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);" statement_identifier : (expression_statement "blake2bmac_done(local_208,param_3,param_4);" (call_expression "blake2bmac_done(local_208,param_3,param_4)" identifier (argument_list "(local_208,param_3,param_4)" ( identifier , identifier , identifier ))) ;)) (break_statement "break;" break ;) })) (labeled_statement "LAB_0015e8b6:\n        local_220 = uVar2;" statement_identifier : (expression_statement "local_220 = uVar2;" (assignment_expression "local_220 = uVar2" identifier = identifier) ;)) (expression_statement "plVar3 = local_218;" (assignment_expression "plVar3 = local_218" identifier = identifier) ;) (expression_statement "local_218 = local_218 + 1;" (assignment_expression "local_218 = local_218 + 1" identifier = (binary_expression "local_218 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_6 = *plVar3;" (assignment_expression "param_6 = *plVar3" identifier = (pointer_expression "*plVar3" * identifier)) ;) })) })) (if_statement "if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_60 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_60 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "int blake2bmac_memory_multi\n              (uchar *key,ulong keylen,uchar *mac,ulong *maclen,uchar *in,ulong inlen,...)\n\n{\n  int iVar1;\n  uint uVar2;\n  ulong *puVar3;\n  long in_FS_OFFSET;\n  va_list args;\n  blake2bmac_state st;\n  long local_60;\n  ulong local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (mac == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (maclen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  args[0].overflow_arg_area = &stack0x00000008;\n  args[0].gp_offset = 0x30;\n  iVar1 = blake2bmac_init(&st,*maclen,key,keylen);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar1;\n}\n\n" (function_definition "int blake2bmac_memory_multi\n              (uchar *key,ulong keylen,uchar *mac,ulong *maclen,uchar *in,ulong inlen,...)\n\n{\n  int iVar1;\n  uint uVar2;\n  ulong *puVar3;\n  long in_FS_OFFSET;\n  va_list args;\n  blake2bmac_state st;\n  long local_60;\n  ulong local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (mac == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (maclen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  args[0].overflow_arg_area = &stack0x00000008;\n  args[0].gp_offset = 0x30;\n  iVar1 = blake2bmac_init(&st,*maclen,key,keylen);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar1;\n}" primitive_type (function_declarator "blake2bmac_memory_multi\n              (uchar *key,ulong keylen,uchar *mac,ulong *maclen,uchar *in,ulong inlen,...)" identifier (parameter_list "(uchar *key,ulong keylen,uchar *mac,ulong *maclen,uchar *in,ulong inlen,...)" ( (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "ulong keylen" type_identifier identifier) , (parameter_declaration "uchar *mac" type_identifier (pointer_declarator "*mac" * identifier)) , (parameter_declaration "ulong *maclen" type_identifier (pointer_declarator "*maclen" * identifier)) , (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  ulong *puVar3;\n  long in_FS_OFFSET;\n  va_list args;\n  blake2bmac_state st;\n  long local_60;\n  ulong local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (mac == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (maclen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  args[0].overflow_arg_area = &stack0x00000008;\n  args[0].gp_offset = 0x30;\n  iVar1 = blake2bmac_init(&st,*maclen,key,keylen);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "va_list args;" type_identifier identifier ;) (declaration "blake2bmac_state st;" type_identifier identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong local_58 [6];" type_identifier (array_declarator "local_58 [6]" identifier [ number_literal ]) ;) (expression_statement "local_60 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_60 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\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                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }" { comment (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" identifier (argument_list "("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);" (call_expression "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" identifier (argument_list "("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (mac == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" if (parenthesized_expression "(mac == (uchar *)0x0)" ( (binary_expression "mac == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" { comment (expression_statement "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);" (call_expression "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" identifier (argument_list "("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" ( (string_literal ""mac != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (maclen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" if (parenthesized_expression "(maclen == (ulong *)0x0)" ( (binary_expression "maclen == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" { comment (expression_statement "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);" (call_expression "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" identifier (argument_list "("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" ( (string_literal ""maclen != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "args[0].overflow_arg_area = &stack0x00000008;" (assignment_expression "args[0].overflow_arg_area = &stack0x00000008" (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "&stack0x00000008" & identifier)) ;) (expression_statement "args[0].gp_offset = 0x30;" (assignment_expression "args[0].gp_offset = 0x30" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = number_literal) ;) (expression_statement "iVar1 = blake2bmac_init(&st,*maclen,key,keylen);" (assignment_expression "iVar1 = blake2bmac_init(&st,*maclen,key,keylen)" identifier = (call_expression "blake2bmac_init(&st,*maclen,key,keylen)" identifier (argument_list "(&st,*maclen,key,keylen)" ( (pointer_expression "&st" & identifier) , (pointer_expression "*maclen" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }\n  }" { (while_statement "while (iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0) {\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }" while (parenthesized_expression "(iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0)" ( (comma_expression "iVar1 = blake2bmac_process(&st,in,inlen), iVar1 == 0" (assignment_expression "iVar1 = blake2bmac_process(&st,in,inlen)" identifier = (call_expression "blake2bmac_process(&st,in,inlen)" identifier (argument_list "(&st,in,inlen)" ( (pointer_expression "&st" & identifier) , identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n      if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }\n      inlen = *puVar3;\n    }" { (if_statement "if (args[0].gp_offset < 0x30) {\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }" if (parenthesized_expression "(args[0].gp_offset < 0x30)" ( (binary_expression "args[0].gp_offset < 0x30" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) < number_literal) )) (compound_statement "{\n        uVar2 = args[0].gp_offset + 8;\n        in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);\n        if (in == (uchar *)0x0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        args[0].gp_offset = args[0].gp_offset + 0x10;\n        puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);\n      }" { (expression_statement "uVar2 = args[0].gp_offset + 8;" (assignment_expression "uVar2 = args[0].gp_offset + 8" identifier = (binary_expression "args[0].gp_offset + 8" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) + number_literal)) ;) (expression_statement "in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset);" (assignment_expression "in = *(uchar **)((long)local_58 + (ulong)args[0].gp_offset)" identifier = (pointer_expression "*(uchar **)((long)local_58 + (ulong)args[0].gp_offset)" * (cast_expression "(uchar **)((long)local_58 + (ulong)args[0].gp_offset)" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)local_58 + (ulong)args[0].gp_offset)" ( (binary_expression "(long)local_58 + (ulong)args[0].gp_offset" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)args[0].gp_offset" ( (type_descriptor "ulong" type_identifier) ) (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier))) ))))) ;) (if_statement "if (in == (uchar *)0x0) goto LAB_0015e8c8;" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0015e8c8;" goto statement_identifier ;)) (if_statement "if (0x2f < uVar2) goto LAB_0015e8b6;" if (parenthesized_expression "(0x2f < uVar2)" ( (binary_expression "0x2f < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0015e8b6;" goto statement_identifier ;)) (expression_statement "args[0].gp_offset = args[0].gp_offset + 0x10;" (assignment_expression "args[0].gp_offset = args[0].gp_offset + 0x10" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = (binary_expression "args[0].gp_offset + 0x10" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) + number_literal)) ;) (expression_statement "puVar3 = (ulong *)((long)local_58 + (ulong)uVar2);" (assignment_expression "puVar3 = (ulong *)((long)local_58 + (ulong)uVar2)" identifier = (cast_expression "(ulong *)((long)local_58 + (ulong)uVar2)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_58 + (ulong)uVar2)" ( (binary_expression "(long)local_58 + (ulong)uVar2" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )))) ;) }) (else_clause "else {\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }" else (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n        in = *args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);\n        uVar2 = args[0].gp_offset;\n        if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }\nLAB_0015e8b6:\n        args[0].gp_offset = uVar2;\n        puVar3 = (ulong *)args[0].overflow_arg_area;\n        args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n      }" { comment (expression_statement "in = *args[0].overflow_arg_area;" (assignment_expression "in = *args[0].overflow_arg_area" identifier = (pointer_expression "*args[0].overflow_arg_area" * (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);" (assignment_expression "args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8)" (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(void *)((long)args[0].overflow_arg_area + 8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)args[0].overflow_arg_area + 8)" ( (binary_expression "(long)args[0].overflow_arg_area + 8" (cast_expression "(long)args[0].overflow_arg_area" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier)) + number_literal) )))) ;) (expression_statement "uVar2 = args[0].gp_offset;" (assignment_expression "uVar2 = args[0].gp_offset" identifier = (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (in == (uchar *)0x0) {\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);\n          break;\n        }" { (labeled_statement "LAB_0015e8c8:\n          iVar1 = blake2bmac_done(&st,mac,maclen);" statement_identifier : (expression_statement "iVar1 = blake2bmac_done(&st,mac,maclen);" (assignment_expression "iVar1 = blake2bmac_done(&st,mac,maclen)" identifier = (call_expression "blake2bmac_done(&st,mac,maclen)" identifier (argument_list "(&st,mac,maclen)" ( (pointer_expression "&st" & identifier) , identifier , identifier )))) ;)) (break_statement "break;" break ;) })) (labeled_statement "LAB_0015e8b6:\n        args[0].gp_offset = uVar2;" statement_identifier : (expression_statement "args[0].gp_offset = uVar2;" (assignment_expression "args[0].gp_offset = uVar2" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;)) (expression_statement "puVar3 = (ulong *)args[0].overflow_arg_area;" (assignment_expression "puVar3 = (ulong *)args[0].overflow_arg_area" identifier = (cast_expression "(ulong *)args[0].overflow_arg_area" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);" (assignment_expression "args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8)" (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(ulong *)((long)args[0].overflow_arg_area + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)args[0].overflow_arg_area + 8)" ( (binary_expression "(long)args[0].overflow_arg_area + 8" (cast_expression "(long)args[0].overflow_arg_area" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier)) + number_literal) )))) ;) }))) (expression_statement "inlen = *puVar3;" (assignment_expression "inlen = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) })) })) (if_statement "if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_60 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_60 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}\n\n" (function_definition "void blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" primitive_type (function_declarator "blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)" identifier (parameter_list "(long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)" ( (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) , (parameter_declaration "undefined8 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uint local_220;" type_identifier identifier ;) (declaration "long *local_218;" (sized_type_specifier "long" long) (pointer_declarator "*local_218" * identifier) ;) (declaration "undefined1 local_208 [424];" type_identifier (array_declarator "local_208 [424]" identifier [ number_literal ]) ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_58 [6];" (sized_type_specifier "long" long) (array_declarator "local_58 [6]" identifier [ number_literal ]) ;) (expression_statement "local_60 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_60 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }" { (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" identifier (argument_list "("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" { (expression_statement "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);" (call_expression "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" identifier (argument_list "("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" { (expression_statement "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);" (call_expression "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" identifier (argument_list "("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" ( (string_literal ""mac != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" if (parenthesized_expression "(param_4 == (undefined8 *)0x0)" ( (binary_expression "param_4 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" { (expression_statement "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);" (call_expression "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" identifier (argument_list "("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" ( (string_literal ""maclen != NULL"" " string_content ") , (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_218 = (long *)&stack0x00000008;" (assignment_expression "local_218 = (long *)&stack0x00000008" identifier = (cast_expression "(long *)&stack0x00000008" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier))) ;) (expression_statement "local_220 = 0x30;" (assignment_expression "local_220 = 0x30" identifier = number_literal) ;) (expression_statement "iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);" (assignment_expression "iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2)" identifier = (call_expression "blake2bmac_init(local_208,*param_4,param_1,param_2)" identifier (argument_list "(local_208,*param_4,param_1,param_2)" ( identifier , (pointer_expression "*param_4" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }" { (while_statement "while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }" while (parenthesized_expression "(iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0)" ( (comma_expression "iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0" (assignment_expression "iVar1 = blake2bmac_process(local_208,param_5,param_6)" identifier = (call_expression "blake2bmac_process(local_208,param_5,param_6)" identifier (argument_list "(local_208,param_5,param_6)" ( identifier , identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }" { (if_statement "if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" if (parenthesized_expression "(local_220 < 0x30)" ( (binary_expression "local_220 < 0x30" identifier < number_literal) )) (compound_statement "{\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }" { (expression_statement "uVar2 = local_220 + 8;" (assignment_expression "uVar2 = local_220 + 8" identifier = (binary_expression "local_220 + 8" identifier + number_literal)) ;) (expression_statement "param_5 = *(long *)((long)local_58 + (ulong)local_220);" (assignment_expression "param_5 = *(long *)((long)local_58 + (ulong)local_220)" identifier = (pointer_expression "*(long *)((long)local_58 + (ulong)local_220)" * (cast_expression "(long *)((long)local_58 + (ulong)local_220)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_58 + (ulong)local_220)" ( (binary_expression "(long)local_58 + (ulong)local_220" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)local_220" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (if_statement "if (param_5 == 0) goto LAB_0015e8c8;" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0015e8c8;" goto statement_identifier ;)) (if_statement "if (0x2f < uVar2) goto LAB_0015e8b6;" if (parenthesized_expression "(0x2f < uVar2)" ( (binary_expression "0x2f < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0015e8b6;" goto statement_identifier ;)) (expression_statement "local_220 = local_220 + 0x10;" (assignment_expression "local_220 = local_220 + 0x10" identifier = (binary_expression "local_220 + 0x10" identifier + number_literal)) ;) (expression_statement "plVar3 = (long *)((long)local_58 + (ulong)uVar2);" (assignment_expression "plVar3 = (long *)((long)local_58 + (ulong)uVar2)" identifier = (cast_expression "(long *)((long)local_58 + (ulong)uVar2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_58 + (ulong)uVar2)" ( (binary_expression "(long)local_58 + (ulong)uVar2" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )))) ;) }) (else_clause "else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" else (compound_statement "{\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" { (expression_statement "param_5 = *local_218;" (assignment_expression "param_5 = *local_218" identifier = (pointer_expression "*local_218" * identifier)) ;) (expression_statement "local_218 = local_218 + 1;" (assignment_expression "local_218 = local_218 + 1" identifier = (binary_expression "local_218 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = local_220;" (assignment_expression "uVar2 = local_220" identifier = identifier) ;) (if_statement "if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }" { (labeled_statement "LAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);" statement_identifier : (expression_statement "blake2bmac_done(local_208,param_3,param_4);" (call_expression "blake2bmac_done(local_208,param_3,param_4)" identifier (argument_list "(local_208,param_3,param_4)" ( identifier , identifier , identifier ))) ;)) (break_statement "break;" break ;) })) (labeled_statement "LAB_0015e8b6:\n        local_220 = uVar2;" statement_identifier : (expression_statement "local_220 = uVar2;" (assignment_expression "local_220 = uVar2" identifier = identifier) ;)) (expression_statement "plVar3 = local_218;" (assignment_expression "plVar3 = local_218" identifier = identifier) ;) (expression_statement "local_218 = local_218 + 1;" (assignment_expression "local_218 = local_218 + 1" identifier = (binary_expression "local_218 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_6 = *plVar3;" (assignment_expression "param_6 = *plVar3" identifier = (pointer_expression "*plVar3" * identifier)) ;) })) })) (if_statement "if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_60 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_60 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(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) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 ( (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 ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) , (binary_expression IDENT == LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) (break_statement break ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "blake2bmac_memory_multi\n               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)" (identifier "blake2bmac_memory_multi") (parameter_list "(long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,\n               long param_6)" (( "(") (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")) (, ",") (parameter_declaration "undefined8 *param_4" (type_identifier "undefined8") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "long param_5" (sized_type_specifier "long" (long "long")) (identifier "param_5")) (, ",") (parameter_declaration "long param_6" (sized_type_specifier "long" (long "long")) (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  long *plVar3;\n  long in_FS_OFFSET;\n  uint local_220;\n  long *local_218;\n  undefined1 local_208 [424];\n  long local_60;\n  long local_58 [6];\n  \n  local_60 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }\n  if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }\n  if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }\n  local_218 = (long *)&stack0x00000008;\n  local_220 = 0x30;\n  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);\n  if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }\n  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "uint local_220;" (type_identifier "uint") (identifier "local_220") (; ";")) (declaration "long *local_218;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*local_218" (* "*") (identifier "local_218")) (; ";")) (declaration "undefined1 local_208 [424];" (type_identifier "undefined1") (array_declarator "local_208 [424]" (identifier "local_208") ([ "[") (number_literal "424") (] "]")) (; ";")) (declaration "long local_60;" (sized_type_specifier "long" (long "long")) (identifier "local_60") (; ";")) (declaration "long local_58 [6];" (sized_type_specifier "long" (long "long")) (array_declarator "local_58 [6]" (identifier "local_58") ([ "[") (number_literal "6") (] "]")) (; ";")) (expression_statement "local_60 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_60 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_60") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\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("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);\n  }" ({ "{") (expression_statement "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);" (call_expression "crypt_argchk("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" (identifier "crypt_argchk") (argument_list "("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22)" (( "(") (string_literal ""key != NULL"" (" """) (string_content "key != NULL") (" """)) (, ",") (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" (" """) (string_content "src/mac/blake2/blake2bmac_memory_multi.c") (" """)) (, ",") (number_literal "0x22") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_5 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);\n  }" ({ "{") (expression_statement "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);" (call_expression "crypt_argchk("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" (" """) (string_content "src/mac/blake2/blake2bmac_memory_multi.c") (" """)) (, ",") (number_literal "0x23") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);\n  }" ({ "{") (expression_statement "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);" (call_expression "crypt_argchk("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" (identifier "crypt_argchk") (argument_list "("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24)" (( "(") (string_literal ""mac != NULL"" (" """) (string_content "mac != NULL") (" """)) (, ",") (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" (" """) (string_content "src/mac/blake2/blake2bmac_memory_multi.c") (" """)) (, ",") (number_literal "0x24") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_4 == (undefined8 *)0x0) {\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" (if "if") (parenthesized_expression "(param_4 == (undefined8 *)0x0)" (( "(") (binary_expression "param_4 == (undefined8 *)0x0" (identifier "param_4") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);\n  }" ({ "{") (expression_statement "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);" (call_expression "crypt_argchk("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" (identifier "crypt_argchk") (argument_list "("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25)" (( "(") (string_literal ""maclen != NULL"" (" """) (string_content "maclen != NULL") (" """)) (, ",") (string_literal ""src/mac/blake2/blake2bmac_memory_multi.c"" (" """) (string_content "src/mac/blake2/blake2bmac_memory_multi.c") (" """)) (, ",") (number_literal "0x25") () ")"))) (; ";")) (} "}"))) (expression_statement "local_218 = (long *)&stack0x00000008;" (assignment_expression "local_218 = (long *)&stack0x00000008" (identifier "local_218") (= "=") (cast_expression "(long *)&stack0x00000008" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")))) (; ";")) (expression_statement "local_220 = 0x30;" (assignment_expression "local_220 = 0x30" (identifier "local_220") (= "=") (number_literal "0x30")) (; ";")) (expression_statement "iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);" (assignment_expression "iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "blake2bmac_init(local_208,*param_4,param_1,param_2)" (identifier "blake2bmac_init") (argument_list "(local_208,*param_4,param_1,param_2)" (( "(") (identifier "local_208") (, ",") (pointer_expression "*param_4" (* "*") (identifier "param_4")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }\n  }" ({ "{") (while_statement "while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }" (while "while") (parenthesized_expression "(iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0)" (( "(") (comma_expression "iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0" (assignment_expression "iVar1 = blake2bmac_process(local_208,param_5,param_6)" (identifier "iVar1") (= "=") (call_expression "blake2bmac_process(local_208,param_5,param_6)" (identifier "blake2bmac_process") (argument_list "(local_208,param_5,param_6)" (( "(") (identifier "local_208") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }\n      param_6 = *plVar3;\n    }" ({ "{") (if_statement "if (local_220 < 0x30) {\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }\n      else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" (if "if") (parenthesized_expression "(local_220 < 0x30)" (( "(") (binary_expression "local_220 < 0x30" (identifier "local_220") (< "<") (number_literal "0x30")) () ")")) (compound_statement "{\n        uVar2 = local_220 + 8;\n        param_5 = *(long *)((long)local_58 + (ulong)local_220);\n        if (param_5 == 0) goto LAB_0015e8c8;\n        if (0x2f < uVar2) goto LAB_0015e8b6;\n        local_220 = local_220 + 0x10;\n        plVar3 = (long *)((long)local_58 + (ulong)uVar2);\n      }" ({ "{") (expression_statement "uVar2 = local_220 + 8;" (assignment_expression "uVar2 = local_220 + 8" (identifier "uVar2") (= "=") (binary_expression "local_220 + 8" (identifier "local_220") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "param_5 = *(long *)((long)local_58 + (ulong)local_220);" (assignment_expression "param_5 = *(long *)((long)local_58 + (ulong)local_220)" (identifier "param_5") (= "=") (pointer_expression "*(long *)((long)local_58 + (ulong)local_220)" (* "*") (cast_expression "(long *)((long)local_58 + (ulong)local_220)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)local_58 + (ulong)local_220)" (( "(") (binary_expression "(long)local_58 + (ulong)local_220" (cast_expression "(long)local_58" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_58")) (+ "+") (cast_expression "(ulong)local_220" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "local_220"))) () ")"))))) (; ";")) (if_statement "if (param_5 == 0) goto LAB_0015e8c8;" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0015e8c8;" (goto "goto") (statement_identifier "LAB_0015e8c8") (; ";"))) (if_statement "if (0x2f < uVar2) goto LAB_0015e8b6;" (if "if") (parenthesized_expression "(0x2f < uVar2)" (( "(") (binary_expression "0x2f < uVar2" (number_literal "0x2f") (< "<") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_0015e8b6;" (goto "goto") (statement_identifier "LAB_0015e8b6") (; ";"))) (expression_statement "local_220 = local_220 + 0x10;" (assignment_expression "local_220 = local_220 + 0x10" (identifier "local_220") (= "=") (binary_expression "local_220 + 0x10" (identifier "local_220") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "plVar3 = (long *)((long)local_58 + (ulong)uVar2);" (assignment_expression "plVar3 = (long *)((long)local_58 + (ulong)uVar2)" (identifier "plVar3") (= "=") (cast_expression "(long *)((long)local_58 + (ulong)uVar2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)local_58 + (ulong)uVar2)" (( "(") (binary_expression "(long)local_58 + (ulong)uVar2" (cast_expression "(long)local_58" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_58")) (+ "+") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" (else "else") (compound_statement "{\n        param_5 = *local_218;\n        local_218 = local_218 + 1;\n        uVar2 = local_220;\n        if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }\nLAB_0015e8b6:\n        local_220 = uVar2;\n        plVar3 = local_218;\n        local_218 = local_218 + 1;\n      }" ({ "{") (expression_statement "param_5 = *local_218;" (assignment_expression "param_5 = *local_218" (identifier "param_5") (= "=") (pointer_expression "*local_218" (* "*") (identifier "local_218"))) (; ";")) (expression_statement "local_218 = local_218 + 1;" (assignment_expression "local_218 = local_218 + 1" (identifier "local_218") (= "=") (binary_expression "local_218 + 1" (identifier "local_218") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = local_220;" (assignment_expression "uVar2 = local_220" (identifier "uVar2") (= "=") (identifier "local_220")) (; ";")) (if_statement "if (param_5 == 0) {\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);\n          break;\n        }" ({ "{") (labeled_statement "LAB_0015e8c8:\n          blake2bmac_done(local_208,param_3,param_4);" (statement_identifier "LAB_0015e8c8") (: ":") (expression_statement "blake2bmac_done(local_208,param_3,param_4);" (call_expression "blake2bmac_done(local_208,param_3,param_4)" (identifier "blake2bmac_done") (argument_list "(local_208,param_3,param_4)" (( "(") (identifier "local_208") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (labeled_statement "LAB_0015e8b6:\n        local_220 = uVar2;" (statement_identifier "LAB_0015e8b6") (: ":") (expression_statement "local_220 = uVar2;" (assignment_expression "local_220 = uVar2" (identifier "local_220") (= "=") (identifier "uVar2")) (; ";"))) (expression_statement "plVar3 = local_218;" (assignment_expression "plVar3 = local_218" (identifier "plVar3") (= "=") (identifier "local_218")) (; ";")) (expression_statement "local_218 = local_218 + 1;" (assignment_expression "local_218 = local_218 + 1" (identifier "local_218") (= "=") (binary_expression "local_218 + 1" (identifier "local_218") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_6 = *plVar3;" (assignment_expression "param_6 = *plVar3" (identifier "param_6") (= "=") (pointer_expression "*plVar3" (* "*") (identifier "plVar3"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(local_60 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_60 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_60") (!= "!=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1
              (type_1 *var_2,type_2 keylen,type_1 *var_5,type_2 *var_6,type_1 *var_4,type_2 inlen,...)

{
  int var_8;
  type_3 var_10;
  type_2 *puVar3;
  long var_1;
  type_4 args;
  type_5 st;
  long var_12;
  type_2 local_58 [6];
  
  var_12 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("key != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x22);
  }
  if (var_4 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("in != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x23);
  }
  if (var_5 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("mac != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x24);
  }
  if (var_6 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("maclen != NULL","src/mac/blake2/blake2bmac_memory_multi.c",0x25);
  }
  args[0].overflow_arg_area = &stack0x00000008;
  args[0].gp_offset = 0x30;
  var_8 = var_7(&st,*var_6,var_2,keylen);
  if (var_8 == 0) {
    while (var_8 = var_9(&st,var_4,inlen), var_8 == 0) {
      if (args[0].gp_offset < 0x30) {
        var_10 = args[0].gp_offset + 8;
        var_4 = *(type_1 **)((long)local_58 + (type_2)args[0].gp_offset);
        if (var_4 == (type_1 *)0x0) goto LAB_0015e8c8;
        if (0x2f < var_10) goto LAB_0015e8b6;
        args[0].gp_offset = args[0].gp_offset + 0x10;
        puVar3 = (type_2 *)((long)local_58 + (type_2)var_10);
      }
      else {
                    /* WARNING: Load size is inaccurate */
        var_4 = *args[0].overflow_arg_area;
        args[0].overflow_arg_area = (void *)((long)args[0].overflow_arg_area + 8);
        var_10 = args[0].gp_offset;
        if (var_4 == (type_1 *)0x0) {
LAB_0015e8c8:
          var_8 = var_11(&st,var_5,var_6);
          break;
        }
LAB_0015e8b6:
        args[0].gp_offset = var_10;
        puVar3 = (type_2 *)args[0].overflow_arg_area;
        args[0].overflow_arg_area = (type_2 *)((long)args[0].overflow_arg_area + 8);
      }
      inlen = *puVar3;
    }
  }
  if (var_12 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_13();
  }
  return var_8;
}


(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)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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 (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 (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 (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (break_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

void MASKED
               (long param_1,undefined8 param_2,long param_3,undefined8 *param_4,long param_5,
               long param_6)

{
  int iVar1;
  uint uVar2;
  long *plVar3;
  long in_FS_OFFSET;
  uint local_220;
  long *local_218;
  undefined1 local_208 [424];
  long local_60;
  long local_58 [6];
  
  local_60 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("key != NULL","src/mac/blake2/MASKED.c",0x22);
  }
  if (param_5 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/mac/blake2/MASKED.c",0x23);
  }
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("mac != NULL","src/mac/blake2/MASKED.c",0x24);
  }
  if (param_4 == (undefined8 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("maclen != NULL","src/mac/blake2/MASKED.c",0x25);
  }
  local_218 = (long *)&stack0x00000008;
  local_220 = 0x30;
  iVar1 = blake2bmac_init(local_208,*param_4,param_1,param_2);
  if (iVar1 == 0) {
    while (iVar1 = blake2bmac_process(local_208,param_5,param_6), iVar1 == 0) {
      if (local_220 < 0x30) {
        uVar2 = local_220 + 8;
        param_5 = *(long *)((long)local_58 + (ulong)local_220);
        if (param_5 == 0) goto LAB_0015e8c8;
        if (0x2f < uVar2) goto LAB_0015e8b6;
        local_220 = local_220 + 0x10;
        plVar3 = (long *)((long)local_58 + (ulong)uVar2);
      }
      else {
        param_5 = *local_218;
        local_218 = local_218 + 1;
        uVar2 = local_220;
        if (param_5 == 0) {
LAB_0015e8c8:
          blake2bmac_done(local_208,param_3,param_4);
          break;
        }
LAB_0015e8b6:
        local_220 = uVar2;
        plVar3 = local_218;
        local_218 = local_218 + 1;
      }
      param_6 = *plVar3;
    }
  }
  if (local_60 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return;
}

