
int md5_process(hash_state *md,uchar *in,ulong inlen)

{
  uint uVar1;
  ulong32 uVar2;
  int iVar3;
  ulong __n;
  
  if (md == (hash_state *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);
  }
  if (in != (uchar *)0x0) {
    iVar3 = 0x10;
    if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {
      if (inlen == 0) {
        iVar3 = 0;
      }
      else {
        do {
          uVar1 = (md->sha256).state[4];
          if ((inlen < 0x40) || (uVar1 != 0)) {
            __n = (ulong)(0x40 - uVar1);
            if (inlen < 0x40 - uVar1) {
              __n = inlen;
            }
            memcpy((md->chc).state + 0x14 + uVar1,in,__n);
            uVar2 = (int)__n + (md->sha256).state[4];
            (md->sha256).state[4] = uVar2;
            in = in + __n;
            inlen = inlen - __n;
            if (uVar2 == 0x40) {
              iVar3 = md5_compress(md,(md->chc).state + 0x14);
              if (iVar3 != 0) {
                return iVar3;
              }
              md->data = (void *)((md->chc).length + 0x200);
              (md->sha256).state[4] = 0;
            }
          }
          else {
            iVar3 = md5_compress(md,in);
            if (iVar3 != 0) {
              return iVar3;
            }
            md->data = (void *)((md->chc).length + 0x200);
            in = in + 0x40;
            inlen = inlen - 0x40;
          }
        } while (inlen != 0);
        iVar3 = 0;
      }
    }
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);
}



undefined8 md5_process(ulong *param_1,void *param_2,ulong param_3)

