
int hmac_memory_multi(int hash,uchar *key,ulong keylen,uchar *out,ulong *outlen,uchar *in,
                     ulong inlen,...)

{
  long lVar1;
  int iVar2;
  hmac_state *hmac;
  uint uVar3;
  ulong *puVar4;
  long in_FS_OFFSET;
  va_list args;
  ulong local_68 [7];
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (key == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);
  }
  if (in == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);
  }
  if (out == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);
  }
  if (outlen == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);
  }
  hmac = (hmac_state *)malloc(0x350);
  if (hmac == (hmac_state *)0x0) {
    iVar2 = 0xd;
  }
  else {
    iVar2 = hmac_init(hmac,hash,key,keylen);
    if (iVar2 == 0) {
      args[0].overflow_arg_area = &stack0x00000010;
      args[0].gp_offset = 0x30;
      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {
        if (args[0].gp_offset < 0x30) {
          uVar3 = args[0].gp_offset + 8;
          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);
          if (in == (uchar *)0x0) goto LAB_00161f30;
          if (0x2f < uVar3) goto LAB_00161f0e;
          args[0].gp_offset = args[0].gp_offset + 0x10;
          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);
        }
        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);
          uVar3 = args[0].gp_offset;
          if (in == (uchar *)0x0) {
LAB_00161f30:
            iVar2 = hmac_done(hmac,out,outlen);
            break;
          }
LAB_00161f0e:
          args[0].gp_offset = uVar3;
          puVar4 = (ulong *)args[0].overflow_arg_area;
          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);
        }
        inlen = *puVar4;
      }
    }
    free(hmac);
  }
  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return iVar2;
}



int hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,
                     long param_6,long param_7)

