
int anubis_keysize(int *keysize)

{
  int iVar1;
  int iVar2;
  
  if (keysize == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);
  }
  iVar1 = *keysize;
  if (0x27 < iVar1) {
    *keysize = 0x28;
    return 0;
  }
  if (0x23 < iVar1) {
    *keysize = 0x24;
    return 0;
  }
  if (iVar1 < 0x20) {
    if (0x1b < iVar1) {
      *keysize = 0x1c;
      return 0;
    }
    if (iVar1 < 0x18) {
      if (0x13 < iVar1) {
        *keysize = 0x14;
        return 0;
      }
      iVar2 = 3;
      if (0xf < iVar1) {
        *keysize = 0x10;
        iVar2 = 0;
      }
      return iVar2;
    }
    *keysize = 0x18;
    return 0;
  }
  *keysize = 0x20;
  return 0;
}



undefined8 anubis_keysize(int *param_1)

{
  int iVar1;
  undefined8 uVar2;
  
  if (param_1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);
  }
  iVar1 = *param_1;
  if (0x27 < iVar1) {
    *param_1 = 0x28;
    return 0;
  }
  if (0x23 < iVar1) {
    *param_1 = 0x24;
    return 0;
  }
  if (iVar1 < 0x20) {
    if (0x1b < iVar1) {
      *param_1 = 0x1c;
      return 0;
    }
    if (iVar1 < 0x18) {
      if (0x13 < iVar1) {
        *param_1 = 0x14;
        return 0;
      }
      uVar2 = 3;
      if (0xf < iVar1) {
        *param_1 = 0x10;
        uVar2 = 0;
      }
      return uVar2;
    }
    *param_1 = 0x18;
    return 0;
  }
  *param_1 = 0x20;
  return 0;
}


