
void zeromem(void *out,size_t outlen)

{
  undefined1 *puVar1;
  uint uVar2;
  char *mem;
  undefined1 *puVar3;
  undefined1 *puVar4;
  
  if (out == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);
  }
  puVar1 = (undefined1 *)((long)out + outlen);
  if (outlen != 0) {
    uVar2 = (int)puVar1 - (int)out & 7;
    puVar3 = (undefined1 *)out;
    if (uVar2 != 0) {
      if (uVar2 != 1) {
        if (uVar2 != 2) {
          if (uVar2 != 3) {
            if (uVar2 != 4) {
              if (uVar2 != 5) {
                if (uVar2 != 6) {
                  *(undefined1 *)out = 0;
                  out = (void *)((long)out + 1);
                }
                *(undefined1 *)out = 0;
                out = (void *)((long)out + 1);
              }
              *(undefined1 *)out = 0;
              out = (void *)((long)out + 1);
            }
            *(undefined1 *)out = 0;
            out = (void *)((long)out + 1);
          }
          *(undefined1 *)out = 0;
          out = (void *)((long)out + 1);
        }
        *(undefined1 *)out = 0;
        out = (void *)((long)out + 1);
      }
      *(undefined1 *)out = 0;
      puVar3 = (undefined1 *)((long)out + 1);
      if ((undefined1 *)((long)out + 1) == puVar1) {
        return;
      }
    }
    do {
      *puVar3 = 0;
      puVar4 = puVar3 + 8;
      puVar3[1] = 0;
      puVar3[2] = 0;
      puVar3[3] = 0;
      puVar3[4] = 0;
      puVar3[5] = 0;
      puVar3[6] = 0;
      puVar3[7] = 0;
      puVar3 = puVar4;
    } while (puVar4 != puVar1);
  }
  return;
}



void zeromem(undefined1 *param_1,long param_2)

{
  undefined1 *puVar1;
  uint uVar2;
  undefined1 *puVar3;
  undefined1 *puVar4;
  
  if (param_1 == (undefined1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);
  }
  puVar1 = param_1 + param_2;
  if (param_2 != 0) {
    uVar2 = (int)puVar1 - (int)param_1 & 7;
    puVar3 = param_1;
    if (uVar2 != 0) {
      if (uVar2 != 1) {
        if (uVar2 != 2) {
          if (uVar2 != 3) {
            if (uVar2 != 4) {
              if (uVar2 != 5) {
                if (uVar2 != 6) {
                  *param_1 = 0;
                  param_1 = param_1 + 1;
                }
                *param_1 = 0;
                param_1 = param_1 + 1;
              }
              *param_1 = 0;
              param_1 = param_1 + 1;
            }
            *param_1 = 0;
            param_1 = param_1 + 1;
          }
          *param_1 = 0;
          param_1 = param_1 + 1;
        }
        *param_1 = 0;
        param_1 = param_1 + 1;
      }
      *param_1 = 0;
      puVar3 = param_1 + 1;
      if (param_1 + 1 == puVar1) {
        return;
      }
    }
    do {
      *puVar3 = 0;
      puVar4 = puVar3 + 8;
      puVar3[1] = 0;
      puVar3[2] = 0;
      puVar3[3] = 0;
      puVar3[4] = 0;
      puVar3[5] = 0;
      puVar3[6] = 0;
      puVar3[7] = 0;
      puVar3 = puVar4;
    } while (puVar4 != puVar1);
  }
  return;
}