{
  uint uVar1;
  int iVar2;
  undefined8 uVar3;
  ulong __n;
  
  if (param_1 == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);
  }
  if (param_2 != (void *)0x0) {
    uVar3 = 0x10;
    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {
      if (param_3 == 0) {
        uVar3 = 0;
      }
      else {
        do {
          uVar1 = (uint)param_1[3];
          if ((param_3 < 0x40) || (uVar1 != 0)) {
            __n = (ulong)(0x40 - uVar1);
            if (param_3 < 0x40 - uVar1) {
              __n = param_3;
            }
            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);
            iVar2 = (int)__n + (int)param_1[3];
            *(int *)(param_1 + 3) = iVar2;
            param_2 = (void *)((long)param_2 + __n);
            param_3 = param_3 - __n;
            if (iVar2 == 0x40) {
              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);
              if ((int)uVar3 != 0) {
                return uVar3;
              }
              *param_1 = *param_1 + 0x200;
              *(undefined4 *)(param_1 + 3) = 0;
            }
          }
          else {
            uVar3 = FUN_00149ae7(param_1,param_2);
            if ((int)uVar3 != 0) {
              return uVar3;
            }
            *param_1 = *param_1 + 0x200;
            param_2 = (void *)((long)param_2 + 0x40);
            param_3 = param_3 - 0x40;
          }
        } while (param_3 != 0);
        uVar3 = 0;
      }
    }
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
TEST RDI,RDI
JZ 0x0014a2c1
MOV R12,RDI
MOV R13,RSI
MOV RBP,RDX
TEST RSI,RSI
JZ 0x0014a2d9
MOV EAX,0x10
CMP dword ptr [RDI + 0x18],0x40
JA 0x0014a385
MOV EAX,0x19
MOV RCX,RDX
ADD RCX,qword ptr [RDI]
JC 0x0014a385
TEST RDX,RDX
JZ 0x0014a394
MOV R15D,0x40
JMP 0x0014a32e
MOV EDX,0xfa
LEA RSI,[0x1b19b9]
LEA RDI,[0x1b14b5]
CALL 0x00114260
MOV EDX,0xfa
LEA RSI,[0x1b19b9]
LEA RDI,[0x1ab710]
CALL 0x00114260
MOV EBX,R15D
SUB EBX,EDI
CMP RBX,RBP
CMOVA RBX,RBP
LEA R14,[R12 + 0x1c]
MOV EDI,EDI
ADD RDI,R14
MOV RDX,RBX
MOV RSI,R13
CALL 0x00113f60
MOV EAX,EBX
ADD EAX,dword ptr [R12 + 0x18]
MOV dword ptr [R12 + 0x18],EAX
ADD R13,RBX
SUB RBP,RBX
CMP EAX,0x40
JZ 0x0014a35e
TEST RBP,RBP
JZ 0x0014a380
MOV EDI,dword ptr [R12 + 0x18]
CMP RBP,0x3f
JBE 0x0014a2f1
TEST EDI,EDI
JNZ 0x0014a2f1
MOV RSI,R13
MOV RDI,R12
CALL 0x00149ae7
TEST EAX,EAX
JNZ 0x0014a385
ADD qword ptr [R12],0x200
ADD R13,0x40
SUB RBP,0x40
JMP 0x0014a329
MOV RSI,R14
MOV RDI,R12
CALL 0x00149ae7
TEST EAX,EAX
JNZ 0x0014a385
ADD qword ptr [R12],0x200
MOV dword ptr [R12 + 0x18],0x0
JMP 0x0014a329
MOV EAX,0x0
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV EAX,0x0
JMP 0x0014a385
(translation_unit "undefined8 md5_process(ulong *param_1,void *param_2,ulong param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}\n\n" (function_definition "undefined8 md5_process(ulong *param_1,void *param_2,ulong param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" type_identifier (function_declarator "md5_process(ulong *param_1,void *param_2,ulong param_3)" identifier (parameter_list "(ulong *param_1,void *param_2,ulong param_3)" ( (parameter_declaration "ulong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "ulong __n;" type_identifier identifier ;) (if_statement "if (param_1 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" if (parenthesized_expression "(param_1 == (ulong *)0x0)" ( (binary_expression "param_1 == (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("md != NULL","src/hashes/md5.c",0xfa);\n  }" { comment (expression_statement "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa)" identifier (argument_list "("md != NULL","src/hashes/md5.c",0xfa)" ( (string_literal ""md != NULL"" " string_content ") , (string_literal ""src/hashes/md5.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(param_2 != (void *)0x0)" ( (binary_expression "param_2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }" { (expression_statement "uVar3 = 0x10;" (assignment_expression "uVar3 = 0x10" identifier = number_literal) ;) (if_statement "if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }" if (parenthesized_expression "(((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1)))" ( (binary_expression "((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))" (parenthesized_expression "((uint)param_1[3] < 0x41)" ( (binary_expression "(uint)param_1[3] < 0x41" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) < number_literal) )) && (parenthesized_expression "(uVar3 = 0x19, !CARRY8(param_3,*param_1))" ( (comma_expression "uVar3 = 0x19, !CARRY8(param_3,*param_1)" (assignment_expression "uVar3 = 0x19" identifier = number_literal) , (unary_expression "!CARRY8(param_3,*param_1)" ! (call_expression "CARRY8(param_3,*param_1)" identifier (argument_list "(param_3,*param_1)" ( identifier , (pointer_expression "*param_1" * identifier) ))))) ))) )) (compound_statement "{\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }" { (if_statement "if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 0;\n      }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" else (compound_statement "{\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" { (do_statement "do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);" do (compound_statement "{\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        }" { (expression_statement "uVar1 = (uint)param_1[3];" (assignment_expression "uVar1 = (uint)param_1[3]" identifier = (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" if (parenthesized_expression "((param_3 < 0x40) || (uVar1 != 0))" ( (binary_expression "(param_3 < 0x40) || (uVar1 != 0)" (parenthesized_expression "(param_3 < 0x40)" ( (binary_expression "param_3 < 0x40" identifier < number_literal) )) || (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }" { (expression_statement "__n = (ulong)(0x40 - uVar1);" (assignment_expression "__n = (ulong)(0x40 - uVar1)" identifier = (call_expression "(ulong)(0x40 - uVar1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(0x40 - uVar1)" ( (binary_expression "0x40 - uVar1" number_literal - identifier) )))) ;) (if_statement "if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }" if (parenthesized_expression "(param_3 < 0x40 - uVar1)" ( (binary_expression "param_3 < 0x40 - uVar1" identifier < (binary_expression "0x40 - uVar1" number_literal - identifier)) )) (compound_statement "{\n              __n = param_3;\n            }" { (expression_statement "__n = param_3;" (assignment_expression "__n = param_3" identifier = identifier) ;) })) (expression_statement "memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);" (call_expression "memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n)" identifier (argument_list "((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n)" ( (cast_expression "(void *)((ulong)uVar1 + (long)param_1 + 0x1c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)uVar1 + (long)param_1 + 0x1c)" ( (binary_expression "(ulong)uVar1 + (long)param_1 + 0x1c" (binary_expression "(ulong)uVar1 + (long)param_1" (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "iVar2 = (int)__n + (int)param_1[3];" (assignment_expression "iVar2 = (int)__n + (int)param_1[3]" identifier = (binary_expression "(int)__n + (int)param_1[3]" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ])))) ;) (expression_statement "*(int *)(param_1 + 3) = iVar2;" (assignment_expression "*(int *)(param_1 + 3) = iVar2" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = (void *)((long)param_2 + __n);" (assignment_expression "param_2 = (void *)((long)param_2 + __n)" identifier = (cast_expression "(void *)((long)param_2 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + __n)" ( (binary_expression "(long)param_2 + __n" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "param_3 = param_3 - __n;" (assignment_expression "param_3 = param_3 - __n" identifier = (binary_expression "param_3 - __n" identifier - identifier)) ;) (if_statement "if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }" if (parenthesized_expression "(iVar2 == 0x40)" ( (binary_expression "iVar2 == 0x40" identifier == number_literal) )) (compound_statement "{\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }" { (expression_statement "uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);" (assignment_expression "uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c)" identifier = (call_expression "FUN_00149ae7(param_1,(long)param_1 + 0x1c)" identifier (argument_list "(param_1,(long)param_1 + 0x1c)" ( identifier , (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if ((int)uVar3 != 0) {\n                return uVar3;\n              }" if (parenthesized_expression "((int)uVar3 != 0)" ( (binary_expression "(int)uVar3 != 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n                return uVar3;\n              }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "*param_1 = *param_1 + 0x200;" (assignment_expression "*param_1 = *param_1 + 0x200" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 0x200" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 3) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 3) = 0" (pointer_expression "*(undefined4 *)(param_1 + 3)" * (cast_expression "(undefined4 *)(param_1 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = number_literal) ;) })) }) (else_clause "else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" else (compound_statement "{\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" { (expression_statement "uVar3 = FUN_00149ae7(param_1,param_2);" (assignment_expression "uVar3 = FUN_00149ae7(param_1,param_2)" identifier = (call_expression "FUN_00149ae7(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar3 != 0) {\n              return uVar3;\n            }" if (parenthesized_expression "((int)uVar3 != 0)" ( (binary_expression "(int)uVar3 != 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n              return uVar3;\n            }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "*param_1 = *param_1 + 0x200;" (assignment_expression "*param_1 = *param_1 + 0x200" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 0x200" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "param_2 = (void *)((long)param_2 + 0x40);" (assignment_expression "param_2 = (void *)((long)param_2 + 0x40)" identifier = (cast_expression "(void *)((long)param_2 + 0x40)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x40)" ( (binary_expression "(long)param_2 + 0x40" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "param_3 = param_3 - 0x40;" (assignment_expression "param_3 = param_3 - 0x40" identifier = (binary_expression "param_3 - 0x40" identifier - number_literal)) ;) }))) }) while (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) })) (return_statement "return uVar3;" return identifier ;) })) comment (expression_statement "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa)" identifier (argument_list "("in != NULL","src/hashes/md5.c",0xfa)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/hashes/md5.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int md5_process(hash_state *md,uchar *in,ulong inlen)\n\n{\n  uint uVar1;\n  ulong32 uVar2;\n  int iVar3;\n  ulong __n;\n  \n  if (md == (hash_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (in != (uchar *)0x0) {\n    iVar3 = 0x10;\n    if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}\n\n" (function_definition "int md5_process(hash_state *md,uchar *in,ulong inlen)\n\n{\n  uint uVar1;\n  ulong32 uVar2;\n  int iVar3;\n  ulong __n;\n  \n  if (md == (hash_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (in != (uchar *)0x0) {\n    iVar3 = 0x10;\n    if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" primitive_type (function_declarator "md5_process(hash_state *md,uchar *in,ulong inlen)" identifier (parameter_list "(hash_state *md,uchar *in,ulong inlen)" ( (parameter_declaration "hash_state *md" type_identifier (pointer_declarator "*md" * identifier)) , (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  ulong32 uVar2;\n  int iVar3;\n  ulong __n;\n  \n  if (md == (hash_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (in != (uchar *)0x0) {\n    iVar3 = 0x10;\n    if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ulong32 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong __n;" type_identifier identifier ;) (if_statement "if (md == (hash_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" if (parenthesized_expression "(md == (hash_state *)0x0)" ( (binary_expression "md == (hash_state *)0x0" identifier == (cast_expression "(hash_state *)0x0" ( (type_descriptor "hash_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" { comment (expression_statement "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa)" identifier (argument_list "("md != NULL","src/hashes/md5.c",0xfa)" ( (string_literal ""md != NULL"" " string_content ") , (string_literal ""src/hashes/md5.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (in != (uchar *)0x0) {\n    iVar3 = 0x10;\n    if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }\n    return iVar3;\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    iVar3 = 0x10;\n    if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }\n    return iVar3;\n  }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (if_statement "if (((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))) {\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }" if (parenthesized_expression "(((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length)))" ( (binary_expression "((md->sha256).state[4] < 0x41) && (iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))" (parenthesized_expression "((md->sha256).state[4] < 0x41)" ( (binary_expression "(md->sha256).state[4] < 0x41" (subscript_expression "(md->sha256).state[4]" (field_expression "(md->sha256).state" (parenthesized_expression "(md->sha256)" ( (field_expression "md->sha256" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) < number_literal) )) && (parenthesized_expression "(iVar3 = 0x19, !CARRY8(inlen,(md->chc).length))" ( (comma_expression "iVar3 = 0x19, !CARRY8(inlen,(md->chc).length)" (assignment_expression "iVar3 = 0x19" identifier = number_literal) , (unary_expression "!CARRY8(inlen,(md->chc).length)" ! (call_expression "CARRY8(inlen,(md->chc).length)" identifier (argument_list "(inlen,(md->chc).length)" ( identifier , (field_expression "(md->chc).length" (parenthesized_expression "(md->chc)" ( (field_expression "md->chc" identifier -> field_identifier) )) . field_identifier) ))))) ))) )) (compound_statement "{\n      if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }\n    }" { (if_statement "if (inlen == 0) {\n        iVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }" if (parenthesized_expression "(inlen == 0)" ( (binary_expression "inlen == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = 0;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }" else (compound_statement "{\n        do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);\n        iVar3 = 0;\n      }" { (do_statement "do {\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        } while (inlen != 0);" do (compound_statement "{\n          uVar1 = (md->sha256).state[4];\n          if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }\n        }" { (expression_statement "uVar1 = (md->sha256).state[4];" (assignment_expression "uVar1 = (md->sha256).state[4]" identifier = (subscript_expression "(md->sha256).state[4]" (field_expression "(md->sha256).state" (parenthesized_expression "(md->sha256)" ( (field_expression "md->sha256" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if ((inlen < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }\n          else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }" if (parenthesized_expression "((inlen < 0x40) || (uVar1 != 0))" ( (binary_expression "(inlen < 0x40) || (uVar1 != 0)" (parenthesized_expression "(inlen < 0x40)" ( (binary_expression "inlen < 0x40" identifier < number_literal) )) || (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            __n = (ulong)(0x40 - uVar1);\n            if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }\n            memcpy((md->chc).state + 0x14 + uVar1,in,__n);\n            uVar2 = (int)__n + (md->sha256).state[4];\n            (md->sha256).state[4] = uVar2;\n            in = in + __n;\n            inlen = inlen - __n;\n            if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }\n          }" { (expression_statement "__n = (ulong)(0x40 - uVar1);" (assignment_expression "__n = (ulong)(0x40 - uVar1)" identifier = (call_expression "(ulong)(0x40 - uVar1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(0x40 - uVar1)" ( (binary_expression "0x40 - uVar1" number_literal - identifier) )))) ;) (if_statement "if (inlen < 0x40 - uVar1) {\n              __n = inlen;\n            }" if (parenthesized_expression "(inlen < 0x40 - uVar1)" ( (binary_expression "inlen < 0x40 - uVar1" identifier < (binary_expression "0x40 - uVar1" number_literal - identifier)) )) (compound_statement "{\n              __n = inlen;\n            }" { (expression_statement "__n = inlen;" (assignment_expression "__n = inlen" identifier = identifier) ;) })) (expression_statement "memcpy((md->chc).state + 0x14 + uVar1,in,__n);" (call_expression "memcpy((md->chc).state + 0x14 + uVar1,in,__n)" identifier (argument_list "((md->chc).state + 0x14 + uVar1,in,__n)" ( (binary_expression "(md->chc).state + 0x14 + uVar1" (binary_expression "(md->chc).state + 0x14" (field_expression "(md->chc).state" (parenthesized_expression "(md->chc)" ( (field_expression "md->chc" identifier -> field_identifier) )) . field_identifier) + number_literal) + identifier) , identifier , identifier ))) ;) (expression_statement "uVar2 = (int)__n + (md->sha256).state[4];" (assignment_expression "uVar2 = (int)__n + (md->sha256).state[4]" identifier = (binary_expression "(int)__n + (md->sha256).state[4]" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) + (subscript_expression "(md->sha256).state[4]" (field_expression "(md->sha256).state" (parenthesized_expression "(md->sha256)" ( (field_expression "md->sha256" identifier -> field_identifier) )) . field_identifier) [ number_literal ]))) ;) (expression_statement "(md->sha256).state[4] = uVar2;" (assignment_expression "(md->sha256).state[4] = uVar2" (subscript_expression "(md->sha256).state[4]" (field_expression "(md->sha256).state" (parenthesized_expression "(md->sha256)" ( (field_expression "md->sha256" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "in = in + __n;" (assignment_expression "in = in + __n" identifier = (binary_expression "in + __n" identifier + identifier)) ;) (expression_statement "inlen = inlen - __n;" (assignment_expression "inlen = inlen - __n" identifier = (binary_expression "inlen - __n" identifier - identifier)) ;) (if_statement "if (uVar2 == 0x40) {\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }" if (parenthesized_expression "(uVar2 == 0x40)" ( (binary_expression "uVar2 == 0x40" identifier == number_literal) )) (compound_statement "{\n              iVar3 = md5_compress(md,(md->chc).state + 0x14);\n              if (iVar3 != 0) {\n                return iVar3;\n              }\n              md->data = (void *)((md->chc).length + 0x200);\n              (md->sha256).state[4] = 0;\n            }" { (expression_statement "iVar3 = md5_compress(md,(md->chc).state + 0x14);" (assignment_expression "iVar3 = md5_compress(md,(md->chc).state + 0x14)" identifier = (call_expression "md5_compress(md,(md->chc).state + 0x14)" identifier (argument_list "(md,(md->chc).state + 0x14)" ( identifier , (binary_expression "(md->chc).state + 0x14" (field_expression "(md->chc).state" (parenthesized_expression "(md->chc)" ( (field_expression "md->chc" identifier -> field_identifier) )) . field_identifier) + number_literal) )))) ;) (if_statement "if (iVar3 != 0) {\n                return iVar3;\n              }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar3;\n              }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "md->data = (void *)((md->chc).length + 0x200);" (assignment_expression "md->data = (void *)((md->chc).length + 0x200)" (field_expression "md->data" identifier -> field_identifier) = (cast_expression "(void *)((md->chc).length + 0x200)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((md->chc).length + 0x200)" ( (binary_expression "(md->chc).length + 0x200" (field_expression "(md->chc).length" (parenthesized_expression "(md->chc)" ( (field_expression "md->chc" identifier -> field_identifier) )) . field_identifier) + number_literal) )))) ;) (expression_statement "(md->sha256).state[4] = 0;" (assignment_expression "(md->sha256).state[4] = 0" (subscript_expression "(md->sha256).state[4]" (field_expression "(md->sha256).state" (parenthesized_expression "(md->sha256)" ( (field_expression "md->sha256" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = number_literal) ;) })) }) (else_clause "else {\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }" else (compound_statement "{\n            iVar3 = md5_compress(md,in);\n            if (iVar3 != 0) {\n              return iVar3;\n            }\n            md->data = (void *)((md->chc).length + 0x200);\n            in = in + 0x40;\n            inlen = inlen - 0x40;\n          }" { (expression_statement "iVar3 = md5_compress(md,in);" (assignment_expression "iVar3 = md5_compress(md,in)" identifier = (call_expression "md5_compress(md,in)" identifier (argument_list "(md,in)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n              return iVar3;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar3;\n            }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "md->data = (void *)((md->chc).length + 0x200);" (assignment_expression "md->data = (void *)((md->chc).length + 0x200)" (field_expression "md->data" identifier -> field_identifier) = (cast_expression "(void *)((md->chc).length + 0x200)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((md->chc).length + 0x200)" ( (binary_expression "(md->chc).length + 0x200" (field_expression "(md->chc).length" (parenthesized_expression "(md->chc)" ( (field_expression "md->chc" identifier -> field_identifier) )) . field_identifier) + number_literal) )))) ;) (expression_statement "in = in + 0x40;" (assignment_expression "in = in + 0x40" identifier = (binary_expression "in + 0x40" identifier + number_literal)) ;) (expression_statement "inlen = inlen - 0x40;" (assignment_expression "inlen = inlen - 0x40" identifier = (binary_expression "inlen - 0x40" identifier - number_literal)) ;) }))) }) while (parenthesized_expression "(inlen != 0)" ( (binary_expression "inlen != 0" identifier != number_literal) )) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }))) })) (return_statement "return iVar3;" return identifier ;) })) comment (expression_statement "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa)" identifier (argument_list "("in != NULL","src/hashes/md5.c",0xfa)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/hashes/md5.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "undefined8 md5_process(ulong *param_1,void *param_2,ulong param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    \n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}\n\n" (function_definition "undefined8 md5_process(ulong *param_1,void *param_2,ulong param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    \n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" type_identifier (function_declarator "md5_process(ulong *param_1,void *param_2,ulong param_3)" identifier (parameter_list "(ulong *param_1,void *param_2,ulong param_3)" ( (parameter_declaration "ulong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    \n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "ulong __n;" type_identifier identifier ;) (if_statement "if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" if (parenthesized_expression "(param_1 == (ulong *)0x0)" ( (binary_expression "param_1 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" { (expression_statement "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa)" identifier (argument_list "("md != NULL","src/hashes/md5.c",0xfa)" ( (string_literal ""md != NULL"" " string_content ") , (string_literal ""src/hashes/md5.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }" if (parenthesized_expression "(param_2 != (void *)0x0)" ( (binary_expression "param_2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }" { (expression_statement "uVar3 = 0x10;" (assignment_expression "uVar3 = 0x10" identifier = number_literal) ;) (if_statement "if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }" if (parenthesized_expression "(((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1)))" ( (binary_expression "((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))" (parenthesized_expression "((uint)param_1[3] < 0x41)" ( (binary_expression "(uint)param_1[3] < 0x41" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) < number_literal) )) && (parenthesized_expression "(uVar3 = 0x19, !CARRY8(param_3,*param_1))" ( (comma_expression "uVar3 = 0x19, !CARRY8(param_3,*param_1)" (assignment_expression "uVar3 = 0x19" identifier = number_literal) , (unary_expression "!CARRY8(param_3,*param_1)" ! (call_expression "CARRY8(param_3,*param_1)" identifier (argument_list "(param_3,*param_1)" ( identifier , (pointer_expression "*param_1" * identifier) ))))) ))) )) (compound_statement "{\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }" { (if_statement "if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 0;\n      }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" else (compound_statement "{\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" { (do_statement "do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);" do (compound_statement "{\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        }" { (expression_statement "uVar1 = (uint)param_1[3];" (assignment_expression "uVar1 = (uint)param_1[3]" identifier = (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" if (parenthesized_expression "((param_3 < 0x40) || (uVar1 != 0))" ( (binary_expression "(param_3 < 0x40) || (uVar1 != 0)" (parenthesized_expression "(param_3 < 0x40)" ( (binary_expression "param_3 < 0x40" identifier < number_literal) )) || (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }" { (expression_statement "__n = (ulong)(0x40 - uVar1);" (assignment_expression "__n = (ulong)(0x40 - uVar1)" identifier = (call_expression "(ulong)(0x40 - uVar1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(0x40 - uVar1)" ( (binary_expression "0x40 - uVar1" number_literal - identifier) )))) ;) (if_statement "if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }" if (parenthesized_expression "(param_3 < 0x40 - uVar1)" ( (binary_expression "param_3 < 0x40 - uVar1" identifier < (binary_expression "0x40 - uVar1" number_literal - identifier)) )) (compound_statement "{\n              __n = param_3;\n            }" { (expression_statement "__n = param_3;" (assignment_expression "__n = param_3" identifier = identifier) ;) })) (expression_statement "memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);" (call_expression "memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n)" identifier (argument_list "((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n)" ( (cast_expression "(void *)((ulong)uVar1 + (long)param_1 + 0x1c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)uVar1 + (long)param_1 + 0x1c)" ( (binary_expression "(ulong)uVar1 + (long)param_1 + 0x1c" (binary_expression "(ulong)uVar1 + (long)param_1" (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "iVar2 = (int)__n + (int)param_1[3];" (assignment_expression "iVar2 = (int)__n + (int)param_1[3]" identifier = (binary_expression "(int)__n + (int)param_1[3]" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ])))) ;) (expression_statement "*(int *)(param_1 + 3) = iVar2;" (assignment_expression "*(int *)(param_1 + 3) = iVar2" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = (void *)((long)param_2 + __n);" (assignment_expression "param_2 = (void *)((long)param_2 + __n)" identifier = (cast_expression "(void *)((long)param_2 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + __n)" ( (binary_expression "(long)param_2 + __n" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "param_3 = param_3 - __n;" (assignment_expression "param_3 = param_3 - __n" identifier = (binary_expression "param_3 - __n" identifier - identifier)) ;) (if_statement "if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }" if (parenthesized_expression "(iVar2 == 0x40)" ( (binary_expression "iVar2 == 0x40" identifier == number_literal) )) (compound_statement "{\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }" { (expression_statement "uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);" (assignment_expression "uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c)" identifier = (call_expression "FUN_00149ae7(param_1,(long)param_1 + 0x1c)" identifier (argument_list "(param_1,(long)param_1 + 0x1c)" ( identifier , (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if ((int)uVar3 != 0) {\n                return uVar3;\n              }" if (parenthesized_expression "((int)uVar3 != 0)" ( (binary_expression "(int)uVar3 != 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n                return uVar3;\n              }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "*param_1 = *param_1 + 0x200;" (assignment_expression "*param_1 = *param_1 + 0x200" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 0x200" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 3) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 3) = 0" (pointer_expression "*(undefined4 *)(param_1 + 3)" * (cast_expression "(undefined4 *)(param_1 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = number_literal) ;) })) }) (else_clause "else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" else (compound_statement "{\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" { (expression_statement "uVar3 = FUN_00149ae7(param_1,param_2);" (assignment_expression "uVar3 = FUN_00149ae7(param_1,param_2)" identifier = (call_expression "FUN_00149ae7(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar3 != 0) {\n              return uVar3;\n            }" if (parenthesized_expression "((int)uVar3 != 0)" ( (binary_expression "(int)uVar3 != 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n              return uVar3;\n            }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "*param_1 = *param_1 + 0x200;" (assignment_expression "*param_1 = *param_1 + 0x200" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 0x200" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "param_2 = (void *)((long)param_2 + 0x40);" (assignment_expression "param_2 = (void *)((long)param_2 + 0x40)" identifier = (cast_expression "(void *)((long)param_2 + 0x40)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x40)" ( (binary_expression "(long)param_2 + 0x40" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "param_3 = param_3 - 0x40;" (assignment_expression "param_3 = param_3 - 0x40" identifier = (binary_expression "param_3 - 0x40" identifier - number_literal)) ;) }))) }) while (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) })) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa)" identifier (argument_list "("in != NULL","src/hashes/md5.c",0xfa)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/hashes/md5.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (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) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (unary_expression ! (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression LIT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) + LIT) ))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "undefined8 md5_process(ulong *param_1,void *param_2,ulong param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    \n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" (type_identifier "undefined8") (function_declarator "md5_process(ulong *param_1,void *param_2,ulong param_3)" (identifier "md5_process") (parameter_list "(ulong *param_1,void *param_2,ulong param_3)" (( "(") (parameter_declaration "ulong *param_1" (type_identifier "ulong") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong __n;\n  \n  if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }\n  if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }\n                    \n  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "ulong __n;" (type_identifier "ulong") (identifier "__n") (; ";")) (if_statement "if (param_1 == (ulong *)0x0) {\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" (if "if") (parenthesized_expression "(param_1 == (ulong *)0x0)" (( "(") (binary_expression "param_1 == (ulong *)0x0" (identifier "param_1") (== "==") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);\n  }" ({ "{") (expression_statement "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("md != NULL","src/hashes/md5.c",0xfa)" (identifier "crypt_argchk") (argument_list "("md != NULL","src/hashes/md5.c",0xfa)" (( "(") (string_literal ""md != NULL"" (" """) (string_content "md != NULL") (" """)) (, ",") (string_literal ""src/hashes/md5.c"" (" """) (string_content "src/hashes/md5.c") (" """)) (, ",") (number_literal "0xfa") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != (void *)0x0) {\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(param_2 != (void *)0x0)" (( "(") (binary_expression "param_2 != (void *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar3 = 0x10;\n    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }\n    return uVar3;\n  }" ({ "{") (expression_statement "uVar3 = 0x10;" (assignment_expression "uVar3 = 0x10" (identifier "uVar3") (= "=") (number_literal "0x10")) (; ";")) (if_statement "if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }" (if "if") (parenthesized_expression "(((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1)))" (( "(") (binary_expression "((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))" (parenthesized_expression "((uint)param_1[3] < 0x41)" (( "(") (binary_expression "(uint)param_1[3] < 0x41" (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (< "<") (number_literal "0x41")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = 0x19, !CARRY8(param_3,*param_1))" (( "(") (comma_expression "uVar3 = 0x19, !CARRY8(param_3,*param_1)" (assignment_expression "uVar3 = 0x19" (identifier "uVar3") (= "=") (number_literal "0x19")) (, ",") (unary_expression "!CARRY8(param_3,*param_1)" (! "!") (call_expression "CARRY8(param_3,*param_1)" (identifier "CARRY8") (argument_list "(param_3,*param_1)" (( "(") (identifier "param_3") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n      if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }\n    }" ({ "{") (if_statement "if (param_3 == 0) {\n        uVar3 = 0;\n      }\n      else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = 0;\n      }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" (else "else") (compound_statement "{\n        do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);\n        uVar3 = 0;\n      }" ({ "{") (do_statement "do {\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        } while (param_3 != 0);" (do "do") (compound_statement "{\n          uVar1 = (uint)param_1[3];\n          if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }\n        }" ({ "{") (expression_statement "uVar1 = (uint)param_1[3];" (assignment_expression "uVar1 = (uint)param_1[3]" (identifier "uVar1") (= "=") (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if ((param_3 < 0x40) || (uVar1 != 0)) {\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }\n          else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" (if "if") (parenthesized_expression "((param_3 < 0x40) || (uVar1 != 0))" (( "(") (binary_expression "(param_3 < 0x40) || (uVar1 != 0)" (parenthesized_expression "(param_3 < 0x40)" (( "(") (binary_expression "param_3 < 0x40" (identifier "param_3") (< "<") (number_literal "0x40")) () ")")) (|| "||") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            __n = (ulong)(0x40 - uVar1);\n            if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }\n            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);\n            iVar2 = (int)__n + (int)param_1[3];\n            *(int *)(param_1 + 3) = iVar2;\n            param_2 = (void *)((long)param_2 + __n);\n            param_3 = param_3 - __n;\n            if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }\n          }" ({ "{") (expression_statement "__n = (ulong)(0x40 - uVar1);" (assignment_expression "__n = (ulong)(0x40 - uVar1)" (identifier "__n") (= "=") (call_expression "(ulong)(0x40 - uVar1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(0x40 - uVar1)" (( "(") (binary_expression "0x40 - uVar1" (number_literal "0x40") (- "-") (identifier "uVar1")) () ")")))) (; ";")) (if_statement "if (param_3 < 0x40 - uVar1) {\n              __n = param_3;\n            }" (if "if") (parenthesized_expression "(param_3 < 0x40 - uVar1)" (( "(") (binary_expression "param_3 < 0x40 - uVar1" (identifier "param_3") (< "<") (binary_expression "0x40 - uVar1" (number_literal "0x40") (- "-") (identifier "uVar1"))) () ")")) (compound_statement "{\n              __n = param_3;\n            }" ({ "{") (expression_statement "__n = param_3;" (assignment_expression "__n = param_3" (identifier "__n") (= "=") (identifier "param_3")) (; ";")) (} "}"))) (expression_statement "memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);" (call_expression "memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n)" (identifier "memcpy") (argument_list "((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n)" (( "(") (cast_expression "(void *)((ulong)uVar1 + (long)param_1 + 0x1c)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)uVar1 + (long)param_1 + 0x1c)" (( "(") (binary_expression "(ulong)uVar1 + (long)param_1 + 0x1c" (binary_expression "(ulong)uVar1 + (long)param_1" (cast_expression "(ulong)uVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar1")) (+ "+") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "0x1c")) () ")"))) (, ",") (identifier "param_2") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "iVar2 = (int)__n + (int)param_1[3];" (assignment_expression "iVar2 = (int)__n + (int)param_1[3]" (identifier "iVar2") (= "=") (binary_expression "(int)__n + (int)param_1[3]" (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (+ "+") (cast_expression "(int)param_1[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))))) (; ";")) (expression_statement "*(int *)(param_1 + 3) = iVar2;" (assignment_expression "*(int *)(param_1 + 3) = iVar2" (pointer_expression "*(int *)(param_1 + 3)" (* "*") (cast_expression "(int *)(param_1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_2 = (void *)((long)param_2 + __n);" (assignment_expression "param_2 = (void *)((long)param_2 + __n)" (identifier "param_2") (= "=") (cast_expression "(void *)((long)param_2 + __n)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_2 + __n)" (( "(") (binary_expression "(long)param_2 + __n" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (expression_statement "param_3 = param_3 - __n;" (assignment_expression "param_3 = param_3 - __n" (identifier "param_3") (= "=") (binary_expression "param_3 - __n" (identifier "param_3") (- "-") (identifier "__n"))) (; ";")) (if_statement "if (iVar2 == 0x40) {\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }" (if "if") (parenthesized_expression "(iVar2 == 0x40)" (( "(") (binary_expression "iVar2 == 0x40" (identifier "iVar2") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);\n              if ((int)uVar3 != 0) {\n                return uVar3;\n              }\n              *param_1 = *param_1 + 0x200;\n              *(undefined4 *)(param_1 + 3) = 0;\n            }" ({ "{") (expression_statement "uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);" (assignment_expression "uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c)" (identifier "uVar3") (= "=") (call_expression "FUN_00149ae7(param_1,(long)param_1 + 0x1c)" (identifier "FUN_00149ae7") (argument_list "(param_1,(long)param_1 + 0x1c)" (( "(") (identifier "param_1") (, ",") (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (if_statement "if ((int)uVar3 != 0) {\n                return uVar3;\n              }" (if "if") (parenthesized_expression "((int)uVar3 != 0)" (( "(") (binary_expression "(int)uVar3 != 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                return uVar3;\n              }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "*param_1 = *param_1 + 0x200;" (assignment_expression "*param_1 = *param_1 + 0x200" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 0x200" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x200"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 3) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 3) = 0" (pointer_expression "*(undefined4 *)(param_1 + 3)" (* "*") (cast_expression "(undefined4 *)(param_1 + 3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" (else "else") (compound_statement "{\n            uVar3 = FUN_00149ae7(param_1,param_2);\n            if ((int)uVar3 != 0) {\n              return uVar3;\n            }\n            *param_1 = *param_1 + 0x200;\n            param_2 = (void *)((long)param_2 + 0x40);\n            param_3 = param_3 - 0x40;\n          }" ({ "{") (expression_statement "uVar3 = FUN_00149ae7(param_1,param_2);" (assignment_expression "uVar3 = FUN_00149ae7(param_1,param_2)" (identifier "uVar3") (= "=") (call_expression "FUN_00149ae7(param_1,param_2)" (identifier "FUN_00149ae7") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((int)uVar3 != 0) {\n              return uVar3;\n            }" (if "if") (parenthesized_expression "((int)uVar3 != 0)" (( "(") (binary_expression "(int)uVar3 != 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              return uVar3;\n            }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "*param_1 = *param_1 + 0x200;" (assignment_expression "*param_1 = *param_1 + 0x200" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 0x200" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x200"))) (; ";")) (expression_statement "param_2 = (void *)((long)param_2 + 0x40);" (assignment_expression "param_2 = (void *)((long)param_2 + 0x40)" (identifier "param_2") (= "=") (cast_expression "(void *)((long)param_2 + 0x40)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_2 + 0x40)" (( "(") (binary_expression "(long)param_2 + 0x40" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (+ "+") (number_literal "0x40")) () ")")))) (; ";")) (expression_statement "param_3 = param_3 - 0x40;" (assignment_expression "param_3 = param_3 - 0x40" (identifier "param_3") (= "=") (binary_expression "param_3 - 0x40" (identifier "param_3") (- "-") (number_literal "0x40"))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);" (call_expression "crypt_argchk("in != NULL","src/hashes/md5.c",0xfa)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/hashes/md5.c",0xfa)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/hashes/md5.c"" (" """) (string_content "src/hashes/md5.c") (" """)) (, ",") (number_literal "0xfa") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_1,type_2 *var_3,type_3 var_5)

{
  type_4 var_6;
  type_5 var_9;
  int var_11;
  type_3 var_8;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("md != NULL","src/hashes/md5.c",0xfa);
  }
  if (var_3 != (type_2 *)0x0) {
    var_11 = 0x10;
    if (((var_1->sha256).state[4] < 0x41) && (var_11 = 0x19, !var_4(var_5,(var_1->chc).length))) {
      if (var_5 == 0) {
        var_11 = 0;
      }
      else {
        do {
          var_6 = (var_1->sha256).state[4];
          if ((var_5 < 0x40) || (var_6 != 0)) {
            var_8 = (type_3)(0x40 - var_6);
            if (var_5 < 0x40 - var_6) {
              var_8 = var_5;
            }
            var_7((var_1->chc).state + 0x14 + var_6,var_3,var_8);
            var_9 = (int)var_8 + (var_1->sha256).state[4];
            (var_1->sha256).state[4] = var_9;
            var_3 = var_3 + var_8;
            var_5 = var_5 - var_8;
            if (var_9 == 0x40) {
              var_11 = var_10(var_1,(var_1->chc).state + 0x14);
              if (var_11 != 0) {
                return var_11;
              }
              var_1->data = (void *)((var_1->chc).length + 0x200);
              (var_1->sha256).state[4] = 0;
            }
          }
          else {
            var_11 = var_10(var_1,var_3);
            if (var_11 != 0) {
              return var_11;
            }
            var_1->data = (void *)((var_1->chc).length + 0x200);
            var_3 = var_3 + 0x40;
            var_5 = var_5 - 0x40;
          }
        } while (var_5 != 0);
        var_11 = 0;
      }
    }
    return var_11;
  }
                    /* WARNING: Subroutine does not return */
  var_2("in != NULL","src/hashes/md5.c",0xfa);
}


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

undefined8 MASKED(ulong *param_1,void *param_2,ulong param_3)

{
  uint uVar1;
  int iVar2;
  undefined8 uVar3;
  ulong __n;
  
  if (param_1 == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("md != NULL","src/hashes/md5.c",0xfa);
  }
  if (param_2 != (void *)0x0) {
    uVar3 = 0x10;
    if (((uint)param_1[3] < 0x41) && (uVar3 = 0x19, !CARRY8(param_3,*param_1))) {
      if (param_3 == 0) {
        uVar3 = 0;
      }
      else {
        do {
          uVar1 = (uint)param_1[3];
          if ((param_3 < 0x40) || (uVar1 != 0)) {
            __n = (ulong)(0x40 - uVar1);
            if (param_3 < 0x40 - uVar1) {
              __n = param_3;
            }
            memcpy((void *)((ulong)uVar1 + (long)param_1 + 0x1c),param_2,__n);
            iVar2 = (int)__n + (int)param_1[3];
            *(int *)(param_1 + 3) = iVar2;
            param_2 = (void *)((long)param_2 + __n);
            param_3 = param_3 - __n;
            if (iVar2 == 0x40) {
              uVar3 = FUN_00149ae7(param_1,(long)param_1 + 0x1c);
              if ((int)uVar3 != 0) {
                return uVar3;
              }
              *param_1 = *param_1 + 0x200;
              *(undefined4 *)(param_1 + 3) = 0;
            }
          }
          else {
            uVar3 = FUN_00149ae7(param_1,param_2);
            if ((int)uVar3 != 0) {
              return uVar3;
            }
            *param_1 = *param_1 + 0x200;
            param_2 = (void *)((long)param_2 + 0x40);
            param_3 = param_3 - 0x40;
          }
        } while (param_3 != 0);
        uVar3 = 0;
      }
    }
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("in != NULL","src/hashes/md5.c",0xfa);
}