TEST RDI,RDI
JZ 0x00118633
MOV EDX,dword ptr [RDI]
CMP EDX,0x27
JG 0x001185c0
CMP EDX,0x23
JLE 0x001185d0
MOV dword ptr [RDI],0x24
XOR EAX,EAX
RET
MOV dword ptr [RDI],0x28
XOR EAX,EAX
RET
CMP EDX,0x1f
JG 0x001185e8
CMP EDX,0x1b
JLE 0x001185f8
MOV dword ptr [RDI],0x1c
XOR EAX,EAX
RET
MOV dword ptr [RDI],0x20
XOR EAX,EAX
RET
CMP EDX,0x17
JG 0x00118610
CMP EDX,0x13
JLE 0x00118620
MOV dword ptr [RDI],0x14
XOR EAX,EAX
RET
MOV dword ptr [RDI],0x18
XOR EAX,EAX
RET
MOV EAX,0x3
CMP EDX,0xf
JLE 0x00118632
MOV dword ptr [RDI],0x10
XOR EAX,EAX
RET
PUSH RAX
MOV EDX,0x5fc
LEA RSI,[0x1a25e0]
LEA RDI,[0x19c039]
CALL 0x00114270
(translation_unit "undefined8 anubis_keysize(int *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}\n\n" (function_definition "undefined8 anubis_keysize(int *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}" type_identifier (function_declarator "anubis_keysize(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" { comment (expression_statement "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);" (call_expression "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc)" identifier (argument_list "("keysize != NULL","src/ciphers/anubis.c",0x5fc)" ( (string_literal ""keysize != NULL"" " string_content ") , (string_literal ""src/ciphers/anubis.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }" if (parenthesized_expression "(0x27 < iVar1)" ( (binary_expression "0x27 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *param_1 = 0x28;\n    return 0;\n  }" { (expression_statement "*param_1 = 0x28;" (assignment_expression "*param_1 = 0x28" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }" if (parenthesized_expression "(0x23 < iVar1)" ( (binary_expression "0x23 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *param_1 = 0x24;\n    return 0;\n  }" { (expression_statement "*param_1 = 0x24;" (assignment_expression "*param_1 = 0x24" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }" if (parenthesized_expression "(iVar1 < 0x20)" ( (binary_expression "iVar1 < 0x20" identifier < number_literal) )) (compound_statement "{\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }" { (if_statement "if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }" if (parenthesized_expression "(0x1b < iVar1)" ( (binary_expression "0x1b < iVar1" number_literal < identifier) )) (compound_statement "{\n      *param_1 = 0x1c;\n      return 0;\n    }" { (expression_statement "*param_1 = 0x1c;" (assignment_expression "*param_1 = 0x1c" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }" if (parenthesized_expression "(iVar1 < 0x18)" ( (binary_expression "iVar1 < 0x18" identifier < number_literal) )) (compound_statement "{\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }" { (if_statement "if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }" if (parenthesized_expression "(0x13 < iVar1)" ( (binary_expression "0x13 < iVar1" number_literal < identifier) )) (compound_statement "{\n        *param_1 = 0x14;\n        return 0;\n      }" { (expression_statement "*param_1 = 0x14;" (assignment_expression "*param_1 = 0x14" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = 3;" (assignment_expression "uVar2 = 3" identifier = number_literal) ;) (if_statement "if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }" if (parenthesized_expression "(0xf < iVar1)" ( (binary_expression "0xf < iVar1" number_literal < identifier) )) (compound_statement "{\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }" { (expression_statement "*param_1 = 0x10;" (assignment_expression "*param_1 = 0x10" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "*param_1 = 0x18;" (assignment_expression "*param_1 = 0x18" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "*param_1 = 0x20;" (assignment_expression "*param_1 = 0x20" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int anubis_keysize(int *keysize)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (keysize == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *keysize;\n  if (0x27 < iVar1) {\n    *keysize = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *keysize = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *keysize = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }\n    *keysize = 0x18;\n    return 0;\n  }\n  *keysize = 0x20;\n  return 0;\n}\n\n" (function_definition "int anubis_keysize(int *keysize)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (keysize == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *keysize;\n  if (0x27 < iVar1) {\n    *keysize = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *keysize = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *keysize = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }\n    *keysize = 0x18;\n    return 0;\n  }\n  *keysize = 0x20;\n  return 0;\n}" primitive_type (function_declarator "anubis_keysize(int *keysize)" identifier (parameter_list "(int *keysize)" ( (parameter_declaration "int *keysize" primitive_type (pointer_declarator "*keysize" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (keysize == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *keysize;\n  if (0x27 < iVar1) {\n    *keysize = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *keysize = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *keysize = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }\n    *keysize = 0x18;\n    return 0;\n  }\n  *keysize = 0x20;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (keysize == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" if (parenthesized_expression "(keysize == (int *)0x0)" ( (binary_expression "keysize == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" { comment (expression_statement "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);" (call_expression "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc)" identifier (argument_list "("keysize != NULL","src/ciphers/anubis.c",0x5fc)" ( (string_literal ""keysize != NULL"" " string_content ") , (string_literal ""src/ciphers/anubis.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *keysize;" (assignment_expression "iVar1 = *keysize" identifier = (pointer_expression "*keysize" * identifier)) ;) (if_statement "if (0x27 < iVar1) {\n    *keysize = 0x28;\n    return 0;\n  }" if (parenthesized_expression "(0x27 < iVar1)" ( (binary_expression "0x27 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *keysize = 0x28;\n    return 0;\n  }" { (expression_statement "*keysize = 0x28;" (assignment_expression "*keysize = 0x28" (pointer_expression "*keysize" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0x23 < iVar1) {\n    *keysize = 0x24;\n    return 0;\n  }" if (parenthesized_expression "(0x23 < iVar1)" ( (binary_expression "0x23 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *keysize = 0x24;\n    return 0;\n  }" { (expression_statement "*keysize = 0x24;" (assignment_expression "*keysize = 0x24" (pointer_expression "*keysize" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *keysize = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }\n    *keysize = 0x18;\n    return 0;\n  }" if (parenthesized_expression "(iVar1 < 0x20)" ( (binary_expression "iVar1 < 0x20" identifier < number_literal) )) (compound_statement "{\n    if (0x1b < iVar1) {\n      *keysize = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }\n    *keysize = 0x18;\n    return 0;\n  }" { (if_statement "if (0x1b < iVar1) {\n      *keysize = 0x1c;\n      return 0;\n    }" if (parenthesized_expression "(0x1b < iVar1)" ( (binary_expression "0x1b < iVar1" number_literal < identifier) )) (compound_statement "{\n      *keysize = 0x1c;\n      return 0;\n    }" { (expression_statement "*keysize = 0x1c;" (assignment_expression "*keysize = 0x1c" (pointer_expression "*keysize" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }" if (parenthesized_expression "(iVar1 < 0x18)" ( (binary_expression "iVar1 < 0x18" identifier < number_literal) )) (compound_statement "{\n      if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }\n      iVar2 = 3;\n      if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }\n      return iVar2;\n    }" { (if_statement "if (0x13 < iVar1) {\n        *keysize = 0x14;\n        return 0;\n      }" if (parenthesized_expression "(0x13 < iVar1)" ( (binary_expression "0x13 < iVar1" number_literal < identifier) )) (compound_statement "{\n        *keysize = 0x14;\n        return 0;\n      }" { (expression_statement "*keysize = 0x14;" (assignment_expression "*keysize = 0x14" (pointer_expression "*keysize" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (if_statement "if (0xf < iVar1) {\n        *keysize = 0x10;\n        iVar2 = 0;\n      }" if (parenthesized_expression "(0xf < iVar1)" ( (binary_expression "0xf < iVar1" number_literal < identifier) )) (compound_statement "{\n        *keysize = 0x10;\n        iVar2 = 0;\n      }" { (expression_statement "*keysize = 0x10;" (assignment_expression "*keysize = 0x10" (pointer_expression "*keysize" * identifier) = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "*keysize = 0x18;" (assignment_expression "*keysize = 0x18" (pointer_expression "*keysize" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "*keysize = 0x20;" (assignment_expression "*keysize = 0x20" (pointer_expression "*keysize" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 anubis_keysize(int *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}\n\n" (function_definition "undefined8 anubis_keysize(int *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}" type_identifier (function_declarator "anubis_keysize(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" { (expression_statement "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);" (call_expression "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc)" identifier (argument_list "("keysize != NULL","src/ciphers/anubis.c",0x5fc)" ( (string_literal ""keysize != NULL"" " string_content ") , (string_literal ""src/ciphers/anubis.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }" if (parenthesized_expression "(0x27 < iVar1)" ( (binary_expression "0x27 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *param_1 = 0x28;\n    return 0;\n  }" { (expression_statement "*param_1 = 0x28;" (assignment_expression "*param_1 = 0x28" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }" if (parenthesized_expression "(0x23 < iVar1)" ( (binary_expression "0x23 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *param_1 = 0x24;\n    return 0;\n  }" { (expression_statement "*param_1 = 0x24;" (assignment_expression "*param_1 = 0x24" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }" if (parenthesized_expression "(iVar1 < 0x20)" ( (binary_expression "iVar1 < 0x20" identifier < number_literal) )) (compound_statement "{\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }" { (if_statement "if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }" if (parenthesized_expression "(0x1b < iVar1)" ( (binary_expression "0x1b < iVar1" number_literal < identifier) )) (compound_statement "{\n      *param_1 = 0x1c;\n      return 0;\n    }" { (expression_statement "*param_1 = 0x1c;" (assignment_expression "*param_1 = 0x1c" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }" if (parenthesized_expression "(iVar1 < 0x18)" ( (binary_expression "iVar1 < 0x18" identifier < number_literal) )) (compound_statement "{\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }" { (if_statement "if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }" if (parenthesized_expression "(0x13 < iVar1)" ( (binary_expression "0x13 < iVar1" number_literal < identifier) )) (compound_statement "{\n        *param_1 = 0x14;\n        return 0;\n      }" { (expression_statement "*param_1 = 0x14;" (assignment_expression "*param_1 = 0x14" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = 3;" (assignment_expression "uVar2 = 3" identifier = number_literal) ;) (if_statement "if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }" if (parenthesized_expression "(0xf < iVar1)" ( (binary_expression "0xf < iVar1" number_literal < identifier) )) (compound_statement "{\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }" { (expression_statement "*param_1 = 0x10;" (assignment_expression "*param_1 = 0x10" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "*param_1 = 0x18;" (assignment_expression "*param_1 = 0x18" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "*param_1 = 0x20;" (assignment_expression "*param_1 = 0x20" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 anubis_keysize(int *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "anubis_keysize(int *param_1)" (identifier "anubis_keysize") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }\n  iVar1 = *param_1;\n  if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }\n  if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }\n  if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }\n  *param_1 = 0x20;\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);\n  }" ({ "{") (expression_statement "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);" (call_expression "crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc)" (identifier "crypt_argchk") (argument_list "("keysize != NULL","src/ciphers/anubis.c",0x5fc)" (( "(") (string_literal ""keysize != NULL"" (" """) (string_content "keysize != NULL") (" """)) (, ",") (string_literal ""src/ciphers/anubis.c"" (" """) (string_content "src/ciphers/anubis.c") (" """)) (, ",") (number_literal "0x5fc") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (0x27 < iVar1) {\n    *param_1 = 0x28;\n    return 0;\n  }" (if "if") (parenthesized_expression "(0x27 < iVar1)" (( "(") (binary_expression "0x27 < iVar1" (number_literal "0x27") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    *param_1 = 0x28;\n    return 0;\n  }" ({ "{") (expression_statement "*param_1 = 0x28;" (assignment_expression "*param_1 = 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x28")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (0x23 < iVar1) {\n    *param_1 = 0x24;\n    return 0;\n  }" (if "if") (parenthesized_expression "(0x23 < iVar1)" (( "(") (binary_expression "0x23 < iVar1" (number_literal "0x23") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    *param_1 = 0x24;\n    return 0;\n  }" ({ "{") (expression_statement "*param_1 = 0x24;" (assignment_expression "*param_1 = 0x24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x24")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (iVar1 < 0x20) {\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 < 0x20)" (( "(") (binary_expression "iVar1 < 0x20" (identifier "iVar1") (< "<") (number_literal "0x20")) () ")")) (compound_statement "{\n    if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }\n    if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }\n    *param_1 = 0x18;\n    return 0;\n  }" ({ "{") (if_statement "if (0x1b < iVar1) {\n      *param_1 = 0x1c;\n      return 0;\n    }" (if "if") (parenthesized_expression "(0x1b < iVar1)" (( "(") (binary_expression "0x1b < iVar1" (number_literal "0x1b") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n      *param_1 = 0x1c;\n      return 0;\n    }" ({ "{") (expression_statement "*param_1 = 0x1c;" (assignment_expression "*param_1 = 0x1c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x1c")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (iVar1 < 0x18) {\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x18)" (( "(") (binary_expression "iVar1 < 0x18" (identifier "iVar1") (< "<") (number_literal "0x18")) () ")")) (compound_statement "{\n      if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }\n      uVar2 = 3;\n      if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }\n      return uVar2;\n    }" ({ "{") (if_statement "if (0x13 < iVar1) {\n        *param_1 = 0x14;\n        return 0;\n      }" (if "if") (parenthesized_expression "(0x13 < iVar1)" (( "(") (binary_expression "0x13 < iVar1" (number_literal "0x13") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        *param_1 = 0x14;\n        return 0;\n      }" ({ "{") (expression_statement "*param_1 = 0x14;" (assignment_expression "*param_1 = 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x14")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar2 = 3;" (assignment_expression "uVar2 = 3" (identifier "uVar2") (= "=") (number_literal "3")) (; ";")) (if_statement "if (0xf < iVar1) {\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }" (if "if") (parenthesized_expression "(0xf < iVar1)" (( "(") (binary_expression "0xf < iVar1" (number_literal "0xf") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        *param_1 = 0x10;\n        uVar2 = 0;\n      }" ({ "{") (expression_statement "*param_1 = 0x10;" (assignment_expression "*param_1 = 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x10")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "*param_1 = 0x18;" (assignment_expression "*param_1 = 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x18")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "*param_1 = 0x20;" (assignment_expression "*param_1 = 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x20")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(int *var_1)

{
  int var_3;
  int iVar2;
  
  if (var_1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("keysize != NULL","src/ciphers/anubis.c",0x5fc);
  }
  var_3 = *var_1;
  if (0x27 < var_3) {
    *var_1 = 0x28;
    return 0;
  }
  if (0x23 < var_3) {
    *var_1 = 0x24;
    return 0;
  }
  if (var_3 < 0x20) {
    if (0x1b < var_3) {
      *var_1 = 0x1c;
      return 0;
    }
    if (var_3 < 0x18) {
      if (0x13 < var_3) {
        *var_1 = 0x14;
        return 0;
      }
      iVar2 = 3;
      if (0xf < var_3) {
        *var_1 = 0x10;
        iVar2 = 0;
      }
      return iVar2;
    }
    *var_1 = 0x18;
    return 0;
  }
  *var_1 = 0x20;
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))))

undefined8 MASKED(int *param_1)

{
  int iVar1;
  undefined8 uVar2;
  
  if (param_1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("keysize != NULL","src/ciphers/anubis.c",0x5fc);
  }
  iVar1 = *param_1;
  if (0x27 < iVar1) {
    *param_1 = 0x28;
    return 0;
  }
  if (0x23 < iVar1) {
    *param_1 = 0x24;
    return 0;
  }
  if (iVar1 < 0x20) {
    if (0x1b < iVar1) {
      *param_1 = 0x1c;
      return 0;
    }
    if (iVar1 < 0x18) {
      if (0x13 < iVar1) {
        *param_1 = 0x14;
        return 0;
      }
      uVar2 = 3;
      if (0xf < iVar1) {
        *param_1 = 0x10;
        uVar2 = 0;
      }
      return uVar2;
    }
    *param_1 = 0x18;
    return 0;
  }
  *param_1 = 0x20;
  return 0;
}

