
int ctr_decrypt(uchar *ct,uchar *pt,ulong len,symmetric_CTR *ctr)

{
  int iVar1;
  
  if (pt == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);
  }
  if (ct != (uchar *)0x0) {
    if (ctr != (symmetric_CTR *)0x0) {
      iVar1 = ctr_encrypt(ct,pt,len,ctr);
      return iVar1;
    }
                    /* WARNING: Subroutine does not return */
    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);
}



void ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)

{
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);
  }
  if (param_1 != 0) {
    if (param_4 != 0) {
      ctr_encrypt();
      return;
    }
                    /* WARNING: Subroutine does not return */
    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);
}


SUB RSP,0x8
TEST RSI,RSI
JZ 0x0017457c
TEST RDI,RDI
JZ 0x001745ac
TEST RCX,RCX
JZ 0x00174594
ADD RSP,0x8
JMP 0x00114c90
MOV EDX,0x1c
LEA RSI,[0x1cfbc5]
LEA RDI,[0x19c016]
CALL 0x00114270
MOV EDX,0x1e
LEA RSI,[0x1cfbc5]
LEA RDI,[0x1cfbe1]
CALL 0x00114270
MOV EDX,0x1d
LEA RSI,[0x1cfbc5]
LEA RDI,[0x19c021]
CALL 0x00114270
(translation_unit "void ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)\n\n{\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}\n\n" (function_definition "void ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)\n\n{\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" primitive_type (function_declarator "ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)" identifier (parameter_list "(long param_1,long param_2,undefined8 param_3,long param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" { (if_statement "if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" { comment (expression_statement "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);" (call_expression "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" identifier (argument_list "("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" ( (string_literal ""pt != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" { (if_statement "if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      ctr_encrypt();\n      return;\n    }" { (expression_statement "ctr_encrypt();" (call_expression "ctr_encrypt()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);" (call_expression "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" identifier (argument_list "("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" ( (string_literal ""ctr != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })) comment (expression_statement "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);" (call_expression "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" identifier (argument_list "("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" ( (string_literal ""ct != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int ctr_decrypt(uchar *ct,uchar *pt,ulong len,symmetric_CTR *ctr)\n\n{\n  int iVar1;\n  \n  if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (ct != (uchar *)0x0) {\n    if (ctr != (symmetric_CTR *)0x0) {\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}\n\n" (function_definition "int ctr_decrypt(uchar *ct,uchar *pt,ulong len,symmetric_CTR *ctr)\n\n{\n  int iVar1;\n  \n  if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (ct != (uchar *)0x0) {\n    if (ctr != (symmetric_CTR *)0x0) {\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" primitive_type (function_declarator "ctr_decrypt(uchar *ct,uchar *pt,ulong len,symmetric_CTR *ctr)" identifier (parameter_list "(uchar *ct,uchar *pt,ulong len,symmetric_CTR *ctr)" ( (parameter_declaration "uchar *ct" type_identifier (pointer_declarator "*ct" * identifier)) , (parameter_declaration "uchar *pt" type_identifier (pointer_declarator "*pt" * identifier)) , (parameter_declaration "ulong len" type_identifier identifier) , (parameter_declaration "symmetric_CTR *ctr" type_identifier (pointer_declarator "*ctr" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (ct != (uchar *)0x0) {\n    if (ctr != (symmetric_CTR *)0x0) {\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" if (parenthesized_expression "(pt == (uchar *)0x0)" ( (binary_expression "pt == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" { comment (expression_statement "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);" (call_expression "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" identifier (argument_list "("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" ( (string_literal ""pt != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (ct != (uchar *)0x0) {\n    if (ctr != (symmetric_CTR *)0x0) {\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" if (parenthesized_expression "(ct != (uchar *)0x0)" ( (binary_expression "ct != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (ctr != (symmetric_CTR *)0x0) {\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" { (if_statement "if (ctr != (symmetric_CTR *)0x0) {\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }" if (parenthesized_expression "(ctr != (symmetric_CTR *)0x0)" ( (binary_expression "ctr != (symmetric_CTR *)0x0" identifier != (cast_expression "(symmetric_CTR *)0x0" ( (type_descriptor "symmetric_CTR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = ctr_encrypt(ct,pt,len,ctr);\n      return iVar1;\n    }" { (expression_statement "iVar1 = ctr_encrypt(ct,pt,len,ctr);" (assignment_expression "iVar1 = ctr_encrypt(ct,pt,len,ctr)" identifier = (call_expression "ctr_encrypt(ct,pt,len,ctr)" identifier (argument_list "(ct,pt,len,ctr)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);" (call_expression "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" identifier (argument_list "("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" ( (string_literal ""ctr != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })) comment (expression_statement "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);" (call_expression "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" identifier (argument_list "("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" ( (string_literal ""ct != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "void ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)\n\n{\n  if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}\n\n" (function_definition "void ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)\n\n{\n  if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" primitive_type (function_declarator "ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)" identifier (parameter_list "(long param_1,long param_2,undefined8 param_3,long param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" { (if_statement "if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" { (expression_statement "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);" (call_expression "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" identifier (argument_list "("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" ( (string_literal ""pt != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" { (if_statement "if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      ctr_encrypt();\n      return;\n    }" { (expression_statement "ctr_encrypt();" (call_expression "ctr_encrypt()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);" (call_expression "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" identifier (argument_list "("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" ( (string_literal ""ctr != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);" (call_expression "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" identifier (argument_list "("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" ( (string_literal ""ct != NULL"" " string_content ") , (string_literal ""src/modes/ctr/ctr_decrypt.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "void ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)\n\n{\n  if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" (primitive_type "void") (function_declarator "ctr_decrypt(long param_1,long param_2,undefined8 param_3,long param_4)" (identifier "ctr_decrypt") (parameter_list "(long param_1,long param_2,undefined8 param_3,long param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) () ")"))) (compound_statement "{\n  if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }\n  if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);\n}" ({ "{") (if_statement "if (param_2 == 0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);\n  }" ({ "{") (expression_statement "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);" (call_expression "crypt_argchk("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" (identifier "crypt_argchk") (argument_list "("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c)" (( "(") (string_literal ""pt != NULL"" (" """) (string_content "pt != NULL") (" """)) (, ",") (string_literal ""src/modes/ctr/ctr_decrypt.c"" (" """) (string_content "src/modes/ctr/ctr_decrypt.c") (" """)) (, ",") (number_literal "0x1c") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1 != 0) {\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }\n                    \n    crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);\n  }" ({ "{") (if_statement "if (param_4 != 0) {\n      ctr_encrypt();\n      return;\n    }" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      ctr_encrypt();\n      return;\n    }" ({ "{") (expression_statement "ctr_encrypt();" (call_expression "ctr_encrypt()" (identifier "ctr_encrypt") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);" (call_expression "crypt_argchk("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" (identifier "crypt_argchk") (argument_list "("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e)" (( "(") (string_literal ""ctr != NULL"" (" """) (string_content "ctr != NULL") (" """)) (, ",") (string_literal ""src/modes/ctr/ctr_decrypt.c"" (" """) (string_content "src/modes/ctr/ctr_decrypt.c") (" """)) (, ",") (number_literal "0x1e") () ")"))) (; ";")) (} "}"))) (expression_statement "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);" (call_expression "crypt_argchk("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" (identifier "crypt_argchk") (argument_list "("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d)" (( "(") (string_literal ""ct != NULL"" (" """) (string_content "ct != NULL") (" """)) (, ",") (string_literal ""src/modes/ctr/ctr_decrypt.c"" (" """) (string_content "src/modes/ctr/ctr_decrypt.c") (" """)) (, ",") (number_literal "0x1d") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_3,type_1 *var_1,type_2 len,type_3 *var_4)

{
  int iVar1;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("pt != NULL","src/modes/ctr/ctr_decrypt.c",0x1c);
  }
  if (var_3 != (type_1 *)0x0) {
    if (var_4 != (type_3 *)0x0) {
      iVar1 = var_5(var_3,var_1,len,var_4);
      return iVar1;
    }
                    /* WARNING: Subroutine does not return */
    var_2("ctr != NULL","src/modes/ctr/ctr_decrypt.c",0x1e);
  }
                    /* WARNING: Subroutine does not return */
  var_2("ct != NULL","src/modes/ctr/ctr_decrypt.c",0x1d);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))))

void MASKED(long param_1,long param_2,undefined8 param_3,long param_4)

{
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pt != NULL","src/modes/ctr/MASKED.c",0x1c);
  }
  if (param_1 != 0) {
    if (param_4 != 0) {
      ctr_encrypt();
      return;
    }
                    /* WARNING: Subroutine does not return */
    crypt_argchk("ctr != NULL","src/modes/ctr/MASKED.c",0x1e);
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ct != NULL","src/modes/ctr/MASKED.c",0x1d);
}