{
  long lVar1;
  int iVar2;
  void *__ptr;
  uint uVar3;
  long *plVar4;
  long in_FS_OFFSET;
  uint local_88;
  long *local_80;
  long local_68 [7];
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);
  }
  if (param_6 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);
  }
  if (param_4 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);
  }
  if (param_5 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);
  }
  __ptr = malloc(0x350);
  if (__ptr == (void *)0x0) {
    iVar2 = 0xd;
  }
  else {
    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);
    if (iVar2 == 0) {
      local_80 = (long *)&stack0x00000010;
      local_88 = 0x30;
      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {
        if (local_88 < 0x30) {
          uVar3 = local_88 + 8;
          param_6 = *(long *)((long)local_68 + (ulong)local_88);
          if (param_6 == 0) goto LAB_00161f30;
          if (0x2f < uVar3) goto LAB_00161f0e;
          local_88 = local_88 + 0x10;
          plVar4 = (long *)((long)local_68 + (ulong)uVar3);
        }
        else {
          param_6 = *local_80;
          local_80 = local_80 + 1;
          uVar3 = local_88;
          if (param_6 == 0) {
LAB_00161f30:
            iVar2 = hmac_done(__ptr,param_4,param_5);
            break;
          }
LAB_00161f0e:
          local_88 = uVar3;
          plVar4 = local_80;
          local_80 = local_80 + 1;
        }
        param_7 = *plVar4;
      }
    }
    free(__ptr);
  }
  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return iVar2;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x68
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x28],RAX
XOR EAX,EAX
MOV R14,qword ptr [RSP + 0xa0]
TEST RSI,RSI
JZ 0x00161f90
MOV R13,R9
TEST R9,R9
JZ 0x00161f78
MOV RBP,RCX
TEST RCX,RCX
JZ 0x00161f60
MOV R12,R8
TEST R8,R8
JZ 0x00161f48
MOV R15D,EDI
MOV EDI,0x350
MOV qword ptr [RSP + 0x8],RDX
MOV qword ptr [RSP],RSI
CALL 0x001141b0
MOV RBX,RAX
TEST RAX,RAX
JZ 0x00161f20
MOV RCX,qword ptr [RSP + 0x8]
MOV RDX,qword ptr [RSP]
MOV ESI,R15D
MOV RDI,RAX
CALL 0x00114c70
TEST EAX,EAX
JZ 0x00161e80
MOV RDI,RBX
MOV dword ptr [RSP],EAX
CALL 0x00113130
MOV EAX,dword ptr [RSP]
MOV RBX,qword ptr [RSP + 0x28]
XOR RBX,qword ptr FS:[0x28]
JNZ 0x00161f43
ADD RSP,0x68
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
LEA RAX,[RSP + 0xa8]
LEA RSI,[RSP + 0x30]
MOV dword ptr [RSP + 0x10],0x30
MOV qword ptr [RSP + 0x18],RAX
MOV qword ptr [RSP + 0x20],RSI
JMP 0x00161ed9
MOV R10,qword ptr [RSP + 0x20]
MOV R9D,EDI
LEA R8D,[RDI + 0x8]
MOV dword ptr [RSP + 0x10],R8D
MOV R13,qword ptr [R10 + R9*0x1]
TEST R13,R13
JZ 0x00161f30
CMP R8D,0x2f
JA 0x00161fa8
ADD EDI,0x10
ADD R10,R8
MOV dword ptr [RSP + 0x10],EDI
MOV R14,qword ptr [R10]
MOV RDX,R14
MOV RSI,R13
MOV RDI,RBX
CALL 0x00113560
TEST EAX,EAX
JNZ 0x00161e4d
MOV EDI,dword ptr [RSP + 0x10]
CMP EDI,0x2f
JBE 0x00161ea8
MOV R11,qword ptr [RSP + 0x18]
MOV R13,qword ptr [R11]
LEA R10,[R11 + 0x8]
MOV qword ptr [RSP + 0x18],R10
TEST R13,R13
JZ 0x00161f30
LEA R14,[R10 + 0x8]
MOV qword ptr [RSP + 0x18],R14
JMP 0x00161ed6
MOV EAX,0xd
JMP 0x00161e5b
MOV RDX,R12
MOV RSI,RBP
MOV RDI,RBX
CALL 0x001145b0
JMP 0x00161e4d
CALL 0x00113880
MOV EDX,0x2e
LEA RSI,[0x1cb280]
LEA RDI,[0x1bd93a]
CALL 0x00114270
MOV EDX,0x2d
LEA RSI,[0x1cb280]
LEA RDI,[0x1b77e1]
CALL 0x00114270
MOV EDX,0x2c
LEA RSI,[0x1cb280]
LEA RDI,[0x1b77d0]
CALL 0x00114270
MOV EDX,0x2b
LEA RSI,[0x1cb280]
LEA RDI,[0x1d547d]
CALL 0x00114270
MOV R10,qword ptr [RSP + 0x18]
JMP 0x00161f0e
(translation_unit "int hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar2;\n}\n\n" (function_definition "int hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)" identifier (parameter_list "(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uint local_88;" type_identifier identifier ;) (declaration "long *local_80;" (sized_type_specifier "long" long) (pointer_declarator "*local_80" * identifier) ;) (declaration "long local_68 [7];" (sized_type_specifier "long" long) (array_declarator "local_68 [7]" identifier [ number_literal ]) ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(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_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }" { comment (expression_statement "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);" (call_expression "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" identifier (argument_list "("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_6 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);" (call_expression "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" identifier (argument_list "("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);" (call_expression "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" identifier (argument_list "("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\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("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }" { comment (expression_statement "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);" (call_expression "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" identifier (argument_list "("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" ( (string_literal ""outlen != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "__ptr = malloc(0x350);" (assignment_expression "__ptr = malloc(0x350)" identifier = (call_expression "malloc(0x350)" identifier (argument_list "(0x350)" ( number_literal )))) ;) (if_statement "if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0xd;\n  }" { (expression_statement "iVar2 = 0xd;" (assignment_expression "iVar2 = 0xd" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" else (compound_statement "{\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" { (expression_statement "iVar2 = hmac_init(__ptr,param_1,param_2,param_3);" (assignment_expression "iVar2 = hmac_init(__ptr,param_1,param_2,param_3)" identifier = (call_expression "hmac_init(__ptr,param_1,param_2,param_3)" identifier (argument_list "(__ptr,param_1,param_2,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }" { (expression_statement "local_80 = (long *)&stack0x00000010;" (assignment_expression "local_80 = (long *)&stack0x00000010" identifier = (cast_expression "(long *)&stack0x00000010" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000010" & identifier))) ;) (expression_statement "local_88 = 0x30;" (assignment_expression "local_88 = 0x30" identifier = number_literal) ;) (while_statement "while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }" while (parenthesized_expression "(iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0)" ( (comma_expression "iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0" (assignment_expression "iVar2 = hmac_process(__ptr,param_6,param_7)" identifier = (call_expression "hmac_process(__ptr,param_6,param_7)" identifier (argument_list "(__ptr,param_6,param_7)" ( identifier , identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }" { (if_statement "if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" if (parenthesized_expression "(local_88 < 0x30)" ( (binary_expression "local_88 < 0x30" identifier < number_literal) )) (compound_statement "{\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }" { (expression_statement "uVar3 = local_88 + 8;" (assignment_expression "uVar3 = local_88 + 8" identifier = (binary_expression "local_88 + 8" identifier + number_literal)) ;) (expression_statement "param_6 = *(long *)((long)local_68 + (ulong)local_88);" (assignment_expression "param_6 = *(long *)((long)local_68 + (ulong)local_88)" identifier = (pointer_expression "*(long *)((long)local_68 + (ulong)local_88)" * (cast_expression "(long *)((long)local_68 + (ulong)local_88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_68 + (ulong)local_88)" ( (binary_expression "(long)local_68 + (ulong)local_88" (cast_expression "(long)local_68" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)local_88" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (if_statement "if (param_6 == 0) goto LAB_00161f30;" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00161f30;" goto statement_identifier ;)) (if_statement "if (0x2f < uVar3) goto LAB_00161f0e;" if (parenthesized_expression "(0x2f < uVar3)" ( (binary_expression "0x2f < uVar3" number_literal < identifier) )) (goto_statement "goto LAB_00161f0e;" goto statement_identifier ;)) (expression_statement "local_88 = local_88 + 0x10;" (assignment_expression "local_88 = local_88 + 0x10" identifier = (binary_expression "local_88 + 0x10" identifier + number_literal)) ;) (expression_statement "plVar4 = (long *)((long)local_68 + (ulong)uVar3);" (assignment_expression "plVar4 = (long *)((long)local_68 + (ulong)uVar3)" identifier = (cast_expression "(long *)((long)local_68 + (ulong)uVar3)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_68 + (ulong)uVar3)" ( (binary_expression "(long)local_68 + (ulong)uVar3" (cast_expression "(long)local_68" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) )))) ;) }) (else_clause "else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" else (compound_statement "{\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" { (expression_statement "param_6 = *local_80;" (assignment_expression "param_6 = *local_80" identifier = (pointer_expression "*local_80" * identifier)) ;) (expression_statement "local_80 = local_80 + 1;" (assignment_expression "local_80 = local_80 + 1" identifier = (binary_expression "local_80 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = local_88;" (assignment_expression "uVar3 = local_88" identifier = identifier) ;) (if_statement "if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }" { (labeled_statement "LAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);" statement_identifier : (expression_statement "iVar2 = hmac_done(__ptr,param_4,param_5);" (assignment_expression "iVar2 = hmac_done(__ptr,param_4,param_5)" identifier = (call_expression "hmac_done(__ptr,param_4,param_5)" identifier (argument_list "(__ptr,param_4,param_5)" ( identifier , identifier , identifier )))) ;)) (break_statement "break;" break ;) })) (labeled_statement "LAB_00161f0e:\n          local_88 = uVar3;" statement_identifier : (expression_statement "local_88 = uVar3;" (assignment_expression "local_88 = uVar3" identifier = identifier) ;)) (expression_statement "plVar4 = local_80;" (assignment_expression "plVar4 = local_80" identifier = identifier) ;) (expression_statement "local_80 = local_80 + 1;" (assignment_expression "local_80 = local_80 + 1" identifier = (binary_expression "local_80 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_7 = *plVar4;" (assignment_expression "param_7 = *plVar4" identifier = (pointer_expression "*plVar4" * identifier)) ;) })) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) (if_statement "if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(lVar1 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 != *(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 iVar2;" return identifier ;) })))
(translation_unit "int hmac_memory_multi(int hash,uchar *key,ulong keylen,uchar *out,ulong *outlen,uchar *in,\n                     ulong inlen,...)\n\n{\n  long lVar1;\n  int iVar2;\n  hmac_state *hmac;\n  uint uVar3;\n  ulong *puVar4;\n  long in_FS_OFFSET;\n  va_list args;\n  ulong local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  hmac = (hmac_state *)malloc(0x350);\n  if (hmac == (hmac_state *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(hmac,hash,key,keylen);\n    if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }\n    free(hmac);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar2;\n}\n\n" (function_definition "int hmac_memory_multi(int hash,uchar *key,ulong keylen,uchar *out,ulong *outlen,uchar *in,\n                     ulong inlen,...)\n\n{\n  long lVar1;\n  int iVar2;\n  hmac_state *hmac;\n  uint uVar3;\n  ulong *puVar4;\n  long in_FS_OFFSET;\n  va_list args;\n  ulong local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  hmac = (hmac_state *)malloc(0x350);\n  if (hmac == (hmac_state *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(hmac,hash,key,keylen);\n    if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }\n    free(hmac);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "hmac_memory_multi(int hash,uchar *key,ulong keylen,uchar *out,ulong *outlen,uchar *in,\n                     ulong inlen,...)" identifier (parameter_list "(int hash,uchar *key,ulong keylen,uchar *out,ulong *outlen,uchar *in,\n                     ulong inlen,...)" ( (parameter_declaration "int hash" primitive_type identifier) , (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "ulong keylen" type_identifier identifier) , (parameter_declaration "uchar *out" type_identifier (pointer_declarator "*out" * identifier)) , (parameter_declaration "ulong *outlen" type_identifier (pointer_declarator "*outlen" * identifier)) , (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  hmac_state *hmac;\n  uint uVar3;\n  ulong *puVar4;\n  long in_FS_OFFSET;\n  va_list args;\n  ulong local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (key == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  hmac = (hmac_state *)malloc(0x350);\n  if (hmac == (hmac_state *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(hmac,hash,key,keylen);\n    if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }\n    free(hmac);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return iVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "hmac_state *hmac;" type_identifier (pointer_declarator "*hmac" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "va_list args;" type_identifier identifier ;) (declaration "ulong local_68 [7];" type_identifier (array_declarator "local_68 [7]" identifier [ number_literal ]) ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(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/hmac/hmac_memory_multi.c",0x2b);\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/hmac/hmac_memory_multi.c",0x2b);\n  }" { comment (expression_statement "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);" (call_expression "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" identifier (argument_list "("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_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/hmac/hmac_memory_multi.c",0x2c);\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/hmac/hmac_memory_multi.c",0x2c);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);" (call_expression "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" identifier (argument_list "("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" if (parenthesized_expression "(out == (uchar *)0x0)" ( (binary_expression "out == (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("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);" (call_expression "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" identifier (argument_list "("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }" if (parenthesized_expression "(outlen == (ulong *)0x0)" ( (binary_expression "outlen == (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("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }" { comment (expression_statement "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);" (call_expression "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" identifier (argument_list "("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" ( (string_literal ""outlen != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "hmac = (hmac_state *)malloc(0x350);" (assignment_expression "hmac = (hmac_state *)malloc(0x350)" identifier = (cast_expression "(hmac_state *)malloc(0x350)" ( (type_descriptor "hmac_state *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x350)" identifier (argument_list "(0x350)" ( number_literal ))))) ;) (if_statement "if (hmac == (hmac_state *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(hmac,hash,key,keylen);\n    if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }\n    free(hmac);\n  }" if (parenthesized_expression "(hmac == (hmac_state *)0x0)" ( (binary_expression "hmac == (hmac_state *)0x0" identifier == (cast_expression "(hmac_state *)0x0" ( (type_descriptor "hmac_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0xd;\n  }" { (expression_statement "iVar2 = 0xd;" (assignment_expression "iVar2 = 0xd" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = hmac_init(hmac,hash,key,keylen);\n    if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }\n    free(hmac);\n  }" else (compound_statement "{\n    iVar2 = hmac_init(hmac,hash,key,keylen);\n    if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }\n    free(hmac);\n  }" { (expression_statement "iVar2 = hmac_init(hmac,hash,key,keylen);" (assignment_expression "iVar2 = hmac_init(hmac,hash,key,keylen)" identifier = (call_expression "hmac_init(hmac,hash,key,keylen)" identifier (argument_list "(hmac,hash,key,keylen)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      args[0].overflow_arg_area = &stack0x00000010;\n      args[0].gp_offset = 0x30;\n      while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }\n    }" { (expression_statement "args[0].overflow_arg_area = &stack0x00000010;" (assignment_expression "args[0].overflow_arg_area = &stack0x00000010" (field_expression "args[0].overflow_arg_area" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "&stack0x00000010" & 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) ;) (while_statement "while (iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0) {\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }" while (parenthesized_expression "(iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0)" ( (comma_expression "iVar2 = hmac_process(hmac,in,inlen), iVar2 == 0" (assignment_expression "iVar2 = hmac_process(hmac,in,inlen)" identifier = (call_expression "hmac_process(hmac,in,inlen)" identifier (argument_list "(hmac,in,inlen)" ( identifier , identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n        if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (ulong *)args[0].overflow_arg_area;\n          args[0].overflow_arg_area = (ulong *)((long)args[0].overflow_arg_area + 8);\n        }\n        inlen = *puVar4;\n      }" { (if_statement "if (args[0].gp_offset < 0x30) {\n          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (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          uVar3 = args[0].gp_offset + 8;\n          in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset);\n          if (in == (uchar *)0x0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          args[0].gp_offset = args[0].gp_offset + 0x10;\n          puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);\n        }" { (expression_statement "uVar3 = args[0].gp_offset + 8;" (assignment_expression "uVar3 = 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_68 + (ulong)args[0].gp_offset);" (assignment_expression "in = *(uchar **)((long)local_68 + (ulong)args[0].gp_offset)" identifier = (pointer_expression "*(uchar **)((long)local_68 + (ulong)args[0].gp_offset)" * (cast_expression "(uchar **)((long)local_68 + (ulong)args[0].gp_offset)" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)local_68 + (ulong)args[0].gp_offset)" ( (binary_expression "(long)local_68 + (ulong)args[0].gp_offset" (cast_expression "(long)local_68" ( (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_00161f30;" 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_00161f30;" goto statement_identifier ;)) (if_statement "if (0x2f < uVar3) goto LAB_00161f0e;" if (parenthesized_expression "(0x2f < uVar3)" ( (binary_expression "0x2f < uVar3" number_literal < identifier) )) (goto_statement "goto LAB_00161f0e;" 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 "puVar4 = (ulong *)((long)local_68 + (ulong)uVar3);" (assignment_expression "puVar4 = (ulong *)((long)local_68 + (ulong)uVar3)" identifier = (cast_expression "(ulong *)((long)local_68 + (ulong)uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_68 + (ulong)uVar3)" ( (binary_expression "(long)local_68 + (ulong)uVar3" (cast_expression "(long)local_68" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)uVar3" ( (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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (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          uVar3 = args[0].gp_offset;\n          if (in == (uchar *)0x0) {\nLAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }\nLAB_00161f0e:\n          args[0].gp_offset = uVar3;\n          puVar4 = (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 "uVar3 = args[0].gp_offset;" (assignment_expression "uVar3 = 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_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\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_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);\n            break;\n          }" { (labeled_statement "LAB_00161f30:\n            iVar2 = hmac_done(hmac,out,outlen);" statement_identifier : (expression_statement "iVar2 = hmac_done(hmac,out,outlen);" (assignment_expression "iVar2 = hmac_done(hmac,out,outlen)" identifier = (call_expression "hmac_done(hmac,out,outlen)" identifier (argument_list "(hmac,out,outlen)" ( identifier , identifier , identifier )))) ;)) (break_statement "break;" break ;) })) (labeled_statement "LAB_00161f0e:\n          args[0].gp_offset = uVar3;" statement_identifier : (expression_statement "args[0].gp_offset = uVar3;" (assignment_expression "args[0].gp_offset = uVar3" (field_expression "args[0].gp_offset" (subscript_expression "args[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;)) (expression_statement "puVar4 = (ulong *)args[0].overflow_arg_area;" (assignment_expression "puVar4 = (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 = *puVar4;" (assignment_expression "inlen = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })) })) (expression_statement "free(hmac);" (call_expression "free(hmac)" identifier (argument_list "(hmac)" ( identifier ))) ;) }))) (if_statement "if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(lVar1 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 != *(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 iVar2;" return identifier ;) })))
(translation_unit "int hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar2;\n}\n\n" (function_definition "int hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)" identifier (parameter_list "(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uint local_88;" type_identifier identifier ;) (declaration "long *local_80;" (sized_type_specifier "long" long) (pointer_declarator "*local_80" * identifier) ;) (declaration "long local_68 [7];" (sized_type_specifier "long" long) (array_declarator "local_68 [7]" identifier [ number_literal ]) ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(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_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }" { (expression_statement "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);" (call_expression "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" identifier (argument_list "("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }" { (expression_statement "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);" (call_expression "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" identifier (argument_list "("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" { (expression_statement "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);" (call_expression "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" identifier (argument_list "("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }" { (expression_statement "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);" (call_expression "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" identifier (argument_list "("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" ( (string_literal ""outlen != NULL"" " string_content ") , (string_literal ""src/mac/hmac/hmac_memory_multi.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "__ptr = malloc(0x350);" (assignment_expression "__ptr = malloc(0x350)" identifier = (call_expression "malloc(0x350)" identifier (argument_list "(0x350)" ( number_literal )))) ;) (if_statement "if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0xd;\n  }" { (expression_statement "iVar2 = 0xd;" (assignment_expression "iVar2 = 0xd" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" else (compound_statement "{\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" { (expression_statement "iVar2 = hmac_init(__ptr,param_1,param_2,param_3);" (assignment_expression "iVar2 = hmac_init(__ptr,param_1,param_2,param_3)" identifier = (call_expression "hmac_init(__ptr,param_1,param_2,param_3)" identifier (argument_list "(__ptr,param_1,param_2,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }" { (expression_statement "local_80 = (long *)&stack0x00000010;" (assignment_expression "local_80 = (long *)&stack0x00000010" identifier = (cast_expression "(long *)&stack0x00000010" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000010" & identifier))) ;) (expression_statement "local_88 = 0x30;" (assignment_expression "local_88 = 0x30" identifier = number_literal) ;) (while_statement "while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }" while (parenthesized_expression "(iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0)" ( (comma_expression "iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0" (assignment_expression "iVar2 = hmac_process(__ptr,param_6,param_7)" identifier = (call_expression "hmac_process(__ptr,param_6,param_7)" identifier (argument_list "(__ptr,param_6,param_7)" ( identifier , identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }" { (if_statement "if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" if (parenthesized_expression "(local_88 < 0x30)" ( (binary_expression "local_88 < 0x30" identifier < number_literal) )) (compound_statement "{\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }" { (expression_statement "uVar3 = local_88 + 8;" (assignment_expression "uVar3 = local_88 + 8" identifier = (binary_expression "local_88 + 8" identifier + number_literal)) ;) (expression_statement "param_6 = *(long *)((long)local_68 + (ulong)local_88);" (assignment_expression "param_6 = *(long *)((long)local_68 + (ulong)local_88)" identifier = (pointer_expression "*(long *)((long)local_68 + (ulong)local_88)" * (cast_expression "(long *)((long)local_68 + (ulong)local_88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_68 + (ulong)local_88)" ( (binary_expression "(long)local_68 + (ulong)local_88" (cast_expression "(long)local_68" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)local_88" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (if_statement "if (param_6 == 0) goto LAB_00161f30;" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00161f30;" goto statement_identifier ;)) (if_statement "if (0x2f < uVar3) goto LAB_00161f0e;" if (parenthesized_expression "(0x2f < uVar3)" ( (binary_expression "0x2f < uVar3" number_literal < identifier) )) (goto_statement "goto LAB_00161f0e;" goto statement_identifier ;)) (expression_statement "local_88 = local_88 + 0x10;" (assignment_expression "local_88 = local_88 + 0x10" identifier = (binary_expression "local_88 + 0x10" identifier + number_literal)) ;) (expression_statement "plVar4 = (long *)((long)local_68 + (ulong)uVar3);" (assignment_expression "plVar4 = (long *)((long)local_68 + (ulong)uVar3)" identifier = (cast_expression "(long *)((long)local_68 + (ulong)uVar3)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_68 + (ulong)uVar3)" ( (binary_expression "(long)local_68 + (ulong)uVar3" (cast_expression "(long)local_68" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) )))) ;) }) (else_clause "else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" else (compound_statement "{\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" { (expression_statement "param_6 = *local_80;" (assignment_expression "param_6 = *local_80" identifier = (pointer_expression "*local_80" * identifier)) ;) (expression_statement "local_80 = local_80 + 1;" (assignment_expression "local_80 = local_80 + 1" identifier = (binary_expression "local_80 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = local_88;" (assignment_expression "uVar3 = local_88" identifier = identifier) ;) (if_statement "if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }" { (labeled_statement "LAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);" statement_identifier : (expression_statement "iVar2 = hmac_done(__ptr,param_4,param_5);" (assignment_expression "iVar2 = hmac_done(__ptr,param_4,param_5)" identifier = (call_expression "hmac_done(__ptr,param_4,param_5)" identifier (argument_list "(__ptr,param_4,param_5)" ( identifier , identifier , identifier )))) ;)) (break_statement "break;" break ;) })) (labeled_statement "LAB_00161f0e:\n          local_88 = uVar3;" statement_identifier : (expression_statement "local_88 = uVar3;" (assignment_expression "local_88 = uVar3" identifier = identifier) ;)) (expression_statement "plVar4 = local_80;" (assignment_expression "plVar4 = local_80" identifier = identifier) ;) (expression_statement "local_80 = local_80 + 1;" (assignment_expression "local_80 = local_80 + 1" identifier = (binary_expression "local_80 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_7 = *plVar4;" (assignment_expression "param_7 = *plVar4" identifier = (pointer_expression "*plVar4" * identifier)) ;) })) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) (if_statement "if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(lVar1 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 != *(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 iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 (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 == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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) ;) (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 (assignment_expression IDENT = (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)) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( 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 IDENT ;) })))
(function_definition "int hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "hmac_memory_multi(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)" (identifier "hmac_memory_multi") (parameter_list "(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,\n                     long param_6,long param_7)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (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")) (, ",") (parameter_declaration "long param_7" (sized_type_specifier "long" (long "long")) (identifier "param_7")) () ")"))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  uint uVar3;\n  long *plVar4;\n  long in_FS_OFFSET;\n  uint local_88;\n  long *local_80;\n  long local_68 [7];\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }\n  if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }\n  if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }\n  if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }\n  __ptr = malloc(0x350);\n  if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }\n  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return iVar2;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "uint local_88;" (type_identifier "uint") (identifier "local_88") (; ";")) (declaration "long *local_80;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*local_80" (* "*") (identifier "local_80")) (; ";")) (declaration "long local_68 [7];" (sized_type_specifier "long" (long "long")) (array_declarator "local_68 [7]" (identifier "local_68") ([ "[") (number_literal "7") (] "]")) (; ";")) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "lVar1") (= "=") (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_2 == 0) {\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);\n  }" ({ "{") (expression_statement "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);" (call_expression "crypt_argchk("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" (identifier "crypt_argchk") (argument_list "("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b)" (( "(") (string_literal ""key != NULL"" (" """) (string_content "key != NULL") (" """)) (, ",") (string_literal ""src/mac/hmac/hmac_memory_multi.c"" (" """) (string_content "src/mac/hmac/hmac_memory_multi.c") (" """)) (, ",") (number_literal "0x2b") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_6 == 0) {\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }" (if "if") (parenthesized_expression "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);\n  }" ({ "{") (expression_statement "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);" (call_expression "crypt_argchk("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/mac/hmac/hmac_memory_multi.c"" (" """) (string_content "src/mac/hmac/hmac_memory_multi.c") (" """)) (, ",") (number_literal "0x2c") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_4 == 0) {\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);\n  }" ({ "{") (expression_statement "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);" (call_expression "crypt_argchk("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" (identifier "crypt_argchk") (argument_list "("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d)" (( "(") (string_literal ""out != NULL"" (" """) (string_content "out != NULL") (" """)) (, ",") (string_literal ""src/mac/hmac/hmac_memory_multi.c"" (" """) (string_content "src/mac/hmac/hmac_memory_multi.c") (" """)) (, ",") (number_literal "0x2d") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_5 == 0) {\n                    \n    crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\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("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);\n  }" ({ "{") (expression_statement "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);" (call_expression "crypt_argchk("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" (identifier "crypt_argchk") (argument_list "("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e)" (( "(") (string_literal ""outlen != NULL"" (" """) (string_content "outlen != NULL") (" """)) (, ",") (string_literal ""src/mac/hmac/hmac_memory_multi.c"" (" """) (string_content "src/mac/hmac/hmac_memory_multi.c") (" """)) (, ",") (number_literal "0x2e") () ")"))) (; ";")) (} "}"))) (expression_statement "__ptr = malloc(0x350);" (assignment_expression "__ptr = malloc(0x350)" (identifier "__ptr") (= "=") (call_expression "malloc(0x350)" (identifier "malloc") (argument_list "(0x350)" (( "(") (number_literal "0x350") () ")")))) (; ";")) (if_statement "if (__ptr == (void *)0x0) {\n    iVar2 = 0xd;\n  }\n  else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" (if "if") (parenthesized_expression "(__ptr == (void *)0x0)" (( "(") (binary_expression "__ptr == (void *)0x0" (identifier "__ptr") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = 0xd;\n  }" ({ "{") (expression_statement "iVar2 = 0xd;" (assignment_expression "iVar2 = 0xd" (identifier "iVar2") (= "=") (number_literal "0xd")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" (else "else") (compound_statement "{\n    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);\n    if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }\n    free(__ptr);\n  }" ({ "{") (expression_statement "iVar2 = hmac_init(__ptr,param_1,param_2,param_3);" (assignment_expression "iVar2 = hmac_init(__ptr,param_1,param_2,param_3)" (identifier "iVar2") (= "=") (call_expression "hmac_init(__ptr,param_1,param_2,param_3)" (identifier "hmac_init") (argument_list "(__ptr,param_1,param_2,param_3)" (( "(") (identifier "__ptr") (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_80 = (long *)&stack0x00000010;\n      local_88 = 0x30;\n      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }\n    }" ({ "{") (expression_statement "local_80 = (long *)&stack0x00000010;" (assignment_expression "local_80 = (long *)&stack0x00000010" (identifier "local_80") (= "=") (cast_expression "(long *)&stack0x00000010" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0x00000010" (& "&") (identifier "stack0x00000010")))) (; ";")) (expression_statement "local_88 = 0x30;" (assignment_expression "local_88 = 0x30" (identifier "local_88") (= "=") (number_literal "0x30")) (; ";")) (while_statement "while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }" (while "while") (parenthesized_expression "(iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0)" (( "(") (comma_expression "iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0" (assignment_expression "iVar2 = hmac_process(__ptr,param_6,param_7)" (identifier "iVar2") (= "=") (call_expression "hmac_process(__ptr,param_6,param_7)" (identifier "hmac_process") (argument_list "(__ptr,param_6,param_7)" (( "(") (identifier "__ptr") (, ",") (identifier "param_6") (, ",") (identifier "param_7") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n        if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }\n        param_7 = *plVar4;\n      }" ({ "{") (if_statement "if (local_88 < 0x30) {\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }\n        else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" (if "if") (parenthesized_expression "(local_88 < 0x30)" (( "(") (binary_expression "local_88 < 0x30" (identifier "local_88") (< "<") (number_literal "0x30")) () ")")) (compound_statement "{\n          uVar3 = local_88 + 8;\n          param_6 = *(long *)((long)local_68 + (ulong)local_88);\n          if (param_6 == 0) goto LAB_00161f30;\n          if (0x2f < uVar3) goto LAB_00161f0e;\n          local_88 = local_88 + 0x10;\n          plVar4 = (long *)((long)local_68 + (ulong)uVar3);\n        }" ({ "{") (expression_statement "uVar3 = local_88 + 8;" (assignment_expression "uVar3 = local_88 + 8" (identifier "uVar3") (= "=") (binary_expression "local_88 + 8" (identifier "local_88") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "param_6 = *(long *)((long)local_68 + (ulong)local_88);" (assignment_expression "param_6 = *(long *)((long)local_68 + (ulong)local_88)" (identifier "param_6") (= "=") (pointer_expression "*(long *)((long)local_68 + (ulong)local_88)" (* "*") (cast_expression "(long *)((long)local_68 + (ulong)local_88)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)local_68 + (ulong)local_88)" (( "(") (binary_expression "(long)local_68 + (ulong)local_88" (cast_expression "(long)local_68" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_68")) (+ "+") (cast_expression "(ulong)local_88" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "local_88"))) () ")"))))) (; ";")) (if_statement "if (param_6 == 0) goto LAB_00161f30;" (if "if") (parenthesized_expression "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00161f30;" (goto "goto") (statement_identifier "LAB_00161f30") (; ";"))) (if_statement "if (0x2f < uVar3) goto LAB_00161f0e;" (if "if") (parenthesized_expression "(0x2f < uVar3)" (( "(") (binary_expression "0x2f < uVar3" (number_literal "0x2f") (< "<") (identifier "uVar3")) () ")")) (goto_statement "goto LAB_00161f0e;" (goto "goto") (statement_identifier "LAB_00161f0e") (; ";"))) (expression_statement "local_88 = local_88 + 0x10;" (assignment_expression "local_88 = local_88 + 0x10" (identifier "local_88") (= "=") (binary_expression "local_88 + 0x10" (identifier "local_88") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "plVar4 = (long *)((long)local_68 + (ulong)uVar3);" (assignment_expression "plVar4 = (long *)((long)local_68 + (ulong)uVar3)" (identifier "plVar4") (= "=") (cast_expression "(long *)((long)local_68 + (ulong)uVar3)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)local_68 + (ulong)uVar3)" (( "(") (binary_expression "(long)local_68 + (ulong)uVar3" (cast_expression "(long)local_68" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_68")) (+ "+") (cast_expression "(ulong)uVar3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar3"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" (else "else") (compound_statement "{\n          param_6 = *local_80;\n          local_80 = local_80 + 1;\n          uVar3 = local_88;\n          if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }\nLAB_00161f0e:\n          local_88 = uVar3;\n          plVar4 = local_80;\n          local_80 = local_80 + 1;\n        }" ({ "{") (expression_statement "param_6 = *local_80;" (assignment_expression "param_6 = *local_80" (identifier "param_6") (= "=") (pointer_expression "*local_80" (* "*") (identifier "local_80"))) (; ";")) (expression_statement "local_80 = local_80 + 1;" (assignment_expression "local_80 = local_80 + 1" (identifier "local_80") (= "=") (binary_expression "local_80 + 1" (identifier "local_80") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = local_88;" (assignment_expression "uVar3 = local_88" (identifier "uVar3") (= "=") (identifier "local_88")) (; ";")) (if_statement "if (param_6 == 0) {\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }" (if "if") (parenthesized_expression "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);\n            break;\n          }" ({ "{") (labeled_statement "LAB_00161f30:\n            iVar2 = hmac_done(__ptr,param_4,param_5);" (statement_identifier "LAB_00161f30") (: ":") (expression_statement "iVar2 = hmac_done(__ptr,param_4,param_5);" (assignment_expression "iVar2 = hmac_done(__ptr,param_4,param_5)" (identifier "iVar2") (= "=") (call_expression "hmac_done(__ptr,param_4,param_5)" (identifier "hmac_done") (argument_list "(__ptr,param_4,param_5)" (( "(") (identifier "__ptr") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (labeled_statement "LAB_00161f0e:\n          local_88 = uVar3;" (statement_identifier "LAB_00161f0e") (: ":") (expression_statement "local_88 = uVar3;" (assignment_expression "local_88 = uVar3" (identifier "local_88") (= "=") (identifier "uVar3")) (; ";"))) (expression_statement "plVar4 = local_80;" (assignment_expression "plVar4 = local_80" (identifier "plVar4") (= "=") (identifier "local_80")) (; ";")) (expression_statement "local_80 = local_80 + 1;" (assignment_expression "local_80 = local_80 + 1" (identifier "local_80") (= "=") (binary_expression "local_80 + 1" (identifier "local_80") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_7 = *plVar4;" (assignment_expression "param_7 = *plVar4" (identifier "param_7") (= "=") (pointer_expression "*plVar4" (* "*") (identifier "plVar4"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}")))) (if_statement "if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(lVar1 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "lVar1 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "lVar1") (!= "!=") (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 iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

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

{
  long var_15;
  int var_10;
  type_3 *var_8;
  type_4 var_12;
  type_2 *puVar4;
  long var_1;
  type_5 args;
  type_2 local_68 [7];
  
  var_15 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("key != NULL","src/mac/hmac/hmac_memory_multi.c",0x2b);
  }
  if (var_4 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("in != NULL","src/mac/hmac/hmac_memory_multi.c",0x2c);
  }
  if (var_5 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("out != NULL","src/mac/hmac/hmac_memory_multi.c",0x2d);
  }
  if (var_6 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("outlen != NULL","src/mac/hmac/hmac_memory_multi.c",0x2e);
  }
  var_8 = (type_3 *)var_7(0x350);
  if (var_8 == (type_3 *)0x0) {
    var_10 = 0xd;
  }
  else {
    var_10 = var_9(var_8,hash,var_2,keylen);
    if (var_10 == 0) {
      args[0].overflow_arg_area = &stack0x00000010;
      args[0].gp_offset = 0x30;
      while (var_10 = var_11(var_8,var_4,inlen), var_10 == 0) {
        if (args[0].gp_offset < 0x30) {
          var_12 = args[0].gp_offset + 8;
          var_4 = *(type_1 **)((long)local_68 + (type_2)args[0].gp_offset);
          if (var_4 == (type_1 *)0x0) goto LAB_00161f30;
          if (0x2f < var_12) goto LAB_00161f0e;
          args[0].gp_offset = args[0].gp_offset + 0x10;
          puVar4 = (type_2 *)((long)local_68 + (type_2)var_12);
        }
        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_12 = args[0].gp_offset;
          if (var_4 == (type_1 *)0x0) {
LAB_00161f30:
            var_10 = var_13(var_8,var_5,var_6);
            break;
          }
LAB_00161f0e:
          args[0].gp_offset = var_12;
          puVar4 = (type_2 *)args[0].overflow_arg_area;
          args[0].overflow_arg_area = (type_2 *)((long)args[0].overflow_arg_area + 8);
        }
        inlen = *puVar4;
      }
    }
    var_14(var_8);
  }
  if (var_15 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_16();
  }
  return var_10;
}


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

int MASKED(undefined4 param_1,long param_2,undefined8 param_3,long param_4,long param_5,
                     long param_6,long param_7)

{
  long lVar1;
  int iVar2;
  void *__ptr;
  uint uVar3;
  long *plVar4;
  long in_FS_OFFSET;
  uint local_88;
  long *local_80;
  long local_68 [7];
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("key != NULL","src/mac/hmac/MASKED.c",0x2b);
  }
  if (param_6 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/mac/hmac/MASKED.c",0x2c);
  }
  if (param_4 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/mac/hmac/MASKED.c",0x2d);
  }
  if (param_5 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("outlen != NULL","src/mac/hmac/MASKED.c",0x2e);
  }
  __ptr = malloc(0x350);
  if (__ptr == (void *)0x0) {
    iVar2 = 0xd;
  }
  else {
    iVar2 = hmac_init(__ptr,param_1,param_2,param_3);
    if (iVar2 == 0) {
      local_80 = (long *)&stack0x00000010;
      local_88 = 0x30;
      while (iVar2 = hmac_process(__ptr,param_6,param_7), iVar2 == 0) {
        if (local_88 < 0x30) {
          uVar3 = local_88 + 8;
          param_6 = *(long *)((long)local_68 + (ulong)local_88);
          if (param_6 == 0) goto LAB_00161f30;
          if (0x2f < uVar3) goto LAB_00161f0e;
          local_88 = local_88 + 0x10;
          plVar4 = (long *)((long)local_68 + (ulong)uVar3);
        }
        else {
          param_6 = *local_80;
          local_80 = local_80 + 1;
          uVar3 = local_88;
          if (param_6 == 0) {
LAB_00161f30:
            iVar2 = hmac_done(__ptr,param_4,param_5);
            break;
          }
LAB_00161f0e:
          local_88 = uVar3;
          plVar4 = local_80;
          local_80 = local_80 + 1;
        }
        param_7 = *plVar4;
      }
    }
    free(__ptr);
  }
  if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return iVar2;
}