TEST RDI,RDI
JZ 0x001731da
LEA RDX,[RDI + RSI*0x1]
TEST RSI,RSI
JZ 0x001731cc
MOV RAX,RDX
SUB RAX,RDI
AND EAX,0x7
JZ 0x001731a4
CMP RAX,0x1
JZ 0x00173198
CMP RAX,0x2
JZ 0x00173191
CMP RAX,0x3
JZ 0x0017318a
CMP RAX,0x4
JZ 0x00173183
CMP RAX,0x5
JZ 0x0017317c
CMP RAX,0x6
JNZ 0x001731d0
MOV byte ptr [RDI],0x0
ADD RDI,0x1
MOV byte ptr [RDI],0x0
ADD RDI,0x1
MOV byte ptr [RDI],0x0
ADD RDI,0x1
MOV byte ptr [RDI],0x0
ADD RDI,0x1
MOV byte ptr [RDI],0x0
ADD RDI,0x1
MOV byte ptr [RDI],0x0
ADD RDI,0x1
CMP RDI,RDX
JZ 0x001731d9
MOV byte ptr [RDI],0x0
ADD RDI,0x8
MOV byte ptr [RDI + -0x7],0x0
MOV byte ptr [RDI + -0x6],0x0
MOV byte ptr [RDI + -0x5],0x0
MOV byte ptr [RDI + -0x4],0x0
MOV byte ptr [RDI + -0x3],0x0
MOV byte ptr [RDI + -0x2],0x0
MOV byte ptr [RDI + -0x1],0x0
CMP RDI,RDX
JNZ 0x001731a4
RET
MOV byte ptr [RDI],0x0
ADD RDI,0x1
JMP 0x00173175
RET
PUSH RAX
MOV EDX,0x18
LEA RSI,[0x1cfa68]
LEA RDI,[0x1b77e1]
CALL 0x00114270
(translation_unit "void zeromem(undefined1 *param_1,long param_2)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}\n\n" (function_definition "void zeromem(undefined1 *param_1,long param_2)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" primitive_type (function_declarator "zeromem(undefined1 *param_1,long param_2)" identifier (parameter_list "(undefined1 *param_1,long param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (param_1 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" if (parenthesized_expression "(param_1 == (undefined1 *)0x0)" ( (binary_expression "param_1 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);" (call_expression "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18)" identifier (argument_list "("out != NULL","src/misc/zeromem.c",0x18)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/misc/zeromem.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "puVar1 = param_1 + param_2;" (assignment_expression "puVar1 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (if_statement "if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" { (expression_statement "uVar2 = (int)puVar1 - (int)param_1 & 7;" (assignment_expression "uVar2 = (int)puVar1 - (int)param_1 & 7" identifier = (binary_expression "(int)puVar1 - (int)param_1 & 7" (binary_expression "(int)puVar1 - (int)param_1" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }" { (if_statement "if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }" if (parenthesized_expression "(uVar2 != 1)" ( (binary_expression "uVar2 != 1" identifier != number_literal) )) (compound_statement "{\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }" { (if_statement "if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }" if (parenthesized_expression "(uVar2 != 2)" ( (binary_expression "uVar2 != 2" identifier != number_literal) )) (compound_statement "{\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }" { (if_statement "if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }" if (parenthesized_expression "(uVar2 != 3)" ( (binary_expression "uVar2 != 3" identifier != number_literal) )) (compound_statement "{\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }" { (if_statement "if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }" if (parenthesized_expression "(uVar2 != 4)" ( (binary_expression "uVar2 != 4" identifier != number_literal) )) (compound_statement "{\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }" { (if_statement "if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }" if (parenthesized_expression "(uVar2 != 5)" ( (binary_expression "uVar2 != 5" identifier != number_literal) )) (compound_statement "{\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }" { (if_statement "if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }" if (parenthesized_expression "(uVar2 != 6)" ( (binary_expression "uVar2 != 6" identifier != number_literal) )) (compound_statement "{\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (if_statement "if (param_1 + 1 == puVar1) {\n        return;\n      }" if (parenthesized_expression "(param_1 + 1 == puVar1)" ( (binary_expression "param_1 + 1 == puVar1" (binary_expression "param_1 + 1" identifier + number_literal) == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (do_statement "do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);" do (compound_statement "{\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar3 + 8;" (assignment_expression "puVar4 = puVar3 + 8" identifier = (binary_expression "puVar3 + 8" identifier + number_literal)) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[5] = 0;" (assignment_expression "puVar3[5] = 0" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[6] = 0;" (assignment_expression "puVar3[6] = 0" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[7] = 0;" (assignment_expression "puVar3[7] = 0" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar1)" ( (binary_expression "puVar4 != puVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void zeromem(void *out,size_t outlen)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  char *mem;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (out == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = (undefined1 *)((long)out + outlen);\n  if (outlen != 0) {\n    uVar2 = (int)puVar1 - (int)out & 7;\n    puVar3 = (undefined1 *)out;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}\n\n" (function_definition "void zeromem(void *out,size_t outlen)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  char *mem;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (out == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = (undefined1 *)((long)out + outlen);\n  if (outlen != 0) {\n    uVar2 = (int)puVar1 - (int)out & 7;\n    puVar3 = (undefined1 *)out;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" primitive_type (function_declarator "zeromem(void *out,size_t outlen)" identifier (parameter_list "(void *out,size_t outlen)" ( (parameter_declaration "void *out" primitive_type (pointer_declarator "*out" * identifier)) , (parameter_declaration "size_t outlen" primitive_type identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  uint uVar2;\n  char *mem;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (out == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = (undefined1 *)((long)out + outlen);\n  if (outlen != 0) {\n    uVar2 = (int)puVar1 - (int)out & 7;\n    puVar3 = (undefined1 *)out;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *mem;" primitive_type (pointer_declarator "*mem" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (out == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" if (parenthesized_expression "(out == (void *)0x0)" ( (binary_expression "out == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);" (call_expression "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18)" identifier (argument_list "("out != NULL","src/misc/zeromem.c",0x18)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/misc/zeromem.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "puVar1 = (undefined1 *)((long)out + outlen);" (assignment_expression "puVar1 = (undefined1 *)((long)out + outlen)" identifier = (cast_expression "(undefined1 *)((long)out + outlen)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + outlen)" ( (binary_expression "(long)out + outlen" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (outlen != 0) {\n    uVar2 = (int)puVar1 - (int)out & 7;\n    puVar3 = (undefined1 *)out;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" if (parenthesized_expression "(outlen != 0)" ( (binary_expression "outlen != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (int)puVar1 - (int)out & 7;\n    puVar3 = (undefined1 *)out;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" { (expression_statement "uVar2 = (int)puVar1 - (int)out & 7;" (assignment_expression "uVar2 = (int)puVar1 - (int)out & 7" identifier = (binary_expression "(int)puVar1 - (int)out & 7" (binary_expression "(int)puVar1 - (int)out" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)out" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (expression_statement "puVar3 = (undefined1 *)out;" (assignment_expression "puVar3 = (undefined1 *)out" identifier = (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }\n      *(undefined1 *)out = 0;\n      puVar3 = (undefined1 *)((long)out + 1);\n      if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }\n    }" { (if_statement "if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }" if (parenthesized_expression "(uVar2 != 1)" ( (binary_expression "uVar2 != 1" identifier != number_literal) )) (compound_statement "{\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }\n        *(undefined1 *)out = 0;\n        out = (void *)((long)out + 1);\n      }" { (if_statement "if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }" if (parenthesized_expression "(uVar2 != 2)" ( (binary_expression "uVar2 != 2" identifier != number_literal) )) (compound_statement "{\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }\n          *(undefined1 *)out = 0;\n          out = (void *)((long)out + 1);\n        }" { (if_statement "if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }" if (parenthesized_expression "(uVar2 != 3)" ( (binary_expression "uVar2 != 3" identifier != number_literal) )) (compound_statement "{\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }\n            *(undefined1 *)out = 0;\n            out = (void *)((long)out + 1);\n          }" { (if_statement "if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }" if (parenthesized_expression "(uVar2 != 4)" ( (binary_expression "uVar2 != 4" identifier != number_literal) )) (compound_statement "{\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }\n              *(undefined1 *)out = 0;\n              out = (void *)((long)out + 1);\n            }" { (if_statement "if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }" if (parenthesized_expression "(uVar2 != 5)" ( (binary_expression "uVar2 != 5" identifier != number_literal) )) (compound_statement "{\n                if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }\n                *(undefined1 *)out = 0;\n                out = (void *)((long)out + 1);\n              }" { (if_statement "if (uVar2 != 6) {\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }" if (parenthesized_expression "(uVar2 != 6)" ( (binary_expression "uVar2 != 6" identifier != number_literal) )) (compound_statement "{\n                  *(undefined1 *)out = 0;\n                  out = (void *)((long)out + 1);\n                }" { (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "out = (void *)((long)out + 1);" (assignment_expression "out = (void *)((long)out + 1)" identifier = (cast_expression "(void *)((long)out + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "out = (void *)((long)out + 1);" (assignment_expression "out = (void *)((long)out + 1)" identifier = (cast_expression "(void *)((long)out + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "out = (void *)((long)out + 1);" (assignment_expression "out = (void *)((long)out + 1)" identifier = (cast_expression "(void *)((long)out + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "out = (void *)((long)out + 1);" (assignment_expression "out = (void *)((long)out + 1)" identifier = (cast_expression "(void *)((long)out + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "out = (void *)((long)out + 1);" (assignment_expression "out = (void *)((long)out + 1)" identifier = (cast_expression "(void *)((long)out + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "out = (void *)((long)out + 1);" (assignment_expression "out = (void *)((long)out + 1)" identifier = (cast_expression "(void *)((long)out + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) (expression_statement "*(undefined1 *)out = 0;" (assignment_expression "*(undefined1 *)out = 0" (pointer_expression "*(undefined1 *)out" * (cast_expression "(undefined1 *)out" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar3 = (undefined1 *)((long)out + 1);" (assignment_expression "puVar3 = (undefined1 *)((long)out + 1)" identifier = (cast_expression "(undefined1 *)((long)out + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if ((undefined1 *)((long)out + 1) == puVar1) {\n        return;\n      }" if (parenthesized_expression "((undefined1 *)((long)out + 1) == puVar1)" ( (binary_expression "(undefined1 *)((long)out + 1) == puVar1" (cast_expression "(undefined1 *)((long)out + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)out + 1)" ( (binary_expression "(long)out + 1" (cast_expression "(long)out" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))) == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (do_statement "do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);" do (compound_statement "{\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar3 + 8;" (assignment_expression "puVar4 = puVar3 + 8" identifier = (binary_expression "puVar3 + 8" identifier + number_literal)) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[5] = 0;" (assignment_expression "puVar3[5] = 0" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[6] = 0;" (assignment_expression "puVar3[6] = 0" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[7] = 0;" (assignment_expression "puVar3[7] = 0" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar1)" ( (binary_expression "puVar4 != puVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void zeromem(undefined1 *param_1,long param_2)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}\n\n" (function_definition "void zeromem(undefined1 *param_1,long param_2)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" primitive_type (function_declarator "zeromem(undefined1 *param_1,long param_2)" identifier (parameter_list "(undefined1 *param_1,long param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" if (parenthesized_expression "(param_1 == (undefined1 *)0x0)" ( (binary_expression "param_1 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" { (expression_statement "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);" (call_expression "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18)" identifier (argument_list "("out != NULL","src/misc/zeromem.c",0x18)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/misc/zeromem.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "puVar1 = param_1 + param_2;" (assignment_expression "puVar1 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (if_statement "if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" { (expression_statement "uVar2 = (int)puVar1 - (int)param_1 & 7;" (assignment_expression "uVar2 = (int)puVar1 - (int)param_1 & 7" identifier = (binary_expression "(int)puVar1 - (int)param_1 & 7" (binary_expression "(int)puVar1 - (int)param_1" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }" { (if_statement "if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }" if (parenthesized_expression "(uVar2 != 1)" ( (binary_expression "uVar2 != 1" identifier != number_literal) )) (compound_statement "{\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }" { (if_statement "if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }" if (parenthesized_expression "(uVar2 != 2)" ( (binary_expression "uVar2 != 2" identifier != number_literal) )) (compound_statement "{\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }" { (if_statement "if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }" if (parenthesized_expression "(uVar2 != 3)" ( (binary_expression "uVar2 != 3" identifier != number_literal) )) (compound_statement "{\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }" { (if_statement "if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }" if (parenthesized_expression "(uVar2 != 4)" ( (binary_expression "uVar2 != 4" identifier != number_literal) )) (compound_statement "{\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }" { (if_statement "if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }" if (parenthesized_expression "(uVar2 != 5)" ( (binary_expression "uVar2 != 5" identifier != number_literal) )) (compound_statement "{\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }" { (if_statement "if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }" if (parenthesized_expression "(uVar2 != 6)" ( (binary_expression "uVar2 != 6" identifier != number_literal) )) (compound_statement "{\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (if_statement "if (param_1 + 1 == puVar1) {\n        return;\n      }" if (parenthesized_expression "(param_1 + 1 == puVar1)" ( (binary_expression "param_1 + 1 == puVar1" (binary_expression "param_1 + 1" identifier + number_literal) == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (do_statement "do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);" do (compound_statement "{\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar3 + 8;" (assignment_expression "puVar4 = puVar3 + 8" identifier = (binary_expression "puVar3 + 8" identifier + number_literal)) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[5] = 0;" (assignment_expression "puVar3[5] = 0" (subscript_expression "puVar3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[6] = 0;" (assignment_expression "puVar3[6] = 0" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[7] = 0;" (assignment_expression "puVar3[7] = 0" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar1)" ( (binary_expression "puVar4 != puVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 ))) ;) })) (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 = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) )) (compound_statement { (return_statement return ;) })) })) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void zeromem(undefined1 *param_1,long param_2)\n\n{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "zeromem(undefined1 *param_1,long param_2)" (identifier "zeromem") (parameter_list "(undefined1 *param_1,long param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  \n  if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }\n  puVar1 = param_1 + param_2;\n  if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }\n  return;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (if_statement "if (param_1 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined1 *)0x0)" (( "(") (binary_expression "param_1 == (undefined1 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);\n  }" ({ "{") (expression_statement "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18);" (call_expression "crypt_argchk("out != NULL","src/misc/zeromem.c",0x18)" (identifier "crypt_argchk") (argument_list "("out != NULL","src/misc/zeromem.c",0x18)" (( "(") (string_literal ""out != NULL"" (" """) (string_content "out != NULL") (" """)) (, ",") (string_literal ""src/misc/zeromem.c"" (" """) (string_content "src/misc/zeromem.c") (" """)) (, ",") (number_literal "0x18") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = param_1 + param_2;" (assignment_expression "puVar1 = param_1 + param_2" (identifier "puVar1") (= "=") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2"))) (; ";")) (if_statement "if (param_2 != 0) {\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (int)puVar1 - (int)param_1 & 7;\n    puVar3 = param_1;\n    if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }\n    do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);\n  }" ({ "{") (expression_statement "uVar2 = (int)puVar1 - (int)param_1 & 7;" (assignment_expression "uVar2 = (int)puVar1 - (int)param_1 & 7" (identifier "uVar2") (= "=") (binary_expression "(int)puVar1 - (int)param_1 & 7" (binary_expression "(int)puVar1 - (int)param_1" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (& "&") (number_literal "7"))) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }\n      *param_1 = 0;\n      puVar3 = param_1 + 1;\n      if (param_1 + 1 == puVar1) {\n        return;\n      }\n    }" ({ "{") (if_statement "if (uVar2 != 1) {\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }" (if "if") (parenthesized_expression "(uVar2 != 1)" (( "(") (binary_expression "uVar2 != 1" (identifier "uVar2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }\n        *param_1 = 0;\n        param_1 = param_1 + 1;\n      }" ({ "{") (if_statement "if (uVar2 != 2) {\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }" (if "if") (parenthesized_expression "(uVar2 != 2)" (( "(") (binary_expression "uVar2 != 2" (identifier "uVar2") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n          if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }\n          *param_1 = 0;\n          param_1 = param_1 + 1;\n        }" ({ "{") (if_statement "if (uVar2 != 3) {\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }" (if "if") (parenthesized_expression "(uVar2 != 3)" (( "(") (binary_expression "uVar2 != 3" (identifier "uVar2") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n            if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }\n            *param_1 = 0;\n            param_1 = param_1 + 1;\n          }" ({ "{") (if_statement "if (uVar2 != 4) {\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }" (if "if") (parenthesized_expression "(uVar2 != 4)" (( "(") (binary_expression "uVar2 != 4" (identifier "uVar2") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n              if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }\n              *param_1 = 0;\n              param_1 = param_1 + 1;\n            }" ({ "{") (if_statement "if (uVar2 != 5) {\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }" (if "if") (parenthesized_expression "(uVar2 != 5)" (( "(") (binary_expression "uVar2 != 5" (identifier "uVar2") (!= "!=") (number_literal "5")) () ")")) (compound_statement "{\n                if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }\n                *param_1 = 0;\n                param_1 = param_1 + 1;\n              }" ({ "{") (if_statement "if (uVar2 != 6) {\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }" (if "if") (parenthesized_expression "(uVar2 != 6)" (( "(") (binary_expression "uVar2 != 6" (identifier "uVar2") (!= "!=") (number_literal "6")) () ")")) (compound_statement "{\n                  *param_1 = 0;\n                  param_1 = param_1 + 1;\n                }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" (identifier "puVar3") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_1 + 1 == puVar1) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_1 + 1 == puVar1)" (( "(") (binary_expression "param_1 + 1 == puVar1" (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (== "==") (identifier "puVar1")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (do_statement "do {\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    } while (puVar4 != puVar1);" (do "do") (compound_statement "{\n      *puVar3 = 0;\n      puVar4 = puVar3 + 8;\n      puVar3[1] = 0;\n      puVar3[2] = 0;\n      puVar3[3] = 0;\n      puVar3[4] = 0;\n      puVar3[5] = 0;\n      puVar3[6] = 0;\n      puVar3[7] = 0;\n      puVar3 = puVar4;\n    }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar3 + 8;" (assignment_expression "puVar4 = puVar3 + 8" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 8" (identifier "puVar3") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[4] = 0;" (assignment_expression "puVar3[4] = 0" (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[5] = 0;" (assignment_expression "puVar3[5] = 0" (subscript_expression "puVar3[5]" (identifier "puVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[6] = 0;" (assignment_expression "puVar3[6] = 0" (subscript_expression "puVar3[6]" (identifier "puVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[7] = 0;" (assignment_expression "puVar3[7] = 0" (subscript_expression "puVar3[7]" (identifier "puVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar1)" (( "(") (binary_expression "puVar4 != puVar1" (identifier "puVar4") (!= "!=") (identifier "puVar1")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *var_1,size_t var_3)

{
  type_1 *var_5;
  type_2 var_4;
  char *mem;
  type_1 *var_6;
  type_1 *var_7;
  
  if (var_1 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("out != NULL","src/misc/zeromem.c",0x18);
  }
  var_5 = (type_1 *)((long)var_1 + var_3);
  if (var_3 != 0) {
    var_4 = (int)var_5 - (int)var_1 & 7;
    var_6 = (type_1 *)var_1;
    if (var_4 != 0) {
      if (var_4 != 1) {
        if (var_4 != 2) {
          if (var_4 != 3) {
            if (var_4 != 4) {
              if (var_4 != 5) {
                if (var_4 != 6) {
                  *(type_1 *)var_1 = 0;
                  var_1 = (void *)((long)var_1 + 1);
                }
                *(type_1 *)var_1 = 0;
                var_1 = (void *)((long)var_1 + 1);
              }
              *(type_1 *)var_1 = 0;
              var_1 = (void *)((long)var_1 + 1);
            }
            *(type_1 *)var_1 = 0;
            var_1 = (void *)((long)var_1 + 1);
          }
          *(type_1 *)var_1 = 0;
          var_1 = (void *)((long)var_1 + 1);
        }
        *(type_1 *)var_1 = 0;
        var_1 = (void *)((long)var_1 + 1);
      }
      *(type_1 *)var_1 = 0;
      var_6 = (type_1 *)((long)var_1 + 1);
      if ((type_1 *)((long)var_1 + 1) == var_5) {
        return;
      }
    }
    do {
      *var_6 = 0;
      var_7 = var_6 + 8;
      var_6[1] = 0;
      var_6[2] = 0;
      var_6[3] = 0;
      var_6[4] = 0;
      var_6[5] = 0;
      var_6[6] = 0;
      var_6[7] = 0;
      var_6 = var_7;
    } while (var_7 != var_5);
  }
  return;
}


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

void MASKED(undefined1 *param_1,long param_2)

{
  undefined1 *puVar1;
  uint uVar2;
  undefined1 *puVar3;
  undefined1 *puVar4;
  
  if (param_1 == (undefined1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/misc/MASKED.c",0x18);
  }
  puVar1 = param_1 + param_2;
  if (param_2 != 0) {
    uVar2 = (int)puVar1 - (int)param_1 & 7;
    puVar3 = param_1;
    if (uVar2 != 0) {
      if (uVar2 != 1) {
        if (uVar2 != 2) {
          if (uVar2 != 3) {
            if (uVar2 != 4) {
              if (uVar2 != 5) {
                if (uVar2 != 6) {
                  *param_1 = 0;
                  param_1 = param_1 + 1;
                }
                *param_1 = 0;
                param_1 = param_1 + 1;
              }
              *param_1 = 0;
              param_1 = param_1 + 1;
            }
            *param_1 = 0;
            param_1 = param_1 + 1;
          }
          *param_1 = 0;
          param_1 = param_1 + 1;
        }
        *param_1 = 0;
        param_1 = param_1 + 1;
      }
      *param_1 = 0;
      puVar3 = param_1 + 1;
      if (param_1 + 1 == puVar1) {
        return;
      }
    }
    do {
      *puVar3 = 0;
      puVar4 = puVar3 + 8;
      puVar3[1] = 0;
      puVar3[2] = 0;
      puVar3[3] = 0;
      puVar3[4] = 0;
      puVar3[5] = 0;
      puVar3[6] = 0;
      puVar3[7] = 0;
      puVar3 = puVar4;
    } while (puVar4 != puVar1);
  }
  return;
}

